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

DIY Robocars via Twitter
May 15
DIY Robocars via Twitter
May 14
DIY Robocars via Twitter
May 13
DIY Robocars via Twitter
RT @f1tenth: Say hi to our newest #F1TENTH creation for @ieee_ras_icra next week in Philly. It’s going to be huge! 😎 🔥 @AutowareFdn @PennEn…
May 13
DIY Robocars via Twitter
May 11
DIY Robocars via Twitter
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Noticed my car zigzagged in last run. It turned out to be the grass stuck in the wheel and made the odometry less accura…
May 8
DIY Robocars via Twitter
RT @SmallpixelCar: Test my car. RTK GPS worked great. Thanks @emlid for their support. https://t.co/EkQ6qmjmWR
May 8
DIY Drones via Twitter
RT @chr1sa: @kane That's @diydrones circa 2009. Still have a box of those Canon cameras that we used to strap into planes, just like this.…
May 3
DIY Robocars via Twitter
RT @chr1sa: Our next @diyrobocars race is going to be outside at a real RC racetrack in Fremont on May 28. Fully autonomous racing, head-to…
Apr 30
DIY Robocars via Twitter
RT @f1tenth: Our Spring 2022 F1TENTH course @PennEngineers is coming to an end with a head-to-head race as a big finale. So proud of our st…
Apr 26
DIY Robocars via Twitter
RT @DanielChiaJH: I wrote a thing! Throughout the development of my @diyrobocars car I've been using @foxglovedev Studio to visualize and d…
Apr 23
DIY Robocars via Twitter
RT @SmallpixelCar: My new car for high speed. Low body, everything ( @NVIDIAEmbedded Jetson Xavier NX, @emlid RTK GPS, IMC) under the deck…
Apr 23
DIY Robocars via Twitter
Apr 21
DIY Robocars via Twitter
RT @f1tenth: F1TENTH Race training setup @PennEngineers for our upcoming ICRA2022 @ieee_ras_icra competition. @OpenRoboticsOrg @IndyAChalle…
Apr 21
DIY Robocars via Twitter
RT @fatcatFABLAB: Proud to be hosting a restarted DIY Robocars NYC Meetup April 26. Come by if you want to talk about and race self-driving…
Apr 17
More…