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/Canadarm.rst
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ Canadarm Demo
4
4
Build the Space ROS & MoveIt2 Docker Images
5
5
-------------------------------------------
6
6
7
-
If you haven't already, follow `these <https://space-ros.github.io/docs/rolling/Demos/MoveIt2.html>`_ instructions for building the MoveIt2 docker image, and `these <https://space-ros.github.io/docs/rolling/Tutorials/First-Time-Building.html>`_ instructions for the spaceros image. These are the base images for the Canadarm and Curiosity Mars rover demos. The Dockerfile installs all of the prerequisite system dependencies along with the demos source code, then builds the Space ROS Space Robots Demo.
7
+
If you haven't already, follow `the MoveIt2 instructions <https://space-ros.github.io/docs/rolling/Demos/MoveIt2.html>`_, and `the Space ROS image instructions <https://space-ros.github.io/docs/rolling/Tutorials/First-Time-Building.html>`_. These are the base images for the Canadarm and Curiosity Mars rover demos. The Dockerfile installs all of the prerequisite system dependencies along with the demos source code, then builds the Space ROS Space Robots Demo.
8
8
9
9
Space ROS Space Robots Demo Docker Image
10
10
----------------------------------------
@@ -13,8 +13,8 @@ Build the ``space_robots`` image:
13
13
14
14
.. code-block:: console
15
15
16
-
cd ../space_robots
17
-
./build.sh
16
+
cd ../space_robots
17
+
./build.sh
18
18
19
19
Running the Demo Docker
20
20
-----------------------
@@ -23,13 +23,13 @@ Run the following to allow GUI passthrough:
23
23
24
24
.. code-block:: console
25
25
26
-
xhost +local:docker
26
+
xhost +local:docker
27
27
28
28
Then run:
29
29
30
30
.. code-block:: console
31
31
32
-
./run.sh
32
+
./run.sh
33
33
34
34
Depending on the host computer, you might need to remove the ``--gpus all`` flag in ``run.sh``, which uses your GPUs.
Copy file name to clipboardExpand all lines: source/Demos/MoveIt2.rst
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,13 +10,13 @@ Move into your Space ROS workspace:
10
10
11
11
.. code-block:: console
12
12
13
-
cd spaceros_ws
13
+
cd spaceros_ws
14
14
15
15
Clone the docker repository:
16
16
17
17
.. code-block:: console
18
18
19
-
git clone https://github.com/space-ros/docker
19
+
git clone https://github.com/space-ros/docker
20
20
21
21
Building the MoveIt2 Image
22
22
--------------------------
@@ -25,8 +25,8 @@ To build the docker image, run:
25
25
26
26
.. code-block:: console
27
27
28
-
cd docker/moveit2
29
-
./build.sh
28
+
cd docker/moveit2
29
+
./build.sh
30
30
31
31
The build process will take about 30 minutes, depending on the host computer.
32
32
@@ -37,30 +37,30 @@ After building the image, you can see the newly-built image by running:
37
37
38
38
.. code-block:: console
39
39
40
-
docker image list
40
+
docker image list
41
41
42
42
The output will look something like this:
43
43
44
44
.. code-block:: console
45
45
46
-
REPOSITORY TAG IMAGE ID CREATED SIZE
47
-
openrobotics/moveit2 latest 6edb2edc9643 10 hours ago 15.5GB
48
-
openrobotics/spaceros latest 629b13cf7b74 12 hours ago 7.8GB
49
-
nvidia/cudagl 11.4.1-devel-ubuntu20.04 336416dfcbba 1 week ago 5.35GB
46
+
REPOSITORY TAG IMAGE ID CREATED SIZE
47
+
openrobotics/moveit2 latest 6edb2edc9643 10 hours ago 15.5GB
48
+
openrobotics/spaceros latest 629b13cf7b74 12 hours ago 7.8GB
49
+
nvidia/cudagl 11.4.1-devel-ubuntu20.04 336416dfcbba 1 week ago 5.35GB
50
50
51
51
The new image is named openrobotics/moveit2:latest.
52
52
53
53
There is a run.sh script provided for convenience that will run the spaceros image in a container.
54
54
55
55
.. code-block:: console
56
56
57
-
./run.sh
57
+
./run.sh
58
58
59
59
Upon startup, the container automatically runs the entrypoint.sh script, which sources the MoveIt2 and Space ROS environment files. You'll now be running inside the container and should see a prompt similar to this:
60
60
61
61
.. code-block:: console
62
62
63
-
spaceros-user@8e73b41a4e16:~/moveit2#
63
+
spaceros-user@8e73b41a4e16:~/moveit2#
64
64
65
65
Running MoveIt2 Tutorials
66
66
-------------------------
@@ -69,7 +69,7 @@ Run the following command to launch the MoveIt2 tutorials demo launch file:
0 commit comments