uncrustify
4950bf3b95
uncrustify libraries/AP_GPS/AP_GPS_UBLOX.h
13 years ago
uncrustify
a8ad5f62a5
uncrustify libraries/AP_GPS/AP_GPS_MTK.h
13 years ago
uncrustify
9b3081345e
uncrustify libraries/AP_GPS/AP_GPS_Auto.h
13 years ago
uncrustify
a133b098a5
uncrustify libraries/AP_GPS/AP_GPS_SIRF.h
13 years ago
uncrustify
5c24c373d0
uncrustify libraries/AP_GPS/AP_GPS_Shim.h
13 years ago
uncrustify
cdaf2f923d
uncrustify libraries/AP_GPS/GPS.cpp
13 years ago
uncrustify
c5451b0e9b
uncrustify libraries/AP_GPS/AP_GPS_HIL.cpp
13 years ago
uncrustify
b9d3f449b9
uncrustify libraries/AP_GPS/AP_GPS_Auto.cpp
13 years ago
uncrustify
9e43a9d090
uncrustify libraries/AP_GPS/examples/GPS_MTK_test/GPS_MTK_test.pde
13 years ago
uncrustify
0f5aff35fc
uncrustify libraries/AP_GPS/examples/GPS_NMEA_test/GPS_NMEA_test.pde
13 years ago
uncrustify
1e8ea08bce
uncrustify libraries/AP_GPS/examples/GPS_AUTO_test/GPS_AUTO_test.pde
13 years ago
uncrustify
9f2d71e544
uncrustify libraries/AP_GPS/examples/GPS_UBLOX_test/GPS_UBLOX_test.pde
13 years ago
uncrustify
12b5e53ce7
uncrustify libraries/AP_GPS/examples/GPS_406_test/GPS_406_test.pde
13 years ago
Andrew Tridgell
ddf9541c0a
AP_GPS: fixed build of new MTK code
13 years ago
Craig Elder
2493ffaad1
GPS: Corrections to Media Tek GPS Driver. Change to 5Hz and SBAS
13 years ago
rmackay9
c10d01f24b
AP_GPS: revert delay callback to be "unsigned long"
13 years ago
rmackay9
8a29f47ce0
AP_GPS: replaced "int" with "int16_t" and "long" with "int32_t"
13 years ago
Andrew Tridgell
2d47bd0386
GPS: support getting raw velocity values from a UBlox
...
this may give better velocity numbers than the value from COG
13 years ago
Andrew Tridgell
618f43bef6
AP_GPS: added last_ground_speed() method
...
used for dead-reckoning in AHRS
13 years ago
Andrew Tridgell
8a6fcf998b
AP_GPS: fixed types to be stdint types
13 years ago
Andrew Tridgell
819b6459b2
GPS-UBlox: removed duplicate config messages
...
these were left over from debugging
13 years ago
Andrew Tridgell
f4faf941e2
GPS: test the more modern MTK16
13 years ago
Andrew Tridgell
37db5247cd
GPS: added velocity and acceleration components
...
used by AHRS for acceleration correction
13 years ago
rmackay9
068fe64b9b
ArduCopter HIL: changed calls to setHIL to send in time as a uint32_t (it was a float)
13 years ago
Andrew Tridgell
a851c53de4
GPS: need pgmspace.h for _write_progstr_block()
13 years ago
Andrew Tridgell
70f18289c5
GPS: fixed auto-config of UBlox setup with no UBX messages
...
if a UBlox is configured for NMEA only, with no UBX messages at all
then it would never trigger the GPS_AUTO detection. This adds a UBX
config message to the init strings that enables the NAV_SOL message
13 years ago
rmackay9
1e38b0d535
AP_GPS_NMEA: fix from Roberto Navoni to improve NMEA accuracy
13 years ago
Andrew Tridgell
f9560ef093
GPS: use the new nav_setting in a couple of the sample sketches
13 years ago
Andrew Tridgell
33a2ad7e07
GPS: add stub settings for nav_setting in the other GPS drivers
...
only Ublox supports nav_setting so far
13 years ago
Andrew Tridgell
514be604a5
GPS: added auto-configuration of UBlox GPS
...
the Ublox will now auto-configure for 5Hz with just the messages we
want. It also supports setting the navigation engine type
13 years ago
Andrew Tridgell
cbf477addd
GPS: added debug code to the main GPS class
13 years ago
Andrew Tridgell
a8bfc5d8e9
GPS: re-open the serial port with a 256 byte serial receive buffer
...
this ensures all GPS parsers have a 256 byte buffer available
13 years ago
Andrew Tridgell
296e651b30
GPS: fixed the UBLOX parser to handle unknown messages
...
the parser was broken in several ways:
1) when it received an unknown message it didn't update the ck_a and ck_b fields, so it
thought the message had a bad checksum, which meant it got out of protocol sync
2) the read() method would return false if the last message from the GPS was of an unknown type.
So we relied on the last msg always being one that we understand and want
3) the parser considered any valid UBLOX message to be 'new data', whereas we only actually get
a new fix when we get box a new position and velned message
4) the total message size per update is more than 128 bytes, but the serial port was opened
with only a 128 byte buffer, so we got corruption regularly
13 years ago
Andrew Tridgell
9c2ba2e814
GPS: tidy up the auto gps test
13 years ago
Andrew Tridgell
0f0cbce22f
GPS: fixed a race condition in the ublox driver
...
the status update comes as a separate message from the lat/lon
13 years ago
Jason Short
73e23aab2a
GPS time set to unsigned int32
13 years ago
rmackay9
dcdeae412e
ArduCopter: Another attempt at fixing the lat/lon printing bug in which small negative lattitudes or longitudes were appearing as positives.
...
Fixed in both ArduCopter Log.pde and the GPS Auto test sketch
13 years ago
rmackay9
2a216ce900
ArduCopter: fixed print_latlon bug in which it would print negative lat/lon numbers incorrectly (i.e. -1234567890 would be printed as -124.xxx).
13 years ago
Andrew Tridgell
7f8fe97889
GPS: u-center config file for 3DR Ublox
13 years ago
Andrew Tridgell
f170790fd8
GPS: fixed auto GPS test
13 years ago
Andrew Tridgell
711814085b
GPS: detect new style 3DR UBlox
13 years ago
Andrew Tridgell
08bc7f1a41
GPS: fixed the UBlox test code
13 years ago
analoguedevices
28833ed1d6
added missing #include
13 years ago
Andrew Tridgell
4dff78b9c0
GPS: expose last_fix_time
13 years ago
Andrew Tridgell
57f67ca6e3
GPS: added an acceleration estimate to the GPS driver
...
This uses the GPS ground speed to estimate acceleration
13 years ago
Andrew Tridgell
7fbfcc2721
GPS: fixed some stdint types
13 years ago
Andrew Tridgell
d90dc4d893
GPS: change back to 4Hz for MTK GPS
...
this will hopefully fix the NO_GPS problems that have been regularly
happening in recent months. I will watch the logs carefully to see if
the problem recurs
13 years ago
Andrew Tridgell
1f05e7dafb
fixed types in GPS detect code
...
using int everywhere is wasteful and non-portable
13 years ago
Randy Mackay
ed19c25a97
Arduino 1.0 - changed all #includes of "WProgram.h", "wiring.h" and "WConstants.h to "Arduino.h".
...
Modified FastSerial's write function to return size_t (number of bytes written).
13 years ago
Michael Oborne
306e2e3f7d
add gps character count.
...
this problem happens when the mtk ends up in nmea mode at 10hz. there is no 50ms window of no activity
13 years ago