Commit Graph

4 Commits

Author SHA1 Message Date
Anil Kircaliali
b7d7a36cf0 fix(msg): correct @invalid casing in FixedWingLateralGuidanceStatus 2026-07-01 15:05:46 -07:00
Balduin
07bac1389c fix(fw_mode_manager/navigator): use the correct waypoint switching distance (#27571)
* fix(fw_mode_manager/navigator): use the correct switch distance

Before https://github.com/PX4/PX4-Autopilot/pull/24056, the fixed-wing
position controller used to publish the acceptance radius (calculated
depending on params and state by DirectionalGuidance::switchDistance) in
the position controller status.

The refactor migrated that to individual lateral/longitudinal topics,
but left the receiving code in the navigator unchanged. As a
consequence, fixed-wing vehicles now rely on NAV_ACC_RAD for the
acceptance radius, rather than the adaptively calculated switchDistance.

As NAV_ACC_RAD is only 10m by default this leads to overshoot,
especially on tight corners.

Fix by reintroducing the publication (now from FixedWingModeManager
through fixed_wing_lateral_guidance_status) and using it in navigator. 

* fix(navigator_main): only listen to position controller status if rover

rover_ackermann is the only remaining publisher after #24056

* style(msg): improve field description

 - @INVALID NaN
 - Describe relation with NAV_ACC_RAD

* style(fw_mode_manager): remove stale include

* docs(navigator): clarify acceptance logic in param description
2026-06-04 17:51:17 +02:00
mahima-yoga
8a5e5a411a msgs: Clean up message definitions and descriptions
- Add versioning to interfacing messages
- Add header description
- Add units, frame and range wherever possible
- Add [norm] and @range indentifiers
2025-05-26 14:47:38 +02:00
RomanBapst
779a55c6dc FW Position Controller rework
- split up old module into two, one handling setpoint generation, one control
- add lateral and longitudinal control setpoints topics that can also be
injected from companion computer
- add configuration topics that (optionally) configure the controller
with limits and momentary settings

Signed-off-by: RomanBapst <bapstroman@gmail.com>
2025-05-26 14:47:38 +02:00