mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
navigator set cruising speed/throttle for reposition (#8096)
This commit is contained in:
committed by
Daniel Agar
parent
d1500dca6f
commit
bb9f8c3b44
@@ -385,6 +385,8 @@ Navigator::task_main()
|
||||
rep->current.loiter_radius = get_loiter_radius();
|
||||
rep->current.loiter_direction = 1;
|
||||
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
|
||||
if (PX4_ISFINITE(cmd.param4)) {
|
||||
|
||||
Reference in New Issue
Block a user