Skip to content

Commit 1992778

Browse files
committed
ur10 example documentation
1 parent 5dcdc9e commit 1992778

File tree

5 files changed

+41
-2
lines changed

5 files changed

+41
-2
lines changed
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

README.md

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ ZeroSim provides a multitude of tools for building robots and environments in Un
8787

8888
1. Make sure that the ZeroSim samples are installed as outlined above.
8989
2. Make sure that the ZeroSim Docker container above is installed.
90-
3. Open the `Samples/ZeroSim/Scenes/Turtlebot3_Waffle_test.scene` ![Open Turtlebot Scene](Documentation~/images/open_turtlebot_scene.png)
90+
3. Open the `Turtlebot3_Waffle_test.scene` ![Open Turtlebot Scene](Documentation~/images/open_turtlebot_scene.png)
9191
4. Launch the ZeroSim Docker via:
9292
```
9393
docker run -it --rm \
@@ -109,7 +109,7 @@ bash -c "source devel/setup.bash ; rosrun turtlebot3_teleop turtlebot3_teleop_ke
109109
6. In the Unity editor press the "Play" button.
110110
7. The Turtlebot can now be controlled via the `w a s d` keys in the ROS teleop console window:
111111

112-
### Using RViz Example
112+
### Using RViz for Turtlebot
113113

114114
This will show visualizing the 2D LIDAR and ROS TF in RViz. This uses a VNC viewer to the ZeroSim ROS Docker container.
115115

@@ -119,3 +119,30 @@ This will show visualizing the 2D LIDAR and ROS TF in RViz. This uses a VNC vie
119119
2. Press the "Connect" button. ![noVNC Login](Documentation~/images/novnc_login.png)
120120
3. In the VNC window press the *LEFT* mouse button and select "Terminal". ![noVNC Terminal](Documentation~/images/novnc_terminal.png)
121121
4. In the new terminal run `rviz -d ./src/zero_sim_ros/rviz/turtlebot_viewer.rviz`. RViz will start up with a 3D view with the LIDAR scanner visibile. ![RViz Turtlebot Viewer](Documentation~/images/rviz_turtlebot.gif)
122+
123+
124+
### Running Universal Robot UR10 Arm Test Scene with MoveIt!
125+
126+
*NOTE:* Order of operations is important. Especially starting the Docker *before* the Unity simulation.
127+
128+
1. Make sure that the ZeroSim samples are installed as outlined above.
129+
2. Make sure that the ZeroSim Docker container above is installed.
130+
3. Open the `UniversalRobot_UR10_test.scene` ![Open UR10 Scene](Documentation~/images/ur10_test_scene.png)
131+
4. Launch the ZeroSim Docker via:
132+
```
133+
docker run -it --rm \
134+
--publish=9090:9090 \
135+
--publish=11311:11311 \
136+
--publish=8083:8083 \
137+
--publish=80:80 \
138+
--publish=5678:5678 \
139+
--name my_zerosim_vnc_docker \
140+
zerodog/zerosim_ros_vnc:latest \
141+
roslaunch zero_sim_ros ur10_moveit.launch
142+
```
143+
5. Start the UR10 test Scene by pressing the Play button.
144+
6. Open a noVNC connection by:
145+
1. In a browser open http://localhost:8083/vnc.html
146+
2. Press the "Connect" button. ![noVNC Login](Documentation~/images/novnc_login.png)
147+
7. In the noVNC window RViz will be setup with MoveIt ![UR10 RViz MoveIt](Documentation~/images/ur10_moveit_rviz.png)
148+
8. You can now to standard MoveIt! operations in RViz to control the UR10 arm ![UR10 MoveIt](Documentation~/images/ur10_moveit_rviz.gif)

0 commit comments

Comments
 (0)