Skip to content

Commit 7de7e77

Browse files
committed
initial doc re-structure
1 parent 47e2e35 commit 7de7e77

File tree

12 files changed

+126
-176
lines changed

12 files changed

+126
-176
lines changed

docker/doc/docker.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Docker
1+
docker
22
======
33
To run the ``lbr_fri_ros2_stack`` in a Docker container, follow the instructions below.
44

lbr_bringup/doc/lbr_bringup.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LBR Bringup
1+
lbr_bringup
22
===========
33
The ``lbr_bringup`` works for the simulation and the real robot. Run:
44

@@ -29,7 +29,7 @@ Select
2929
Users may also refer to :ref:`Software Architecture` for a better understanding of the underlying ``lbr_fri_ros2`` package.
3030

3131
.. note::
32-
For the real robot, make sure you have followed :ref:`Robot Setup` first.
32+
For the real robot, make sure you have followed :doc:`Hardware Setup <../../lbr_fri_ros2_stack/doc/hardware_setup>` first.
3333

3434
.. warning::
3535
On the real robot, do always execute in ``T1`` mode first.

lbr_demos/doc/lbr_demos.rst

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,33 @@
1-
LBR Demos
1+
lbr_demos
22
=========
33
Contolling the LBR through ROS 2 control.
44

55
.. note::
6-
Some demos require a real robot. Make sure you followed :ref:`Robot Setup` first.
6+
Some demos require a real robot. Make sure you followed :doc:`Hardware Setup <../../lbr_fri_ros2_stack/doc/hardware_setup>` first.
77

88
.. warning::
99
On the real robot, do always execute in ``T1`` mode first.
1010

11-
Demos
12-
-----
11+
Simple
12+
------
1313
.. toctree::
1414
:titlesonly:
1515

16-
LBR Demos C++ <../lbr_demos_cpp/doc/lbr_demos_cpp.rst>
17-
LBR Demos Python <../lbr_demos_py/doc/lbr_demos_py.rst>
16+
lbr_demos_cpp <../lbr_demos_cpp/doc/lbr_demos_cpp.rst>
17+
lbr_demos_py <../lbr_demos_py/doc/lbr_demos_py.rst>
1818

19-
Advanced Demos
20-
--------------
19+
Advanced
20+
--------
2121
.. toctree::
2222
:titlesonly:
2323

24-
LBR Demos Advanced C++ <../lbr_demos_advanced_cpp/doc/lbr_demos_advanced_cpp.rst>
25-
LBR Demos Advanced Python <../lbr_demos_advanced_py/doc/lbr_demos_advanced_py.rst>
24+
lbr_demos_advanced_cpp <../lbr_demos_advanced_cpp/doc/lbr_demos_advanced_cpp.rst>
25+
lbr_demos_advanced_py <../lbr_demos_advanced_py/doc/lbr_demos_advanced_py.rst>
2626

27-
MoveIt 2 Demos
27+
MoveIt 2
2828
--------------
29-
TODO
29+
TODO moveit simple action client demos
30+
31+
Integration
32+
-----------
33+
TODO system integration demos
Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LBR Demos Advanced C++
1+
lbr_demos_advanced_cpp
22
======================
33
Collection of advanced usage examples for the ``lbr_fri_ros2`` package through C++.
44

@@ -16,20 +16,20 @@ Admittance Controller
1616

1717
#. Launch the robot driver:
1818

19-
.. code-block:: bash
19+
.. code-block:: bash
2020
21-
ros2 launch lbr_bringup bringup.launch.py \
22-
sim:=false \
23-
ctrl:=lbr_position_command_controller \
24-
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
21+
ros2 launch lbr_bringup bringup.launch.py \
22+
sim:=false \
23+
ctrl:=lbr_position_command_controller \
24+
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
2525
26-
#. Launch the `admittance_control <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/humble/lbr_demos/lbr_demos_advanced_cpp/src/admittance_control_node.cpp>`_:
26+
#. Launch the `admittance_control <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/humble/lbr_demos/lbr_demos_advanced_cpp/src/admittance_control_node. cpp>`_:
2727

28-
.. code-block:: bash
29-
30-
ros2 run lbr_demos_advanced_cpp admittance_control --ros-args \
31-
-r __ns:=/lbr \
32-
--params-file `ros2 pkg prefix lbr_demos_advanced_cpp`/share/lbr_demos_advanced_cpp/config/admittance_control.yaml
28+
.. code-block:: bash
29+
30+
ros2 run lbr_demos_a dvanced_cpp admittance_control --ros-args \
31+
-r __ns:=/lbr \
32+
--params-file `ros2 pkg prefix lbr_demos_advanced_cpp`/share/lbr_demos_advanced_cpp/config/admittance_control.yaml
3333
3434
#. Now gently move the robot at the end-effector.
3535

@@ -44,23 +44,23 @@ kinematics to move the robot's end-effector along the z-axis in Cartesian space.
4444

