Skip to content

Commit

Permalink
lunarsim: update lunarsim README (issue space-ros/demos#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
Taaj Street authored and Munir Azme committed Sep 9, 2024
1 parent 7aa8927 commit 0395321
Showing 1 changed file with 4 additions and 20 deletions.
24 changes: 4 additions & 20 deletions lunar_sim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ xhost +local:docker
```

Then run:

```bash
./run.sh
```
Expand All @@ -35,29 +36,12 @@ Depending on the host computer, you might need to remove the ```--gpus all``` fl
## Running the Demos

### Curiosity Mars rover demo

Launch the demo:

```bash
source install/setup.bash
ros2 launch lunarsim_gz_bringup lunarsim_world.launch.py
```

### Perform Tasks

#### Setup

Open a new terminal and attach to the currently running container:

```bash
docker exec -it <container-name> bash
```

Make sure packages are sourced:

```bash
source ~/spaceros/install/setup.bash
```

```bash
source ~/demos_ws/install/setup.bash
```

This will launch the gazebo lunar world, spawn the rover and start teleop. This will be a new terminal window which enables you to control the rover as per the instructions in the terminal window.

0 comments on commit 0395321

Please sign in to comment.