eschnou/ardrone-autonomy

GPS based navigation

ayyoob opened this issue · 4 comments

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

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 !

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..

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();

Thank you, i've figured it out.