daraosn / oculus-drone

Oculus Rift + AR Drone 2.0 controller with live video feed and head-motion controller.
MIT License
146 stars 37 forks source link

Experence so-far and lessons learnt #6

Open johnkattenhorn opened 10 years ago

johnkattenhorn commented 10 years ago

Hi,

It's my birthday today so as I gift to myself and made sometime in my schedule to try this fantastic project out.

Environment Windows 8.1 / Dell Precision m9600 / Oculus v1 SDK / AD Drone 2 v 2.4.7 firmware.

1) Install - Easy Enough if you know a little about node.js. 2) Use Chrome or Firefox / IE won't work (I'm guessing this is down to no support for getuserMedia is the issue here).

Start Procedure:

1) Power Up and Connect PC to AD Drone Wireless. 1) Start Oculus-Rest 2) Start Oculus-Drone 3) Press F11 (Full Screen), O enable Oculus View.

At this point things get interesting.

1) (Rarely) Sometimes I can find there's no data being read from the Oculus (no green dot), and no output in the oculus-rest output window. 2) More Often - See the Drone video feed through Oculus and movement being detected, Drone refuses to accept start command, checking the output window of Oculus-Drone looks like some sort of race condition with output x,y,x all returning 0 and ploughing up the screen, other times sensible looking data appearing but still no start by pressing enter.

I've only actually got it to take off a couple of times in an hour so far. I'm wondering if my start-up procedure was different. Tried removing my flight recorder and doing a reset on the drone made no different that I could tell.

Anyway I hope this helps other get going and I'm going to study the code later today to see if I can contribute (JavaScript being my second or third language) and check if I'm running the latest firmware on the drone :-)

johnkattenhorn commented 10 years ago

OK, I think I've cracked the enable to start; you can only take off before going to Oculus mode (which makes sense otherwise you might crash putting the Oculus on !). I had someone helping me.

The flight experience is so cool, I find I could actually me more accurate than when I'm flying it via the AR Freeflight on the tablets etc.

I'm now thinking about how could I integrate say an Xbox controller to help control height.... Time too look at the code :-)