4545
#. Launch the robot driver:
4646

47-
.. code-block:: bash
47+
.. code-block:: bash
4848
49-
ros2 launch lbr_bringup bringup.launch.py \
50-
sim:=false \
51-
ctrl:=lbr_position_command_controller \
52-
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
49+
ros2 launch lbr_bringup bringup.launch.py \
50+
sim:=false \
51+
ctrl:=lbr_position_command_controller \
52+
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
5353
5454
#. Launch the pose control
5555

56-
.. code-block:: bash
56+
.. code-block:: bash
5757
58-
ros2 run lbr_demos_advanced_cpp pose_control --ros-args \
59-
-r __ns:=/lbr
58+
ros2 run lbr_demos_advanced_cpp pose_control --ros-args \
59+
-r __ns:=/lbr
6060
6161
#. Launch the path planning
6262

63-
.. code-block:: bash
63+
.. code-block:: bash
6464
65-
ros2 run lbr_demos_advanced_cpp pose_planning --ros-args \
66-
-r __ns:=/lbr
65+
ros2 run lbr_demos_advanced_cpp pose_planning --ros-args \
66+
-r __ns:=/lbr
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
LBR Demos Advanced Python
2-
=========================
1+
lbr_demos_advanced_py
2+
=====================
33
Collection of advanced usage examples for the ``lbr_ros2_control`` package through Python.
44

55
.. warning::
@@ -18,20 +18,20 @@ This demo implements a simple admittance controller.
1818

1919
#. Launch the robot driver:
2020

21-
.. code-block:: bash
21+
.. code-block:: bash
2222
23-
ros2 launch lbr_bringup bringup.launch.py \
24-
sim:=false \
25-
ctrl:=lbr_position_command_controller \
26-
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
23+
ros2 launch lbr_bringup bringup.launch.py \
24+
sim:=false \
25+
ctrl:=lbr_position_command_controller \
26+
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
2727
2828
#. Run the `admittance_control <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/humble/lbr_demos/lbr_demos_advanced_py/lbr_demos_advanced_py/admittance_control_node.py>`_ with remapping and parameter file:
2929

30-
.. code-block:: bash
30+
.. code-block:: bash
3131
32-
ros2 run lbr_demos_advanced_py admittance_control --ros-args \
33-
-r __ns:=/lbr \
34-
--params-file `ros2 pkg prefix lbr_demos_advanced_py`/share/lbr_demos_advanced_py/config/admittance_control.yaml
32+
ros2 run lbr_demos_advanced_py admittance_control --ros-args \
33+
-r __ns:=/lbr \
34+
--params-file `ros2 pkg prefix lbr_demos_advanced_py`/share/lbr_demos_advanced_py/config/admittance_control.yaml
3535
3636
#. Now gently move the robot at the end-effector.
3737

