Skip to content
Snippets Groups Projects
Commit b65871b4 authored by Beat Küng's avatar Beat Küng Committed by Lorenz Meier
Browse files

fix reposition: set acceptance radius

Previously the acceptance radius was 0, so the FlightTaskAutoLine was
randomly changing yaw and sometimes going into a random direction.
There is still something else wrong in there, but avoids the reposition
problem.
parent 3e9e5515
No related branches found
No related tags found
No related merge requests found
......@@ -319,6 +319,7 @@ Navigator::run()
rep->current.type = position_setpoint_s::SETPOINT_TYPE_LOITER;
rep->current.cruising_speed = get_cruising_speed();
rep->current.cruising_throttle = get_cruising_throttle();
rep->current.acceptance_radius = get_acceptance_radius();
// Go on and check which changes had been requested
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