Hi all.

(Maybe bug reports go somewhere else? Haven't learned how to yet, so I venture to post this here before going to bed)

 

APM planner 1.0.9  (nice work BTW ! ) I make a mission plan and save it. When loading again it garbles all the WP coordinates:

 

The saved file:

#define WP_RADIUS 30 // What is the minimum distance to reach a waypoint?
#define LOITER_RADIUS 60     // 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 100

float mission[][5] = {
{TAKEOFF,0,50,0,0},
{WAYPOINT,0,85,64,1271620,-21,9321442},
{WAYPOINT,0,149,64,1279485,-21,9208574},
{WAYPOINT,0,158,64,1289785,-21,9172955},
{WAYPOINT,0,154,64,1301020,-21,9179392},
{WAYPOINT,0,155,64,1300833,-21,9205570},
{WAYPOINT,0,156,64,1295215,-21,9211149},
{WAYPOINT,0,150,64,1278736,-21,9193125},
{WAYPOINT,0,153,64,1280983,-21,9165659},
{WAYPOINT,0,156,64,1294092,-21,9145489},
{WAYPOINT,0,137,64,1312068,-21,9152784},
{WAYPOINT,0,138,64,1315064,-21,9197416},
{WAYPOINT,0,143,64,1307012,-21,9228315},
{WAYPOINT,0,151,64,1293343,-21,9225311},
{WAYPOINT,0,147,64,1275178,-21,9209003},
{WAYPOINT,0,144,64,1273680,-21,9156647},
{WAYPOINT,0,144,64,1280422,-21,9132185},
{WAYPOINT,0,147,64,1296151,-21,9122314},
{WAYPOINT,0,134,64,1313566,-21,9127035},
{WAYPOINT,0,127,64,1330979,-21,9163084},
{WAYPOINT,0,121,64,1348391,-21,9216299},
{WAYPOINT,0,133,64,1407920,-21,9288826},
{WAYPOINT,0,118,64,1417654,-21,9360924},
{LAND,0,104,64,1408669,-21,9396973},
};

 

File loaded and saved again:

 

#define WP_RADIUS 30 // What is the minimum distance to reach a waypoint?
#define LOITER_RADIUS 60     // 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 100

float mission[][5] = {
{TAKEOFF,0,50,0,0},
{WAYPOINT,0,85,64,-214,7483648},
{WAYPOINT,0,149,64,-214,7483648},
{WAYPOINT,0,158,64,-214,7483648},
{WAYPOINT,0,154,64,-214,7483648},
{WAYPOINT,0,155,64,-214,7483648},
{WAYPOINT,0,156,64,-214,7483648},
{WAYPOINT,0,150,64,-214,7483648},
{WAYPOINT,0,153,64,-214,7483648},
{WAYPOINT,0,156,64,-214,7483648},
{WAYPOINT,0,137,64,-214,7483648},
{WAYPOINT,0,138,64,-214,7483648},
{WAYPOINT,0,143,64,-214,7483648},
{WAYPOINT,0,151,64,-214,7483648},
{WAYPOINT,0,147,64,-214,7483648},
{WAYPOINT,0,144,64,-214,7483648},
{WAYPOINT,0,144,64,-214,7483648},
{WAYPOINT,0,147,64,-214,7483648},
{WAYPOINT,0,134,64,-214,7483648},
{WAYPOINT,0,127,64,-214,7483648},
{WAYPOINT,0,121,64,-214,7483648},
{WAYPOINT,0,133,64,-214,7483648},
{WAYPOINT,0,118,64,-214,7483648},
{LAND,0,104,64,-214,7483648},
};

 

PS.

Same happened in v 1.0.0.  

PPS.

Can this have to  do with my european system which handles decimal points differently(commas, not points)?

You need to be a member of diydrones to add comments!

Join diydrones

Email me when people reply –

Replies

This reply was deleted.

Activity