@@ -45,19 +45,19 @@ This demo implements an admittance controller with a remote center of motion (RC
4545

4646
#. Launch the robot driver:
4747

48-
.. code-block:: bash
48+
.. code-block:: bash
4949
50-
ros2 launch lbr_bringup bringup.launch.py \
51-
sim:=false \
52-
ctrl:=lbr_position_command_controller \
53-
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
50+
ros2 launch lbr_bringup bringup.launch.py \
51+
sim:=false \
52+
ctrl:=lbr_position_command_controller \
53+
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
5454
5555
#. Run the `admittance_rcm_control <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/humble/lbr_demos/lbr_demos_advanced_py/lbr_demos_advanced_py/admittance_rcm_control_node.py>`_ with remapping and parameter file:
5656

57-
.. code-block:: bash
57+
.. code-block:: bash
5858
59-
ros2 run lbr_demos_advanced_py admittance_rcm_control --ros-args \
60-
-r __ns:=/lbr \
61-
--params-file `ros2 pkg prefix lbr_demos_advanced_py`/share/lbr_demos_advanced_py/config/admittance_rcm_control.yaml
59+
ros2 run lbr_demos_advanced_py admittance_rcm_control --ros-args \
60+
-r __ns:=/lbr \
61+
--params-file `ros2 pkg prefix lbr_demos_advanced_py`/share/lbr_demos_advanced_py/config/admittance_rcm_control.yaml
6262
6363
#. Now gently move the robot at the end-effector.

lbr_demos/lbr_demos_cpp/doc/lbr_demos_cpp.rst

Lines changed: 36 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
LBR Demos C++
1+
lbr_demos_cpp
22
=============
33
add table of contents TODO with sim / real matrix
44

@@ -20,43 +20,44 @@ Joint Sine Overlay
2020

2121
#. Run the robot driver:
2222

23-
.. code-block:: bash
23+
.. code-block:: bash
2424
25-
ros2 launch lbr_bringup bringup.launch.py \
26-
ctrl:=lbr_position_command_controller \
27-
sim:=false \
28-
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
25+
ros2 launch lbr_bringup bringup.launch.py \
26+
ctrl:=lbr_position_command_controller \
27+
sim:=false \
28+
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
2929
30-
The robot will move to the initial position through the Java application.
30+
31+
The robot will move to the initial position through the Java application.
3132

3233
#. Run the `joint_sine_overlay <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/humble/lbr_demos/lbr_demos_cpp/src/joint_sine_overlay.cpp>`_ node:
3334

34-
.. code-block:: bash
35+
.. code-block:: bash
3536
36-
ros2 run lbr_demos_cpp joint_sine_overlay --ros-args -r __ns:=/lbr
37+
ros2 run lbr_demos_cpp joint_sine_overlay --ros-args -r __ns:=/lbr
3738
38-
This node overlays a sinusoidal motion on joint ``A4``.
39+
This node overlays a sinusoidal motion on joint ``A4``.
3940

4041
Joint Trajectory Controller
4142
---------------------------
4243
Simulation
4344
~~~~~~~~~~
4445
#. Launch the simulated robot:
4546

46-
.. code-block:: bash
47+
.. code-block:: bash
4748
48-
ros2 launch lbr_bringup bringup.launch.py sim:=true model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
49+
ros2 launch lbr_bringup bringup.launch.py sim:=true model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
4950
5051
#. Run the `joint_trajectory_client <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/humble/lbr_demos/lbr_demos_cpp/src/joint_trajectory_client.cpp>`_:
5152

52-
.. code-block:: bash
53+
.. code-block:: bash
5354
54-
ros2 run lbr_demos_cpp joint_trajectory_client --ros-args -r __ns:=/lbr
55+
ros2 run lbr_demos_cpp joint_trajectory_client --ros-args -r __ns:=/lbr
5556
56-
The robot will twist, then move to the zero configuration.
57+
The robot will twist, then move to the zero configuration.
5758

58-
Real Robot
59-
~~~~~~~~~~
59+
Hardware
60+
~~~~~~~~
6061
#. .. dropdown:: Launch the ``LBRServer`` application on the ``KUKA smartPAD``
6162

6263
.. thumbnail:: ../../doc/img/applications_lbr_server.png
@@ -85,22 +86,22 @@ Torque Sine Overlay
8586

8687
#. Run the robot driver:
8788

88-
.. code-block:: bash
89+
.. code-block:: bash
8990
90-
ros2 launch lbr_bringup bringup.launch.py \
91-
ctrl:=lbr_torque_command_controller \
92-
sim:=false \
93-
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
91+
ros2 launch lbr_bringup bringup.launch.py \
92+
ctrl:=lbr_torque_command_controller \
93+
sim:=false \
94+
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
9495
95-
The robot will move to the initial position through the Java application.
96+
The robot will move to the initial position through the Java application.
9697

9798
#. Run the `torque_sine_overlay <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/humble/lbr_demos/lbr_demos_cpp/src/torque_sine_overlay.cpp>`_ node:
9899

99-
.. code-block:: bash
100+
.. code-block:: bash
100101
101-
ros2 run lbr_demos_cpp torque_sine_overlay --ros-args -r __ns:=/lbr
102+
ros2 run lbr_demos_cpp torque_sine_overlay --ros-args -r __ns:=/lbr
102103
103-
This node overlays a sinusoidal torque on joint ``A4``.
104+
This node overlays a sinusoidal torque on joint ``A4``.
104105

105106
Wrench Sine Overlay
106107
-------------------
@@ -117,19 +118,19 @@ Wrench Sine Overlay
117118

118119
#. Run the robot driver:
119120

120-
.. code-block:: bash
121+
.. code-block:: bash
121122
122-
ros2 launch lbr_bringup bringup.launch.py \
123-
ctrl:=lbr_wrench_command_controller \
124-
sim:=false \
125-
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
123+
ros2 launch lbr_bringup bringup.launch.py \
124+
ctrl:=lbr_wrench_command_controller \
125+
sim:=false \
126+
model:=iiwa7 # [iiwa7, iiwa14, med7, med14]
126127
127-
The robot will move to the initial position through the Java application.
128+
The robot will move to the initial position through the Java application.
128129

129130
#. Run the `wrench_sine_overlay <https://github.com/lbr-stack/lbr_fri_ros2_stack/blob/humble/lbr_demos/lbr_demos_cpp/src/wrench_sine_overlay>`_ node:
130131

131-
.. code-block:: bash
132+
.. code-block:: bash
132133
133-
ros2 run lbr_demos_cpp wrench_sine_overlay --ros-args -r __ns:=/lbr
134+
ros2 run lbr_demos_cpp wrench_sine_overlay --ros-args -r __ns:=/lbr
134135
135-
This node overlays a sinusoidal force on the x- and y-axis.
136+
This node overlays a sinusoidal force on the x- and y-axis.

0 commit comments

Comments
 (0)