Tags:
Permalink Reply by Fabien Bruning on July 21, 2010 at 11:21am
Permalink Reply by Fabien Bruning on July 21, 2010 at 11:44am
Permalink Reply by Christopher Beasley on July 21, 2010 at 6:22pm
Permalink Reply by Mario on November 6, 2010 at 5:36pm
Permalink Reply by Rick M on May 12, 2012 at 9:50pm Can someone clarify the time field in the DIYDrones custom binary protocol? Looking at the doc, it's some kind of binary-coded time, but the AP_GPS_MTK16.cpp code treats it as a long integer and does some math. The comment isn't clear, but it looks like it's trying to convert the time to millisecond time-of-day. I'm not sure why they chose to do that. It's much more useful to have a full time from some epoch for later log analysis.
The code does this:
long time_utc = _buffer.msg.utc_time;
long temp = (time_utc/10000000);
time_utc -= temp*10000000;
time = temp * 3600000;
temp = (time_utc/100000);
time_utc -= temp*100000;
time += temp * 60000 + time_utc;
It would be much easier to understand the final logged timestamp if the doc here was clear, but it seems unsure of itself, and what it's showing seems...lame.
https://docs.google.com/Doc?docid=0ASI4WbhJsiyqZDk3MndtYl8yNmczbXFm...
Permalink Reply by Rick M on May 13, 2012 at 12:06am OK, I found the protocol specification for the MTK v1.6. The times are indeed binary-coded HH:MM:SS.SSS, which I find incredibly cumbersome, but whatever.
One problem I did see was that the altitude returned from the MTK was (for my location) "1864", which, according to the docs, is 18.64 m above MSL. But in NMEA mode, it's reporting 175.5 M. I'm pretty close to sea level here, so I don't know what either mode is doing. Any ideas?
Permalink Reply by Grunt on May 14, 2012 at 6:53pm 18.64 m ...I would say that is close to sea level...Compared to 7200 feet. How many satalites did you have locked?
Season Two of the Trust Time Trial (T3) Contest has now begun. The third round was a reliablilty/aerial photography round for both planes and copters, which is now closed. Stay tuned for the next round, beginning soon.59 members
19 members
28 members
114 members
94 members
© 2012 Created by Chris Anderson.
