Re: [ros-users] Poineer Gipper

Top Page
Attachments:
Message as email
+ (text/plain)
+ (text/html)
Delete this message
Reply to this message
Author: User discussions
Date:  
To: User discussions
Subject: Re: [ros-users] Poineer Gipper
Safdar,

This page http://www.ros.org/wiki/ROS/YAMLCommandLine specifies the format
for specifying messages for rostopic pub via the commandline.

- Eric

On Thu, Oct 28, 2010 at 11:59 AM, safdar_zaman <>wrote:

>
> Hi Hermans,
> Thanks.
> p2os works and also topic /gripper_control subscribes msg GripperState.
> Now as msg GripperState is:
> GripState grip
> LiftState lift
>
> with
> GripState being
> uint32 state
> int32 dir
> bool inner_beam
> bool outer_beam
> bool left_contact
> bool right_contact
>
> and LiftState being
> int32 state
> int32 dir
> float32 position
>
> But when I apply any of following commands:
> rostopic pub /gripper_control p2os_driver/GripperState 0 0 0 0 0 0 0 0 0
> rostopic pub /gripper_control p2os_driver/GripperState [0 0 0 0 0 0 0 0 0]
> rostopic pub /gripper_control p2os_driver/GripperState [0 0 0 0 0 0][ 0 0
> 0]
> rostopic pub /gripper_control p2os_driver/GripperState [0 0 0 0 0 0],[ 0 0
> 0]
> rostopic pub /gripper_control p2os_driver/GripperState [[0 0 0 0 0 0 ],[0 0
> 0]]
> rostopic pub /gripper_control p2os_driver/GripperState [0, 0, 0, 0, 0, 0,
> 0,
> 0, 0]
> rostopic pub /gripper_control p2os_driver/GripperState [0, 0, 0, 0, 0, 0],[
> 0, 0, 0]
> rostopic pub /gripper_control p2os_driver/GripperState [[0, 0, 0, 0, 0,
> 0],[
> 0, 0, 0]]
> rostopic pub /gripper_control p2os_driver/GripperState [[0, 0, "false",
> "false", "false", "false" ],[0, 0, 0]]
>
> I dont know how exactly should I provide the arguments?
>
> regards,
>
>
>
> --
> View this message in context:
> http://ros-users.122217.n3.nabble.com/Poineer-Gipper-tp1780092p1787271.html
> Sent from the ROS-Users mailing list archive at Nabble.com.
> _______________________________________________
> ros-users mailing list
>
> https://code.ros.org/mailman/listinfo/ros-users
>