#define GPS_TYPE GPS_NMEA |
Add the following line to specify the expected BAUD at start-up, otherwise it will be 38400. (as I did here) #define DEFAULT_GPS_BAUD 57600 |
You're welcome!
So, does someone tried it on the UDB4? Let me know if there are any problems or if something is not clear!
Giulio
Hi Riccardo,
I've checked the datasheet and the code should work, it will ignore the "useless" messages and parse just gga & rmc. During the startup the code send some mtek commands that your GPS will ignore so it sends the default output.
You need to modify the default baud rate in options.h
You can modify the parameters of the GPS using the binary protocol, ie define a char array and send it.
If you need further help just ask!
It's interesting the idea of the cloverleaf! I've read somewhere that the reception performance of the skew planar are a little bit better, but I don't know if it's true.
Can I ask you a question? Do you follow any "tutorial" to build those antennas? There's a nice guide on rcexplorer.se under the diy tab :)
Anyway I didn't tried my code on the UDB4, let me know if works, also with an another GPS!
Best wishes,
Giulio
Sent from my Mobile phone
Hi,
This parser will parse every GGA received with the parameters (gga1 gga2 ecc..) sent in the standard order and the checksum must be after 14 commas. Same for the RMC but here the checksum must be after 12 commas.
I think this conditions are satisfied from every standard nmea message. So in theory this program should support every GPS that outputs at least gga & rmc.
Unfortunately every GPS engine supports its protocol for the configuration but if your GPS send gga & rmc by default this is not required. (it's better to disabled the unused strings to not load the cpu) You just have to set the correct baud rate in the define.
Hope this makes sense, it's early morning here and I still don't know who am I :)
Sent from my Mobile phone
int dead_reckon_clock = DR_PERIOD ;DR_PERIOD is defined further up the file as:-
Looks good to me, Pete