summaryrefslogtreecommitdiff
path: root/src/ao_gps.c
Commit message (Collapse)AuthorAge
* Add support for the SkyTraq GPS unitKeith Packard2009-10-09
| | | | | | This is a build-time option selected by hacking the Makefile at present. Signed-off-by: Keith Packard <keithp@keithp.com>
* Enable GPS degraded mode, set 10 sec degraded timeout.Keith Packard2009-08-22
| | | | | | | No reason not to let the GPS report solutions whenever it likes, let's see how this works. Signed-off-by: Keith Packard <keithp@keithp.com>
* Handle GPS satellite tracking dataKeith Packard2009-08-18
| | | | | | | | SiRF message #4 includes signal strength and GPS engine state for each of the satellites being tracked. This data is now parsed and sent to eeprom and the radio. Signed-off-by: Keith Packard <keithp@keithp.com>
* Switch to 57600 baud for GPS dataKeith Packard2009-07-18
|
* Reset GPS at boot timeKeith Packard2009-07-17
|
* Allow the GPS port to run at 4800 baud if desiredKeith Packard2009-07-17
|
* Initialize the GPS serial protocol stateKeith Packard2009-07-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Use uint8_t for comparisons to avoid int conversionsKeith Packard2009-07-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add AO_GPS_RUNNING state.Keith Packard2009-07-17
| | | | | | | | This tracks whether the GPS receiver has ever sent a valid report to the flight computer, allowing the user to tell whether the GPS receiver is working at all. Signed-off-by: Keith Packard <keithp@keithp.com>
* Use 57600 baud for GPS. Clean up gps init.Keith Packard2009-07-17
| | | | | | | | | Assume GPS is either in 4800 NMEA or 57600 SiRF mode, send just the sequence to get from 4800 NMEA to 5760 SiRF. Also, eliminate threads from the gps test program. Signed-off-by: Keith Packard <keithp@keithp.com>
* Try harder to get the GPS receiver serial link sync'd up.Keith Packard2009-07-17
| | | | | | | | We cannot assume that the GPS receiver is in any particular state when it boots, so we try to send the serial configuration at several rates and hope that it eventually sees something that it likes. Signed-off-by: Keith Packard <keithp@keithp.com>
* Split GPS data into a separate columnKeith Packard2009-07-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Fix up SiRF parsing and test code so that it actually worksKeith Packard2009-07-17
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Add host-side gps protocol testing programKeith Packard2009-07-17
|
* Add GPS speed and error data to telemetry and aoviewKeith Packard2009-06-29
| | | | | | | Having switched to the SiRF binary GPS format, the velocity and error data can now be displayed. Signed-off-by: Keith Packard <keithp@keithp.com>
* Convert GPS to SiRF binary protocol.Keith Packard2009-06-29
| | | | | | | | | This switches the GPS unit from NMEA to SiRF protocol at startup and then parses the binary data. The binary data uses a different encoding of lat/lon than the NMEA strings, and so the telemetry and eeprom data formats change with this switch. Signed-off-by: Keith Packard <keithp@keithp.com>
* Use autotools, move altos to src subdirKeith Packard2009-06-04
Signed-off-by: Keith Packard <keithp@keithp.com>