You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/Demos.rst
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -5,6 +5,7 @@ There are currently two Space ROS demonstration applications.
5
5
The first demo uses `MoveIt2 <https://moveit.ros.org/>`_ and a model of the `Canadarm manipulator <https://en.wikipedia.org/wiki/Canadarm>`_ along with the Space ROS base image.
6
6
In this demo, MoveIt2 is used to plan the motion for the Canadarm, which is running in simulation.
7
7
The second demo shows the `Mars Curiosity rover <https://mars.nasa.gov/msl/home/>`_ in simulation, presenting multiple ROS 2 services to allow the user to directly control the rover.
8
+
The third demo is a lunar world simulation with realistic terrain and lighting as well as an open-source lunar rover model.
8
9
The following pages go into detail to show you how to run these demo applications.
9
10
10
11
.. toctree::
@@ -13,3 +14,4 @@ The following pages go into detail to show you how to run these demo application
The Space ROS Lunar Sim Demo docker image uses the spaceros docker image (*osrf/space-ros:latest*) as its base image.
8
+
The Dockerfile installs all of the prerequisite system dependencies along with the demo source code, then builds the Space ROS Lunar Sim Demo.
9
+
10
+
This demo includes a Gazebo simulation of the lunar environment (specfically around the Shackleton crater near the south pole). It uses
11
+
Digital Elevation Models (DEMs) from the Lunar Orbiter Laser Altimeter (LOLA) to accurately simulate the lunar surface in a specific region. It also contains a dynamic model of the Sun that moves according to Ephemeris data.
12
+
13
+
Building the Demo Docker
14
+
^^^^^^^^^^^^^^^^^^^^^^^^
15
+
16
+
The demo image builds on top of the spaceros image.
17
+
To build the docker image, first ensure the spaceros base image is available either by `building it locally <https://github.com/space-ros/space-ros>`_ or pulling it.
18
+
19
+
Then build lunar_sim demo images:
20
+
21
+
.. code-block:: bash
22
+
23
+
cd ../lunar_sim
24
+
./build.sh
25
+
26
+
27
+
Running the Demo Docker
28
+
^^^^^^^^^^^^^^^^^^^^^^^
29
+
30
+
Run the following to allow GUI passthrough:
31
+
32
+
.. code-block:: bash
33
+
34
+
xhost +local:docker
35
+
36
+
37
+
Then run:
38
+
39
+
.. code-block:: bash
40
+
41
+
./run.sh
42
+
43
+
44
+
Depending on the host computer, you might need to remove the ``--gpus all`` flag in ``run.sh``, which uses your GPUs.
0 commit comments