Skip to content

Commit

Permalink
remove docker volume share
Browse files Browse the repository at this point in the history
  • Loading branch information
tonylitianyu committed Jul 19, 2022
1 parent f10ff73 commit f100637
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 27 deletions.
27 changes: 3 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ This repository provides examples for running robots using Space ROS

The demos run in the Space ROS Demo docker. Please proceed to this [repo](https://github.com/tonylitianyu/docker-images/tree/tonylitianyu/demo_depends), clone and perform the following steps to build the docker image.

Within folder ```/spaceros```, run:

```
$ ./build-image.sh
```

Within folder ```/demo_spaceros```, run:

```
Expand All @@ -21,35 +15,20 @@ $ ./build-image.sh

## Running the Demo Docker

Come back to this repo, run the following to allow GUI passthrough:
run the following to allow GUI passthrough:
```
$ xhost +local:docker
```

Then run:
```
$ ./run_sp.sh
$ ./run.sh
```

Depends on the host computer, you might need to remove ```--gpus all``` flag in ```run_sp.sh```, which uses your GPUs
Depends on the host computer, you might need to remove ```--gpus all``` flag in ```run.sh```, which uses your GPUs

## Running the Demo

Make sure packages are sourced

```
$ source /root/src/spaceros_ws/install/setup.bash
```

```
$ source /root/src/depends_ws/install/setup.bash
```

Enter the folder ```/spaceros_demo_ws```, run:
```
$ rm -rf build install log && colcon build && . install/setup.bash
```

Launch the demo:
```
$ ros2 launch mars_rover mars_rover.launch.py
Expand Down
2 changes: 1 addition & 1 deletion mars_rover/launch/mars_rover.launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ def generate_launch_description():
arguments=[
'-name', 'curiosity_mars_rover',
'-x','1.0',
'-z','-7.7',
'-z','-7.8',
'-y','0.0',
'-string', doc.toxml(),
'-allow_renaming', 'true'
Expand Down
2 changes: 0 additions & 2 deletions run_sp.sh

This file was deleted.

0 comments on commit f100637

Please sign in to comment.