Updated README with instructions for running the simulation. Also, moved build commands to a script to make it easier to build.

This commit is contained in:
Derek Witcpalek
2020-04-03 21:43:04 -04:00
parent a881191bc6
commit dac62c69d5
3 changed files with 21 additions and 0 deletions

View File

@@ -97,3 +97,19 @@ Additionally, be sure to update the `IP_ADDRESS` variable in [.env](src/.env) wi
- `cd /PATH/TO/rrrobot/src` - `cd /PATH/TO/rrrobot/src`
4. Use Docker Compose to run a service (refer to [docker-compose.yml](src/docker-compose.yml) or [Docker Compose Services](#docker-compose-services)) 4. Use Docker Compose to run a service (refer to [docker-compose.yml](src/docker-compose.yml) or [Docker Compose Services](#docker-compose-services))
- `docker-compose run --rm <service_name>` - `docker-compose run --rm <service_name>`
### Building the simulation environment
1. Build the drivers for the simulation
- `cd /home/rrrobot/rrrobot_src/src/simulation_env/`
- `source build.sh`
### Running the simulation
1. Start ros master node
- `roscore &`
2. Run the gazebo simulator - this will bring up gazebo with a robotic arm
- `gazebo /home/rrrobot/rrrobot_src/world/rrrobot.world`
3. Run control and perception programs

View File

@@ -0,0 +1,5 @@
catkin_make clean
catkin_make
catkin_make install
source devel/setup.bash