[ros-users] XmlRpcValue Array in launch file

Ken Conley kwc at willowgarage.com
Sun Apr 11 17:20:56 UTC 2010


Hi Bill,

The <rosparam> is what you're looking for (the <param> tag is a
vestigial bit from roslaunch predating rosparam). The rosparam tag is
compatible with the YAML representation and is much more flexible with
value representations, as other people have noted.

 - Ken

On Sun, Apr 11, 2010 at 1:53 AM, Bill Morris <morris at ee.ccny.cuny.edu> wrote:
> I can't find documentation anywhere for formatting an array properly in
> the launch file.
>
> This does not work
> <param name="marker_center" value="[0.0, 0.0]"/>
>
> This works
> <rosparam command="load" file="marker.yaml"/>
>
> where marker.yaml is
>
> marker_center: [0.0,0.0]
>
> Any ideas as to what I'm doing wrong?
>
> Thanks,
> -Bill
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>



More information about the ros-users mailing list