Update Demos authored by abeinder's avatar abeinder
# Simulation comparison
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.
# Lighthouse / VR demo
## Useful links
- [OpenVR quick start guide](https://github.com/osudrl/CassieVrControls/wiki/OpenVR-Quick-Start)
- [Steam VR API](https://valvesoftware.github.io/steamvr_unity_plugin/api/Valve.VR.TrackedDevicePose_t.html)
- [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)
## Setup
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
{
......@@ -41,6 +57,7 @@
...
}
```
3. Power on the Vive controller
4. Plug-in Vive controller via USB or wirelessly with a wireless dongle
5. start Steam VR
......
......