// Mission example: #define WP_RADIUS 25 // What is the minimum distance to reach a waypoint? #define LOITER_RADIUS 45 // How close to Loiter? #define HOLD_CURRENT_ALT 0 // 1 = hold the current altitude, // 0 = use the defined altitude to for RTL #define ALT_TO_HOLD 30 // If you entered 0, altitude to hold above home in meters // If you entered 1, just leave this as the default, 30 // enter waypoints with 7 digits after the integer part (-33.xxxxxxx, -117.xxxxxxx) float mission[][5] = { {CMD_WAYPOINT, 0, 75, 33.2152860,-117.2952660}, // 1 {CMD_WAYPOINT, 0, 75, 33.2148980,-117.2942710}, // 2 {CMD_WAYPOINT, 0, 50, 33.2164960,-117.2947070}, // 3 {CMD_WAYPOINT, 0, 50, 33.2160000,-117.2952190}, // 4 {CMD_WAYPOINT, 0, 60, 33.2146040,-117.2949660}, // 5 {CMD_WAYPOINT, 0, 75, 33.2160000,-117.2952190}, // 6 {CMD_WAYPOINT, 0, 75, 33.2164960,-117.2947070}, // 7 {CMD_WAYPOINT, 0, 50, 33.2148980,-117.2942710}, // 8 {CMD_WAYPOINT, 0, 50, 33.2152860,-117.2952660}, // 9 {CMD_LOITER_N_TURNS, 3,50, 33.2160000,-117.2952190}, // 10 };