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
-[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
+
5
27
## Installation
6
28
7
29
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
119
141
120
142
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.
121
143
122
-
## Deployment [TODO: Complete. **NOT IMPORTANT FOR STUDENTS FOR NOW**]
144
+
## Deployment (**NOT IMPORTANT FOR STUDENTS FOR NOW**)
145
+
146
+
### Hardware setup
123
147
124
148
To deploy the controllers on real drones you must install ROS Noetic and the crazyswarm package.
125
149
@@ -190,9 +214,14 @@ pip install cfclient
190
214
conda deactivate
191
215
```
192
216
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
194
223
195
-
### Settings
224
+
####Settings
196
225
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).
197
226
198
227
The important config files are located in the crazyswarm ROS package:
@@ -207,7 +236,7 @@ As well as the launch file and Python script:
207
236
- cf_sim2real.launch
208
237
- cmdFullStateCFFirmware.py
209
238
210
-
###Fly
239
+
#### Launch
211
240
212
241
>**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.
0 commit comments