[ros-users] Conversion of pi/rad/.. when using rosparam in roslaunch

Marcus Liebhardt marcus.liebhardt at pal-robotics.com
Mon Jul 11 16:41:28 UTC 2011


Hi ros-users,

we went into a strange behaviour of roslaunch, which we don't know, if it is
a bug or expected behaviour.

Let's consider a config file, which contains a parameter like this: r:
rad(0.5 * pi).
If I load this file via the rosparam command-line tool r gets correctly
converted to "1.5707963267948966".
But if I load this file via roslaunch rad and pi will not be converted and
the parameter r is 'rad(0.5 * pi)'.
The launch file:
<launch>
  <rosparam command="load" file="/path/to/test.yaml" />
</launch>

We tested this under c- and d-turtle. Is this the expected behaviour or a
bug?
If expected, I will repost my question on answers.ros.org, otherwise I can
file a ticket, if desired.

:-) Marcus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20110711/e754a478/attachment-0001.html>


More information about the ros-users mailing list