README Fix & build.sh unix newlines

- Fix instructions in README for building and running simulation environment
- Convert build.sh from dos to unix format and add shebang
This commit is contained in:
Sravan Balaji
2020-04-05 15:38:19 -04:00
parent faf12547ca
commit 5d891787e1
2 changed files with 9 additions and 5 deletions

View File

@@ -8,6 +8,8 @@
- [Docker Compose Services](#docker-compose-services)
- [GUI Support](#gui-support)
- [Running Docker Containers](#running-docker-containers)
- [Building the simulation environment](#building-the-simulation-environment)
- [Running the simulation](#running-the-simulation)
## Contributors
@@ -98,18 +100,18 @@ Additionally, be sure to update the `IP_ADDRESS` variable in [.env](src/.env) wi
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>`
### Building the simulation environment
1. Build the drivers for the simulation
- `cd /home/rrrobot/rrrobot_src/src/simulation_env/`
1. Source ROS Setup
- `source /opt/ros/melodic/setup.bash`
2. Build the drivers for the simulation
- `cd /app/rrrobot_src/src/simulation_drivers/`
- `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`
- `gazebo /app/rrrobot_src/world/rrrobot.world`
3. Run control and perception programs

View File

@@ -1,3 +1,5 @@
#!/bin/bash
catkin_make clean
catkin_make
catkin_make install