docs(readme): add rviz mode usage

This commit is contained in:
Zachary Zhang 2021-01-03 18:55:06 +08:00
parent 0addfebc1a
commit 5f78342b73

View file

@ -89,6 +89,12 @@ roslaunch myCobotROS control.launch
rosrun rviz rviz
```
If you use the above command, then you may need to manually add some model components. If you don't want to be so troublesome, you can use the following command to load a saved **myCobot** model.
```bash
rosrun rviz rviz -d rospack find myCobotROS/config/mycobot.rviz
```
-**Step 4**: Run python script
a) For display