Re: [ros-users] rosmsg and rossrv prototype

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Wim Meeussen
Dato:  
Til: User discussions
Emne: Re: [ros-users] rosmsg and rossrv prototype
+1

I usually end up writing a python script with a publisher because I
can't remember the rostopic pub yaml syntax.

Wim


On Tue, Nov 1, 2011 at 8:24 AM, Benjamin Cohen <> wrote:
> +1
>
> I always forget that syntax.... especially when using vectors.
>
> -ben
>
> On Nov 1, 2011 11:21 AM, "Jack O&apos;Quin" <> wrote:
>>
>> On Tue, Nov 1, 2011 at 8:01 AM, Thibault Kruse <> wrote:
>> > Hi,
>> >
>> > When using rostopic pub or rosservice call I often find it difficult to
>> > get
>> > the YAML right quickly, and a bit tedious as well.
>> >
>> > I therefore implemented a function for
>> > $ rosmsg prototype
>> > $ rossrv prototype
>> >
>> > that work similar to rosmsg show and rossrv show, except that yaml is
>> > returned that can be used for rostopic pub / rosservice call.
>>
>> > Examples:
>> > $ rosmsg prototype sensor_msgs/PointCloud
>> > "{channels: [{name: '', values: []}], header: {frame_id: '', seq: 0,
>> > stamp:
>> > {nsecs: 0,\
>> >      secs: 0}}, points: [{x: 0.0, y: 0.0, z: 0.0}]}"
>>
>> +1
>>
>> I find "rostopic pub" commands difficult to type by hand on the fly,
>> which is when they are most useful.
>> --
>>  joq
>> _______________________________________________
>> ros-users mailing list
>>
>> https://code.ros.org/mailman/listinfo/ros-users
>
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>
>




--
--
Wim Meeussen
Willow Garage Inc.
<http://www.willowgarage.com)