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…Continue
I was having problems with my GPS not updating and accidentally came across the posting above regarding setting the threshold. I added the string to the code and it fixed my problem. A BIG THANK you!!!"
"This is a common problem with position hold on any CA code GPS receiver. If stationary the GPs position will vary constantly.
The static position accuracy is a statitical value based on the Cep that will vary around the true position with…"
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…See More
"Thanx for the answers. I find that this speed threshold is very high for the position hold code that im working.. For example if try to lock in a lat/lot and the quad is slowly drifting away from that direction the gps dont update the data, it must…"
"You do not need to send any commands to put the unit in NMEA mode. It will power up in that mode. Unless, of course, you have leftover APM software that sends the binary mode initialization to the unit.
I do not believe the unit will do 10Hz…"
"> The problem that i have is although im getting a good fix(about 40),
> connected to 9 sats and have set a 10Hz update to the gps, i have
> to move many meters in order to get new lat and long from the gps.
Correct. To keep from…"
"Thanx for the reply Rechie.
Can u post the full code that you are working? Also what firmware version you have on the MTK?
I was able to read the gps data without changing anything in the example of the tinygps library(test_with_gps_device) and…"
"Thanx fo the answer Ritchie. I have already done what you are describing with the fast serial and its working. But in my application i also use another library that uses that HardwareSerial so im getting errors when i try to compile it.
Do you know…"
"Oops! You are right. Now its working fine.
Another question.. Is it possible to use it the TinyGps lib? If yes do i have to load another firmware?
I have a problem with the FastSerial in my project using the code that u mentioned above that why i…"
"Yes, it is because of not having gps or a magnetometer. No, there is no way to fix it without a magnetometer or gps (or some other sensor giving you a heading reference). Magnetometers will work indoors."
"@lucky13 i am also doing a similar project. i am building an automatic leveling platform using RAZOR 6DOF IMU, arduino uno board and standard servo motors. i used the offset program given in the page http://voidbot.net/razor-6dof.htmlit shows…"
"@lucky13 i am also doing a similar project. i am building an automatic leveling platform using RAZOR 6DOF IMU, arduino uno board and standard servo motors. i used the offset program given in the page http://voidbot.net/razor-6dof.html
i am getting…"