microp11/iridiumlive

Coordinates 2

Closed this issue · 12 comments

Under Debian 9 and 10 the program does not work properly (coordinates wrong), if I start and debug in terminal with kdbg IridiumLive what a miracle, it works and the marker is set correctly, I don't know what the error is. Without the debugger kdbg it´s not work . The parser works well and the Udp packets it´s right. grts radioman1511
IridiumLive.zip

with kdbg IridiumLive
grafik

grafik
IridiumLive running under kdbg-debugger no errors

Under Debian 9 and 10 the program does not work properly (coordinates wrong), if I start and debug in terminal with kdbg IridiumLive what a miracle, it works and the marker is set correctly, I don't know what the error is. Without the debugger kdbg it´s not work . The parser works well and the Udp packets it´s right. grts radioman1511
IridiumLive.zip

Add console output after the initial split. And run it real time. If the output is correct do the same until you find the part that fails. Replace the code that fails with a similar processing using substrings. Regular expressions even if you will.

Next try , with Raspberry pi3 b debian buster same error no luck.grts radioman1511

Duplicate of #12

The code uses System.Convert.ToDouble(string-value) and the output is from a system whose current culture is en-US. I assume the culture on your system is different. You can try replacing the code with something like: Convert.ToDouble(string-value, System.Globalization.CultureInfo.InvariantCulture);
use any of these: https://social.msdn.microsoft.com/Forums/vstudio/en-US/c0696afe-ad84-468b-a7a1-800bc45ab07b/culture-independent-converttodouble?forum=csharpgeneral
and let me know which one works. or let me know what is the culture on your system so i can try it as well. Thanks.

I will also address this in the code. Will let you know when committed.

Check this commit: 49308a5

Best job. Now the coordinates are passed correctly. Thank you, you are the best. merry christmas

Thanks for the reports. Merry Christmas.