This page helps you to create waypoints for MatrixPilot. Simply copy and paste your waypoints file into the text area named "waypoints" below, or start from the example waypoints provided. You can click on the map to add a waypoint to the end of the current waypoint sequence, or click on an existing waypoint to edit it. Drag an existing waypoint to move it to a new location. The default options below are set for new waypoints that are added.
The home location is read from the waypoints, if a "#define fixed_origin" statement is found. Otherwise, the previously used home location is used. If this is the first time you are using this tool, the default location is on the equator, and it is suggested you move it to somewhere more appropriate for your circumstances.
Please report any issues or suggestions you might have to the uavdevboard Google group.
//////////////////////////////////////////////////////////////////////////////// // This is an example course that makes a 100 meter square, 75 meters above the starting point, and // then takes a photo and lands. Updated 20100629 to be centered over the origin. // // We first go to the south east corner of the square. // Then on to the north east corner. // The plane then uses ailerons to flip upside down, and heads towards the north west corner. // Then we flip back over and head back to the south west corner. // // The pattern will keep repeating as long as the UDB is in waypoint mode. const struct waypointDef waypoints[] = { { { 50, -50, 75 } , F_NORMAL , CAM_VIEW_LAUNCH } , //Waypoint 0 { { 50, 50, 75 } , F_NORMAL , CAM_VIEW_LAUNCH } , //Waypoint 1 { { -50, 50, 75 } , F_INVERTED , CAM_VIEW_LAUNCH } , //Waypoint 2 { { -50, -50, 75 } , F_NORMAL , CAM_VIEW_LAUNCH } , //Waypoint 3 } ;