|
|
@ -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)) { |
|
|
|