Re: [ros-users] XmlRpcValue Array in launch file

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Ken Conley
Dato:  
Til: morris, ros-users
Emne: Re: [ros-users] XmlRpcValue Array in launch file
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 <> 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
>
> https://code.ros.org/mailman/listinfo/ros-users
>