Skip to content

Commit 1f6f346

Browse files
committed
added example commands to readme
1 parent f8b80b7 commit 1f6f346

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Package for controlling the [Robotiq Hand-E gripper](https://robotiq.com/product
2020
#### Modbus TCP
2121
* You can create a local `TCP` <-> `Virtual Serial Port` server with the `socat` command.
2222
* An example usage (in the form of a Python ROS 2 wrapper) can be found in `ur_robot_driver`'s [scripts/tool_communication.py](https://github.com/UniversalRobots/Universal_Robots_ROS2_Driver/blob/204e215c8a7371f6357e6a09f7e106364e566931/ur_robot_driver/scripts/tool_communication.py#L64).
23+
* Example: `socat pty,link=/tmp/ttyUR,raw,ignoreeof,waitslave tcp:192.168.1.2:54321`
2324
* For the UR's `ur_robot_driver`, the default path to the virtual serial port is `/tmp/ttyUR`.
2425

2526

@@ -40,6 +41,12 @@ source ./install/local_setup.sh
4041
### Launch preview
4142
```bash
4243
ros2 launch robotiq_hande_driver gripper_controller_preview.launch.py use_fake_hardware:=true
44+
# In other terminal
45+
ros2 action send_goal /gripper_action_controller/gripper_cmd control_msgs/action/GripperCommand \
46+
"command:
47+
position: 0.0
48+
max_effort: 0.0
49+
"
4350
```
4451

4552
### Examples

0 commit comments

Comments
 (0)