rosflight / rosflight_ros_pkgs

ROS packages for the ROSflight autopilot
http://rosflight.org/
BSD 3-Clause "New" or "Revised" License
89 stars 58 forks source link

Pull sensor plugins out of mavrosflight #23

Closed dpkoch closed 7 years ago

dpkoch commented 7 years ago

The sensor plugins no longer are in the path between receiving the mavlink message and publishing to the ROS topic. It would therefore be much cleaner for the IMU, mag, etc. calibration routines to be completely independent nodes that perform the following actions:

  1. Use service calls to reset the onboard calibration parameters
  2. Subscribe to the (now uncalibrated) sensor topic and compute the new calibration parameters
  3. Use service calls to set the new onboard calibration parameters

Calibration routines we need: