Hello,
Im trying to write my own code in order to do gps position hold to my quadcopter and later waypoint navigation. Im using the MediaTek MT3329 gps set to output NMEA and im decoding it with the tinygps library but i have some issues that i hope somebody help me.
First i had a problem with the speed threshold that the MT3329 has in default.
So i was locking in a lat/log but the quad was drifting away from this point and the gps didnt update its position. I managed to "somehow" overcome this by setting the threshold to 0.2m/s (port.print("$PMTK397,0.2*3F\r\n"); and also change the update rate to 10hz and the baud to 115200 port.print("$PMTK220,100*2F\r\n"); port.print("$PMTK251,115200*1F\r\n"); )
Now the gps hold is somehow working but the lon/lat output of the gps jumps all the time. So if i hold in a position the quad stays there for some time and after some seconds locks in another position maybe 10 meters away, after this in a position 8 meters away and so on..
I saw some videos from arducopter doing gps position hold using the same module as i, and they didnt face the problem that i describe, so there must be a way to do it with that gps module.
Any suggestions and help in order to fully understand why i face this behavor would be very helpfull.
Thanks,
Thanos
Tags:
Permalink Reply by Gary Hunkin on January 22, 2012 at 8:18am
Season Two of the Trust Time Trial (T3) Contest has now begun. The fourth round is an accuracy round for multicopters, which requires contestants to fly a cube. The deadline is April 14th.1355 members
206 members
52 members
719 members
203 members
© 2013 Created by Chris Anderson.
Powered by
