mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
stac
24a4c6b791
gps: Update GPSPosition instead of PositionActual
GPS module now updates GPSPosition UAVObject rather than the PositionActual object. The GPSPosition object is intended to be consumed only by the AHRS. The AHRS will use this (and other inputs) to compute a filtered version of the position in the PositionActual object. This commit will cause temporary breakage of the GPS functionality in the GCS until the PositionActual object is properly updated by the AHRS. Most of the GCS should continue to use PositionActual. The only exception to this might be any tool for specifically visualizing the raw GPS state. GPS.c is now only responsible for receiving a complete NMEA sentence from the COM interface. NMEA parsing is now factored out into NMEA.[ch] which is where GPSPosition is now updated based on the complete NMEA sentences obtained from the GPS. Latitude and Longitude are now encoded in a fixed-point notation in units of degrees x 10^-7 to prevent truncation of precision due to encoding into a float. git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1431 ebee16cc-31ac-478f-84a7-5cbb03baadba
Description
The LibrePilot open source project was founded in July 2015. It focuses on research and development of software and hardware to be used in a variety of applications including vehicle control and stabilization, unmanned autonomous vehicles and robotics.
Languages
C
60.6%
C++
30.8%
Fortran
2.6%
Rich Text Format
1.3%
Assembly
1.2%
Other
3.1%