ardrone-autonomy icon indicating copy to clipboard operation
ardrone-autonomy copied to clipboard

GPS based navigation

Open ayyoob opened this issue 10 years ago • 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

ayyoob avatar Aug 30 '14 19:08 ayyoob

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 !

eschnou avatar Sep 01 '14 09:09 eschnou

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

tolgahanturker avatar Aug 14 '15 20:08 tolgahanturker

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

eschnou avatar Aug 16 '15 10:08 eschnou

Thank you, i've figured it out.

tolgahanturker avatar Aug 19 '15 09:08 tolgahanturker