mirror of
https://github.com/EECS-467-W20-RRRobot-Project/RRRobot.git
synced 2025-09-01 11: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)
|
||||
- [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
|
||||
|
@@ -1,3 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
catkin_make clean
|
||||
catkin_make
|
||||
catkin_make install
|
||||
|
Reference in New Issue
Block a user