Skip to content

Commit 9d8ae22

Browse files
committed
Update readme with test node run instruction.
1 parent 5893946 commit 9d8ae22

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

README.md

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -65,19 +65,11 @@ Start the `forward_command_controller`:
6565
ros2 control load_start_controller forward_command_controller_position
6666
```
6767

68-
## TODO Run a test node (TBD)
68+
## Run a test node
6969
Run a test node which will publish joint commands on /forward_command_controller_position/commands (std_msgs::msg::Float64MultiArray)
70-
after checking the current joint states (to create minimal increment for safety)
70+
after checking the current joint states (to create minimal increment for safety). The node commands increment of 0.1 radians for each
71+
joint. The commands are incremented in regards to /joint_states found when the node is run.
7172

72-
USE WITH CAUTION!!!
73-
Other option is to publish commands directly. In this case make sure the published command will not take your
74-
robot in collision with environment/people.
7573
```
76-
ros2 topic pub /forward_command_controller_position/commands std_msgs/msg/Float64MultiArray "data:
77-
- 0.0
78-
- 0.0
79-
- 0.0
80-
- 0.0
81-
- 0.0
82-
- 0.01"
74+
ros2 run ur_ros2_control_demos test_driver
8375
```

0 commit comments

Comments
 (0)