mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-29 03:36:07 +08:00
navigator_main: orbit in FW: get_cruising_speed() (#21484)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -468,6 +468,7 @@ void Navigator::run()
|
|||||||
rep->current.type = position_setpoint_s::SETPOINT_TYPE_LOITER;
|
rep->current.type = position_setpoint_s::SETPOINT_TYPE_LOITER;
|
||||||
rep->current.loiter_radius = get_loiter_radius();
|
rep->current.loiter_radius = get_loiter_radius();
|
||||||
rep->current.loiter_direction_counter_clockwise = false;
|
rep->current.loiter_direction_counter_clockwise = false;
|
||||||
|
rep->current.cruising_speed = get_cruising_speed();
|
||||||
rep->current.cruising_throttle = get_cruising_throttle();
|
rep->current.cruising_throttle = get_cruising_throttle();
|
||||||
|
|
||||||
if (PX4_ISFINITE(cmd.param1)) {
|
if (PX4_ISFINITE(cmd.param1)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user