This demo is intended as a lightweight comparison between a simulation model of the crazyflie and the data collected through a short position-controlled flight of crazyflie.
Python script to run can be found at MicroCART/crazyflie_demos/basic_hover_demo.py. Currently on simulation_dev branch.
Matlab component can be found at controls/Sim-nonlinear-quad-example/logs_vs_simulation.slx. Ensure that quad_params.m in the same folder has been run prior to running the simulink file.
# Simple Swarm Circle
This demo is intended to show that multiple quads can be controlled at once. It has two drones hover, and then fly in vertical circles.\
\
Python script to run can be found at MicroCART/crazyflie_demos/basic_hover_demo.py. Currently on simulation_dev branch.
-[Python binding for openVR calls](https://github.com/cmbruns/pyopenvr)
-[Python binding for openVR calls](https://github.com/cmbruns/pyopenvr)
-[getting roll pitch yaw from VR pose](https://gamedev.stackexchange.com/questions/50963/how-to-extract-euler-angles-from-transformation-matrix)
-[getting roll pitch yaw from VR pose](https://gamedev.stackexchange.com/questions/50963/how-to-extract-euler-angles-from-transformation-matrix)
## Setup
## Setup
1. install steam vr from steam client (in steam store)
1. install steam vr from steam client (in steam store)
2. setup steam vr config to use multiple drivers, force null headset, and stop screen sleeping, `C:\Program Files (x86)\Steam\config\steamvr.vrsettings` or `~/.local/share/steam/config/steamvr.vrsettings`
2. setup steam vr config to use multiple drivers, force null headset, and stop screen sleeping, `C:\\Program Files (x86)\\Steam\\config\\steamvr.vrsettings` or `\~/.local/share/steam/config/steamvr.vrsettings`
```json
```json
{
{
...
@@ -41,8 +57,9 @@
...
@@ -41,8 +57,9 @@
...
...
}
}
```
```
3. Power on the Vive controller
3. Power on the Vive controller
4. Plug-in Vive controller via USB or wirelessly with a wireless dongle
4. Plug-in Vive controller via USB or wirelessly with a wireless dongle