-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant receive GPS data #111
Comments
What version of the firmware is your drone running? |
Its 2.4.12 |
It might be a few days before I have a chance to test, but I wonder if it's a firmware version issue--just because I've seen something similar happen before when a new version of firmware started sending GPS data in a different format. I think 2.4.8 is known to work with the GPS, but you might have to hunt around to find a copy of old firmwares. |
I have downgraded to 2.4.8 but still the same output |
What kind of ardrone are you using? On Thu, Dec 18, 2014 at 3:54 AM, Shehroze Bhatti [email protected]
Robert Talamantez |
Its a normal parrot ardrone 2.0 |
The normal ardrone 2.0 doesn't come with gps - only the gps edition comes On Fri, Dec 19, 2014 at 1:11 AM, Shehroze Bhatti [email protected]
Robert Talamantez |
I did the test with the flight recorder |
what prints out when you log out the other nav data? On Sat, Dec 20, 2014 at 2:51 AM, Shehroze Bhatti [email protected]
Robert Talamantez |
The other nav data prints out fine |
have you seen the issue "Activate GPS navdata #75"? "Even with the Flight Recorder GPS accessory, from a cold boot the On Mon, Dec 22, 2014 at 12:26 AM, Shehroze Bhatti [email protected]
Robert Talamantez |
Hi @wiseman !!
size of data are just 12 in my program, so I'm very confused. |
Sorry, @lwsang13, this code isn't compatible with AR.Drone 1.0 and I don't know anything about it. |
Hi @wiseman, @Talamantez , Long shot since it's been so long since you've worked on this, but I can't seem to get navdata either. Following issue #75 and #94, and running the exact same firmware (2.4.8) and gps firmware (4.1.2-P6), I still get essentially empty gps navdata. When printing navadata.gps.nbSatellites at every navdata event, I get just 0's. Any ideas? Thanks |
Just to be clear, you do get navdata, and the GPS navdata, but the GPS navdata basically shows that it's not receiving any satellites and it's not getting a GPS fix? |
Hi I have tried the following code however it just returns undefined for couple of time and then doesn't output anything
whats the problem here ?
var arDrone = require('ar-drone');
var arDroneConstants = require('ar-drone/lib/constants');
var fs = require('fs');
function navdataOptionMask(c) {
return 1 << c;
}
var navdataOptions = (
navdataOptionMask(arDroneConstants.options.DEMO)
| navdataOptionMask(arDroneConstants.options.VISION_DETECT)
| navdataOptionMask(arDroneConstants.options.MAGNETO)
| navdataOptionMask(arDroneConstants.options.WIFI)
| navdataOptionMask(arDroneConstants.options.ZIMMU_3000)
);
// Connect and configure the drone
var client = new arDrone.createClient();
client.config('general:navdata_demo', true);
client.config('general:navdata_options', navdataOptions);
client.on('navdata', function(navdata){
console.log(navdata.gps);
});
The text was updated successfully, but these errors were encountered: