Skip to content

Commit 53cfd44

Browse files
committed
Add ToC and error section to README
1 parent 60d92f8 commit 53cfd44

File tree

1 file changed

+33
-4
lines changed

1 file changed

+33
-4
lines changed

README.md

+33-4
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,28 @@
22
![ADR Banner](docs/img/banner.jpeg)
33
<sub><sup>AI generated image</sup></sub>
44

5+
## Table of Contents
6+
- [Autonomous Drone Racing Project Course](#autonomous-drone-racing-project-course)
7+
- [Table of Contents](#table-of-contents)
8+
- [Installation](#installation)
9+
- [Fork lsy\_drone\_racing](#fork-lsy_drone_racing)
10+
- [Using conda/mamba](#using-condamamba)
11+
- [Difficulty levels](#difficulty-levels)
12+
- [Switching between configurations](#switching-between-configurations)
13+
- [The online competition](#the-online-competition)
14+
- [Signing up for the online competition](#signing-up-for-the-online-competition)
15+
- [Setting up your GitHub repo for the competition](#setting-up-your-github-repo-for-the-competition)
16+
- [Submitting your latest iteration](#submitting-your-latest-iteration)
17+
- [Creating your own controller](#creating-your-own-controller)
18+
- [Deployment (**NOT IMPORTANT FOR STUDENTS FOR NOW**)](#deployment-not-important-for-students-for-now)
19+
- [Hardware setup](#hardware-setup)
20+
- [Common errors](#common-errors)
21+
- [libNatNet](#libnatnet)
22+
- [Fly with the drones](#fly-with-the-drones)
23+
- [Settings](#settings)
24+
- [Launch](#launch)
25+
26+
527
## Installation
628

729
To run the LSY Autonomous Drone Racing project, you will need 3 main repositories:
@@ -119,7 +141,9 @@ Once you have pushed your latest iteration, a GitHub action runner will start te
119141

120142
To implement your own controller, have a look at the [example implementation](./examples/controller.py). We recommend altering the existing example controller instead of creating your own file to not break the testing pipeline. Please also read through the documentation of the controller. You **must not** alter its function signatures. If you encounter problems implementing something with the given interface, contact one of the lecturers.
121143

122-
## Deployment [TODO: Complete. **NOT IMPORTANT FOR STUDENTS FOR NOW**]
144+
## Deployment (**NOT IMPORTANT FOR STUDENTS FOR NOW**)
145+
146+
### Hardware setup
123147

124148
To deploy the controllers on real drones you must install ROS Noetic and the crazyswarm package.
125149

@@ -190,9 +214,14 @@ pip install cfclient
190214
conda deactivate
191215
```
192216

193-
## Deploy the drones
217+
### Common errors
218+
219+
#### libNatNet
220+
If libNatNet is missing either during compiling crazyswarm or launching hover_swarm.launch, one option is to manually install it. Download the library from its [github repo](https://github.com/whoenig/NatNetSDKCrossplatform), follow the build instructions, and then add the library to your `LIBRARY_PATH` and `LD_LIBRARY_PATH` variables.
221+
222+
### Fly with the drones
194223

195-
### Settings
224+
#### Settings
196225
Make sure you are familiar with the configuration files. Not all options are relevant depending on the motion capture setup. For more info, see the [official documentation](https://crazyswarm.readthedocs.io/en/latest/configuration.html#adjust-configuration-files).
197226

198227
The important config files are located in the crazyswarm ROS package:
@@ -207,7 +236,7 @@ As well as the launch file and Python script:
207236
- cf_sim2real.launch
208237
- cmdFullStateCFFirmware.py
209238

210-
### Fly
239+
#### Launch
211240

212241
>**Note:** The following is **NOT** within a conda environment, but has to run directly on the system's Python 3.8 installation. ROS has never heard of these best practices you speak of.
213242

0 commit comments

Comments
 (0)