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

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Ken Conley
Date:  
To: morris, ros-users
Subject: 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
>