mirror of
https://github.com/EECS-467-W20-RRRobot-Project/RRRobot.git
synced 2025-09-04 04:43:14 +00:00
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:
12
README.md
12
README.md
@@ -8,6 +8,8 @@
|
|||||||
- [Docker Compose Services](#docker-compose-services)
|
- [Docker Compose Services](#docker-compose-services)
|
||||||
- [GUI Support](#gui-support)
|
- [GUI Support](#gui-support)
|
||||||
- [Running Docker Containers](#running-docker-containers)
|
- [Running Docker Containers](#running-docker-containers)
|
||||||
|
- [Building the simulation environment](#building-the-simulation-environment)
|
||||||
|
- [Running the simulation](#running-the-simulation)
|
||||||
|
|
||||||
## Contributors
|
## 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))
|
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
|
### Building the simulation environment
|
||||||
|
|
||||||
1. Build the drivers for the simulation
|
1. Source ROS Setup
|
||||||
- `cd /home/rrrobot/rrrobot_src/src/simulation_env/`
|
- `source /opt/ros/melodic/setup.bash`
|
||||||
|
2. Build the drivers for the simulation
|
||||||
|
- `cd /app/rrrobot_src/src/simulation_drivers/`
|
||||||
- `source build.sh`
|
- `source build.sh`
|
||||||
|
|
||||||
|
|
||||||
### Running the simulation
|
### Running the simulation
|
||||||
|
|
||||||
1. Start ros master node
|
1. Start ros master node
|
||||||
- `roscore &`
|
- `roscore &`
|
||||||
2. Run the gazebo simulator - this will bring up gazebo with a robotic arm
|
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
|
3. Run control and perception programs
|
||||||
|
@@ -1,3 +1,5 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
catkin_make clean
|
catkin_make clean
|
||||||
catkin_make
|
catkin_make
|
||||||
catkin_make install
|
catkin_make install
|
||||||
|
Reference in New Issue
Block a user