File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
workshop/source/_source/navigation Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ ros2 pkg create --build-type ament_python <package_name> --dependencies tf2_ros
2121
2222Make sure the scipy library is installed:
2323``` bash
24- pip3 install scipy
24+ sudo apt install python3- scipy
2525```
2626
2727Copy the code shown below into the new file, save it, and build it.
@@ -148,20 +148,20 @@ entry_points={
148148### 1.3 Testing the Broadcaster
149149
150150First, start the turtlesim node :
151- ``` python
151+ ``` bash
152152ros2 run turtlesim turtlesim_node
153153```
154154Then start the broadcaster, with your chosen name for the turtle as the only argument. Here we assume ` turtle1 ` :
155155
156- ``` python
156+ ``` bash
157157ros2 run tf2_workshop broadcaster turtle1
158158```
159159If all works well, the broadcaster is now sending the TF data for turtle1. This can be verified with:
160- ``` python
160+ ``` bash
161161ros2 run tf2_ros tf2_echo turtle1 world
162162```
163163or by simply running:
164- ``` python
164+ ``` bash
165165ros2 run tf2_ros tf2_monitor
166166```
167167or also through rviz2 by adding the ` TF ` display module.
You can’t perform that action at this time.
0 commit comments