1
0
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:
James Cotton 2012-06-08 11:44:00 -05:00
parent 53c9b4c8a4
commit 980111d246

View File

@ -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);
}