From 03953215455172174e394a6a34201e395096247f Mon Sep 17 00:00:00 2001 From: Taaj Street Date: Mon, 9 Sep 2024 16:47:04 +1000 Subject: [PATCH] lunarsim: update lunarsim README (issue space-ros/demos#50) --- lunar_sim/README.md | 24 ++++-------------------- 1 file changed, 4 insertions(+), 20 deletions(-) diff --git a/lunar_sim/README.md b/lunar_sim/README.md index 46f4ebf..d906fd0 100644 --- a/lunar_sim/README.md +++ b/lunar_sim/README.md @@ -26,6 +26,7 @@ xhost +local:docker ``` Then run: + ```bash ./run.sh ``` @@ -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 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.