mirror of
https://github.com/westonrobot/scout_ros.git
synced 2026-01-12 03:15:01 +08:00
initial release of webots simulation for scout
This commit is contained in:
24
README.md
24
README.md
@@ -78,7 +78,23 @@ Replace "<username>" in the above command with your Linux username. You need to
|
||||
$ catkin_make
|
||||
```
|
||||
|
||||
3. Launch ROS nodes
|
||||
3. Setup Webots simulation
|
||||
|
||||
* Install Webots R2020a-rev1 (download from https://cyberbotics.com/ )
|
||||
|
||||
* Install Webots ROS package
|
||||
|
||||
```
|
||||
$ sudo apt install ros-melodic-webots-ros
|
||||
```
|
||||
|
||||
* Set WEBOTS_HOME variable, add the following line to your "~/.bashrc"
|
||||
|
||||
```
|
||||
export WEBOTS_HOME=/usr/local/webots
|
||||
```
|
||||
|
||||
4. Launch ROS nodes
|
||||
|
||||
* Start the base node
|
||||
|
||||
@@ -92,6 +108,12 @@ Replace "<username>" in the above command with your Linux username. You need to
|
||||
$ roslaunch scout_bringup scout_minimal_uart.launch
|
||||
```
|
||||
|
||||
* Or you can start the Webots-based simulation
|
||||
|
||||
```
|
||||
$ roslaunch scout_bringup scout_base_sim.launch
|
||||
```
|
||||
|
||||
* Start the keyboard tele-op node
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user