Tomshik / ardupilot-mega

Automatically exported from code.google.com/p/ardupilot-mega
0 stars 0 forks source link

Mission Planner not working with non-US locale #944

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. In windows control panel --> Language and Region --> Change date and time 
format --> Set Swedish locale. 

The Swedish locale uses "," (comma) as decimal divider in floating point 
numbers instead of "." (a decimal point).

2. Start MissionPlanner, Connect to APM and go to ArduCoper PID's

3. Try setting a PID. Enter "0,1700" ,and then write to APM.

4. Click Read Values, the PID value is now 17 !!

What is the expected output? What do you see instead?

The decimal point is stripped and the numbers entered becomes integers.

What version of the product are you using? On what operating system?

Windows 7 SP1. 
Mission Planner 1.2.75.

Please provide any additional information below.

I didn't check the parameters after write before trying to fly my 'copter and 
now I got the scars on my arms to prove that was a mistake I won't do again...

Original issue reported on code.google.com by ibrahim....@gmail.com on 8 Sep 2013 at 9:32

GoogleCodeExporter commented 8 years ago
for the developer: it will be nice to use the standard ISO for this. Comma as 
decimal divider 

Original comment by federico...@gmail.com on 10 Sep 2013 at 9:49