Auterion / px4-ros2-interface-lib

Library to interface with PX4 from a companion computer using ROS 2
BSD 3-Clause "New" or "Revised" License
68 stars 21 forks source link

Add global navigation reset method #59

Closed GuillaumeLaine closed 1 month ago

GuillaumeLaine commented 1 month ago

Changes

Add reset method to increment the position reset counter

Only incrementing the lat_lon reset counter since it seems to be the only counter processed in the AuxGlobalPosition module in PX4: https://github.com/Auterion/PX4_firmware_private/blob/eaa169d211a19ecbd37a454846eb117e40ec204d/src/modules/ekf2/EKF/aid_sources/aux_global_position/aux_global_position.cpp#L59

Testing

Only unit-testing

bkueng commented 1 month ago

There's some CI failures: https://github.com/Auterion/px4-ros2-interface-lib/actions/runs/11135419376/job/30945399106?pr=59