eschnou / ardrone-autonomy

Provides key building blocks to create autonomous flight applications with the #nodecopter (AR.Drone).
http://eschnou.github.com/ardrone-autonomy
MIT License
152 stars 53 forks source link

GPS based navigation #10

Open ayyoob opened 10 years ago

ayyoob commented 10 years ago

Thank you for the effort of creating an autonomous library. However I want to know whether if there would be any development on integrating GPS based (Through NavData) autonomous approach

eschnou commented 10 years ago

I don't have such device and have not looked into it. It should be possible to use the GPS data as input to the Kalman filter and enable autonomous navigation over long distances. I would be happy to accept a pull-request on this topic !

tolgahanturker commented 9 years ago

Hi, I am new on AR.Drone and js based APIs for it. I wonder that is it possible to use different modules togather? I want to use ardrone-autonomy to be able to spin the ardrone according to a precalculated angle which is done by mission.cw/ccw(angle) command. Also, I want to use node-ar-drone in order to get GPS data. I mean I am using these two APIs in the same js file like following:

var autonomy = require('ardrone-autonomy'); //var mission = autonomy.createMission(); var arDrone = require('ar-drone'); var client = arDrone.createClient();

//doing something...

When I comment the second line I can get the GPS data with the commands provided in node-ar-drone API. However when I uncomment the second line, I cannot get GPS data from the drone and there is no error message. Could you please help me ? Thanks..

eschnou commented 9 years ago

Autonomy is already creating a client, when you instantiate a second one they conflict. Instead, you can get the client from autonomy:

var autonomy = require('ardrone-autonomy'); var mission = autonomy.createMission(); var client = mission.client();

tolgahanturker commented 9 years ago

Thank you, i've figured it out.