Skip to content

Commit 881775c

Browse files
committed
fix toctree
1 parent fc7ddfa commit 881775c

File tree

1 file changed

+16
-22
lines changed

1 file changed

+16
-22
lines changed

docs/_03_aerial_platforms/_dji_psdk/index.rst

Lines changed: 16 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ DJI Matrice Series PSDK
55
=======================
66

77
.. contents:: Table of Contents
8-
:depth: 3
8+
:depth: 2
99
:local:
1010

1111

@@ -32,14 +32,14 @@ Installation
3232

3333
.. _aerial_platform_matrice_psdk_installation_prerequisites:
3434

35-
=============================================================
35+
3636
Prerequisites (One-Time Setup on Xavier/Orin NX/AGX Boards)
3737
=============================================================
3838

3939
.. _aerial_platform_dji_matrice_psdk_installation_prerequisites_software_once:
4040

4141
1. Clone configuration repository
42-
------------------------------
42+
---------------------------------
4343

4444
.. code-block:: console
4545
@@ -48,14 +48,14 @@ Prerequisites (One-Time Setup on Xavier/Orin NX/AGX Boards)
4848
cd psdk_config_files
4949
5050
2. Disable ``l4t-device-mode`` auto start
51-
--------------------------------------
51+
-----------------------------------------
5252

5353
.. code-block:: console
5454
5555
sudo systemctl disable nv-l4t-usb-device-mode.service
5656
5757
3. Replace system device-mode script
58-
---------------------------------
58+
------------------------------------
5959

6060
Copy your custom startup script into place and make it executable:
6161

@@ -66,7 +66,7 @@ Copy your custom startup script into place and make it executable:
6666
chmod +x ./nv-l4t-usb-device-mode-start.sh
6767
6868
4. Customize the script
69-
--------------------
69+
-----------------------
7070

7171
Update the script to use the correct **USB-UDC port**:
7272

@@ -83,7 +83,7 @@ Update the script to use the correct **USB-UDC port**:
8383
sed -i 's/3550000\.usb/3550000.xudc/g' nv-l4t-usb-device-mode-start.sh
8484
8585
5. Grab bulk-mode program folder
86-
-----------------------------
86+
--------------------------------
8787

8888
Download and unzip the reference package into ``~/Desktop/startup_bulk``:
8989

@@ -95,10 +95,10 @@ Download and unzip the reference package into ``~/Desktop/startup_bulk``:
9595
&& chmod +x ~/Desktop/startup_bulk/*
9696
9797
6. Reboot
98-
------
98+
---------
9999

100100
7. Load necessary kernel modules on boot
101-
-------------------------------------
101+
----------------------------------------
102102

103103
Append to ``/etc/modules`` (ensure correct formatting):
104104

@@ -107,15 +107,15 @@ Append to ``/etc/modules`` (ensure correct formatting):
107107
echo -e "configfs\nlibcomposite\nusb_f_fs\ntegra-xudc" | sudo tee -a /etc/modules
108108
109109
8. Test the setup
110-
--------------
110+
-----------------
111111

112112
.. code-block:: console
113113
114114
cd /opt/nvidia/l4t-usb-device-mode/
115115
./nv-l4t-usb-device-mode-start.sh
116116
117117
9. Re-enable the service (if successful)
118-
-------------------------------------
118+
----------------------------------------
119119

120120
.. code-block:: console
121121
@@ -124,7 +124,6 @@ Append to ``/etc/modules`` (ensure correct formatting):
124124
Now both **bulk mode** and **network mode** are configured.
125125

126126

127-
=================================================================
128127
Prerequisites (Every Boot on Xavier/Orin NX/AGX Boards)
129128
=================================================================
130129

@@ -288,9 +287,9 @@ If not, repeat the above steps.
288287
289288
.. _aerial_platform_dji_matrice_psdk_installation_package:
290289

291-
=======================
290+
292291
Install Platform Package
293-
=======================
292+
========================
294293

295294
Binary installation
296295
-------------------
@@ -304,8 +303,7 @@ Source installation
304303

305304
.. code-block:: bash
306305
307-
# If Aerostack2 was installed from sources,
308-
# clone into the src folder of your workspace.
306+
# If Aerostack2 was installed from sources, clone into the src folder of your workspace.
309307
cd ~/aerostack2_ws/src/aerostack2/as2_aerial_platforms
310308
git clone git@github.com:aerostack2/as2_platform_dji_psdk.git
311309
cd ~/aerostack2_ws
@@ -326,9 +324,7 @@ For more details about platform control modes and sensors, see
326324
Control Modes
327325
=============
328326

329-
Supported control modes:
330-
331-
.. list-table:: Control Modes DJI PSDK Platform
327+
.. list-table:: Supported Control Modes for DJI PSDK Platform
332328
:widths: 50 50 50
333329
:header-rows: 1
334330

@@ -343,9 +339,7 @@ Supported control modes:
343339
Sensors
344340
=======
345341

346-
Supported sensors:
347-
348-
.. list-table:: Sensors DJI PSDK Platform
342+
.. list-table:: Supported Sensors for DJI PSDK Platform
349343
:widths: 50 50 50
350344
:header-rows: 1
351345

0 commit comments

Comments
 (0)