[ros-users] Unable to get double parameters

Josh Faust jfaust at willowgarage.com
Fri Oct 29 17:27:04 UTC 2010


That was actually the opposite problem -- calling setParam() in C++ would
put the wrong value on the parameter server.  I've reopened that ticket.

Josh

On Fri, Oct 29, 2010 at 8:38 AM, Blaise Gassend <blaise at willowgarage.com>wrote:

> Strange, we thought we had managed to fix this problem
> (https://code.ros.org/trac/ros/ticket/2438). Perhaps that ticket needs
> to get reopened.
>
> On Fri, Oct 29, 2010 at 2:02 AM, Armin Hornung
> <HornungA at informatik.uni-freiburg.de> wrote:
> > Hi Christian!
> >>
> >> I found out what the problem is. But I do not have a solution to it
> >> right now.
> >>
> >> #include <ros/ros.h>
> >> #include <QtGui>
> > [...]
> >
> > Do you have any locale environment / language setting that uses "," as
> > delimiter? I once ran into a very hard to find similar bug, where
> > whenever I was using Qt somewhere, stream parsing in all code wanted my
> > system locale (German, "1,5") instead of "1.5", happily changing all
> > parameters when parsed.
> >
> > I don't remember exactly, but there's a way to explicitly set the locale
> > back in the code or an environment variable if you're working on a
> > non-English system.
> >
> > Best regards,
> > Armin
> >
> > --
> > Armin Hornung                              Albert-Ludwigs-Universität
> > www.informatik.uni-freiburg.de/~hornunga   Dept. of Computer Science
> > HornungA at informatik.uni-freiburg.de        Humanoid Robots Lab
> > Tel.: +49 (0)761-203-8010                  Georges-Köhler-Allee 79
> > Fax : +49 (0)761-203-8007                  D-79110 Freiburg, Germany
> >
> > _______________________________________________
> > ros-users mailing list
> > ros-users at code.ros.org
> > https://code.ros.org/mailman/listinfo/ros-users
> >
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20101029/752afb13/attachment-0003.html>


More information about the ros-users mailing list