mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Make RTH mode default to 2 m/s. This needs to be in a UAVO somewhere
(ManualControlSettings?)
This commit is contained in:
parent
53c9b4c8a4
commit
980111d246
@ -649,6 +649,8 @@ static void setRTH(bool changed)
|
||||
pathDesired.End[PATHDESIRED_END_NORTH] = 0;
|
||||
pathDesired.End[PATHDESIRED_END_EAST] = 0;
|
||||
pathDesired.End[PATHDESIRED_END_DOWN] = positionActual.Down - 10;
|
||||
pathDesired.StartingVelocity = 2;
|
||||
pathDesired.EndingVelocity = 2;
|
||||
pathDesired.Mode = PATHDESIRED_MODE_ENDPOINT;
|
||||
PathDesiredSet(&pathDesired);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user