summaryrefslogtreecommitdiff
path: root/geoid.c
Commit message (Collapse)AuthorAgeFilesLines
* PPP-howto: technical tweak. Reference Meridian, not Prime Meridian.Gary E. Miller2018-11-291-0/+3
|
* LICENSE: Update licenses for consistency. No functional changes.Gary E. Miller2018-11-191-1/+1
|
* SPDXify the licerse references.Eric S. Raymond2018-03-081-1/+1
|
* Repair bounds-checking in geoid.c.Eric S. Raymond2017-09-081-2/+2
|
* Fix a cut and paste error found by Coverity.Eric S. Raymond2017-09-061-1/+1
|
* Use NAN to signal overrange climb/speed.Gary E. Miller2016-03-311-12/+8
| | | | I see that is what libgpsd_json.c expects.
* if isnan() climb or speed, reset them to zero.Gary E. Miller2016-03-311-2/+2
|
* Comment parameters to ecef_to_wgs84fix(), isnan() check climb/speed.Gary E. Miller2016-03-311-3/+10
| | | | | | ECEF parameters are in meters, but GPS use many different units. Skytraq is in meters U-blox is in cm.
* Limit climb/speed to merely insane in ecef_to_wgs84fix().Gary E. Miller2016-03-311-0/+13
| | | | | 10,000 m/s should be large enough for all practical purposes. That is about 22,369 mph, or mach 29 at sea level.
* Retire splint from our set of static analyzers.Eric S. Raymond2015-03-301-4/+0
| | | | | | | | | | | | | | | | | | | The proximate cause was that we've been seing emission of error messages that were randomly and disturbingly variable across different environments - notably Raspbian and Gentoo splint gave nontrivially different results than Ubuntu 14.10 splint. And this was *not* due to Ubuntu patches! A pristine splint built from the 3.1.2 tarball on Ubuntu didn't match the Raspbian and Gentoo results either. But this has been coming for a while. Easy access to more modern static analyzers such as coverity, scan-build and cppcheck has been decreasing the utility of splint, which is unmaintained and somewhat buggy and not easy to use. Only file not cleaned is ppsthread.c, because Gary has been working on it during this cleanup. All regression tests pass. PPS observed live on GR601-W.
* Nuke trailing whitespace in C source.Eric S. Raymond2012-09-071-1/+1
|
* Fix a segfault in geoid computation.Gary E. Miller2012-05-061-6/+3
| | | | | Problem found by: "Bywater, Rick (SA-1)" <rbywater@drs-ts.com> Patch by: Beat Bolli <bbolli@ewanet.ch>
* Comment typo fixes.Eric S. Raymond2012-04-201-1/+1
|
* Fix a strange type goof. Might solve an s390 port problem.Eric S. Raymond2012-04-201-1/+1
|
* Avoid a possible nunerical instability in interpolating geoid separation.Eric S. Raymond2012-04-201-5/+7
| | | | All regression tesrs pass.
* Unused-header removals by deheader. All regression tests pass.Eric S. Raymond2010-12-011-1/+0
|
* Move a misplaced indent pragma. All regression tests pass.Eric S. Raymond2010-04-141-29/+30
|
* Reindented some small utility modules. All regression tests pass.Eric S. Raymond2010-04-141-50/+63
|
* Refactoring step. Change the signature of ecef_to_wgs84fix().Eric S. Raymond2010-04-051-8/+8
| | | | All regression tests pass.
* Vanish away Id and Rev $ keywords, git won't expand them to anything useful.Eric S. Raymond2010-03-131-5/+4
|
* Copyright stamps everywhere. No code changes.Eric S. Raymond2010-03-111-2/+5
|
* Use the Vincenty formula rather than the Haversine formula for earth_distance.Chris Kuethe2010-02-271-3/+2
| | | | | | | Vincenty is much better behaved with small distances. This is a translation of http://www.movable-type.co.uk/scripts/latlong-vincenty.html While I'm here, put a couple of WGS84 constants into a header.
* Include the whole config file in gpsd.h.Eric S. Raymond2009-11-201-1/+0
| | | | | | | That is, instead of sectioning out two little config defines and putting them in. This makes gpsd.h self-copntained (e.g. in case it gets installed as a library header) and means we can get rid of most inclusions of it.
* break apart the geoid test driver from the main library.Chris Kuethe2009-01-081-35/+0
| | | | | hook it up to the makefile similar to the other _test drivers. now builds and packages cleanly
* change various PI macros to GPS_PIChris Kuethe2008-07-201-1/+1
|
* begin squashing negative zeros. Chris Kuethe2007-01-181-1/+18
| | | | | they create incorrect results from atan2() which is used in the ECEF to WGS84 transform. This means regression tests need to be rebuilt...
* Add sanity checking to wgs84_separation().Gary E. Miller2006-12-281-0/+8
|
* Rename config.h so it can be installed as gpsd_config.h...Chris Kuethe2006-10-261-0/+2
| | | | | | ...for those who want to build their own apps linked against libgps and want the headers to work. Works on OpenBSD, tested by Jeff Francis on OS X and Linux
* Add subversion ID tags near the beginning of every file.Chris Kuethe2006-09-211-0/+1
| | | | First line where possible, second line for scripts called with #!
* The big dead-storage elimination: we get rid of the newdata member.Eric S. Raymond2006-09-091-7/+7
| | | | All regression tests pass.
* New packet-return API using newdata and explicit merging.Eric S. Raymond2005-06-151-7/+7
|
* Zero splint warnings!Eric S. Raymond2005-06-081-8/+8
|
* 236 splint warnings.Eric S. Raymond2005-05-301-2/+4
|
* 698 splint warnings.Eric S. Raymond2005-05-271-1/+3
|
* More splint cleanup. Down to 1689 warnings.Eric S. Raymond2005-05-261-0/+2
|
* Remove bogus RAD2DEG factor in speed computation.Eric S. Raymond2005-05-051-1/+1
|
* Fixes from Rob Janssen.Eric S. Raymond2005-04-301-1/+2
|
* Apparently I had the sign on the geoid correction wrong.Eric S. Raymond2005-04-071-1/+1
|
* More geoid tweaks.Gary E. Miller2005-04-011-1/+1
|
* Make geoid separation availble to the Garmin.Gary E. Miller2005-04-011-1/+3
|
* Move all the datum-specific stuff into geoid.cEric S. Raymond2005-04-011-4/+39
|
* MacOS compiler fixes. Oleg's fix for the bilinear interpolation.Eric S. Raymond2005-04-011-2/+4
| | | | Geoid-separation code integrated for test but not for production.
* FV18 is back because we can enable ZDA if we know we're connected to one... Eric S. Raymond2005-03-311-74/+76
| | | | | | ...addressing Gary's replay bug. Refactor geoid.c properly. It's still not used.
* Oleg Gusev's geoid approximation. We're not using this yet.Eric S. Raymond2005-03-311-0/+96