You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In a nutshell (because I'm in a hurry, also the reason you're not getting a pull request, sorry): std::atof() is locale dependent, and may expect a comma as a decimal separator. This may truncate all sorts of values read by RobotRepresentation.cpp into their integer parts or multiply them by several orders of magnitude depending on the number of digits. Apparently my fully English Ubuntu 14.04 still has a Dutch locale setting for numbers, which is why I noticed this issue.
In a nutshell (because I'm in a hurry, also the reason you're not getting a pull request, sorry):
std::atof()
is locale dependent, and may expect a comma as a decimal separator. This may truncate all sorts of values read byRobotRepresentation.cpp
into their integer parts or multiply them by several orders of magnitude depending on the number of digits. Apparently my fully English Ubuntu 14.04 still has a Dutch locale setting for numbers, which is why I noticed this issue.Possible solutions here: http://stackoverflow.com/questions/1333451/locale-independent-atof/1333534#1333534
The text was updated successfully, but these errors were encountered: