Awesome
ARdrone-OculusFlight
A plugin to AR-Webflight that allows you to view and control the quadcopter with an oculus rift.
Requirements:
- Node.js
- Ardone-webflight https://github.com/eschnou/ardrone-webflight
- Oculus rift, and set on extended desktop moded
==================== Instruction:
- Install ardone-webflight
- copy the content of this plugin folder to ardone-webflight's plugin folder
- open config.js in ardone-webflight, comment out video-stream, HUD and pilot, and then add: "video-stream-oculus" // Display the video stream suitable for oculus rift stream , "pilot-oculus" // Pilot the drone using the oculus , "hud-oculus" // HUD more suitable for oculus view - recommend to turn it off-
- You can switch between oculus view and non oculus view by simply commenting out the plugin name
- Go to http://localhost:3000/
- Put your browser on the oculus screen, make sure it is horizonally correct
- Press f11 to go full screen and enjoy an oculus view of drone's camera.
======================
To enable head tracking movements:
- Download and run oculus-rest server (https://github.com/possan/oculus-rest) -there are better oculus servers out there, especially on windows ;)-
- node .
Controls are the same as the pilot plugin, only controls are overwritten by headmotions. Taking off, landing, rising and falling are the same as the pilot commands. Oculus's default position is set when you launch the program. That position is what the helicopter will believe is no actions. Forward is looking down at your feet. Back is looking up at the sky. look over your shoulders to rotate left and right. tilt your head quizzically left and right to strafe.
===================== Closure
If you can make this better, by all means do it. I'm really inexperienced in Node.js, and approximately ran my brain into the code until it worked. Oh, and I am not responsible for damages caused by using this plugin. It is difficult to control, and I suggest you test in a soft place and possibly tie a leash to the drone. This was first made for VThacks, 4/2014. Heavily referenced Oculus-drone by Diego Araos.