[ros-users] Poineer Gipper

Eric Perko wisesage5001 at gmail.com
Thu Oct 28 17:00:28 UTC 2010


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 <safdaraslam at yahoo.com>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
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20101028/b1152e1d/attachment-0003.html>


More information about the ros-users mailing list