Skip to content
Snippets Groups Projects
Commit bb9f8c3b authored by Dennis Mannhart's avatar Dennis Mannhart Committed by Daniel Agar
Browse files

navigator set cruising speed/throttle for reposition (#8096)

parent d1500dca
No related branches found
No related tags found
No related merge requests found
...@@ -385,6 +385,8 @@ Navigator::task_main() ...@@ -385,6 +385,8 @@ Navigator::task_main()
rep->current.loiter_radius = get_loiter_radius(); rep->current.loiter_radius = get_loiter_radius();
rep->current.loiter_direction = 1; rep->current.loiter_direction = 1;
rep->current.type = position_setpoint_s::SETPOINT_TYPE_LOITER; rep->current.type = position_setpoint_s::SETPOINT_TYPE_LOITER;
rep->current.cruising_speed = get_cruising_speed();
rep->current.cruising_throttle = get_cruising_throttle();
// Go on and check which changes had been requested // Go on and check which changes had been requested
if (PX4_ISFINITE(cmd.param4)) { if (PX4_ISFINITE(cmd.param4)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment