mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-07 16:38:30 -04:00
78510636db
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1923 f9c3cf11-9bcb-44bc-f272-b75c42450872
13 lines
442 B
C
13 lines
442 B
C
// Mission example:
|
|
|
|
#define WP_RADIUS 5 // What is the minimum distance to reach a waypoint?
|
|
#define ALT_TO_HOLD -1 // Altitude to hold above home in meters
|
|
|
|
// Enter -1 to maintain current altitude when returning to home
|
|
// The mission:
|
|
float mission[][6] = {
|
|
// CMD options P1 Alt Lat Long
|
|
{MAV_CMD_NAV_TAKEOFF, 0, 0, 3.0, 0, 0}, // 1
|
|
{MAV_CMD_NAV_LAND, 0, 0, 0, 0, 0}, // 7 LAND!
|
|
};
|