rosflight / rosflight_ros_pkgs

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

Estimator-real position inversion #164

Closed iandareid closed 6 months ago

iandareid commented 6 months ago

The Estimated position North and East is opposite to what it should be based on the output of path_planner and the full_estimator (MAVSim estimator with a ROS wrapper) says it should be. In order to match truth in Simulation the estimator North and East had to be inverted. This issue became clear while testing path following, in a recent flight test.

iandareid commented 6 months ago
iandareid commented 6 months ago

Turns out that the fix was to invert the rotation that aligned the spherical coordinate frame for the LLA. It was rotated by 90 degrees to align the axes, but it should have been rotated in the opposite direction by 90.