Moritz Fischer
c1222d751a
gps: Removed superfluous include.
...
* This file doesn't need boost::container::vector.
Tested-by: Marcus D. Leech <mleech@ripnet.com>
Signed-off-by: Moritz Fischer <moritz@ettus.com>
2014-03-23 20:27:19 +01:00
Ben Hilburn
ff1546f813
Pushing the bulk of UHD-3.7.0 code.
2014-02-14 12:05:07 -08:00
Ben Hilburn
178ac3f1c9
Merging USRP X300 and X310 support!!
2014-02-04 11:04:07 -08:00
Ben Hilburn
6f26689e35
cleaning up gpsdo docs
2013-12-19 16:13:41 -08:00
Ben Hilburn
9e47ad607b
Squashed merge of Coverity fixes.
2013-11-27 12:11:23 -08:00
Josh Blum
f01d1a28e2
gps: only enable SERV:TRAC when requested
2013-04-09 21:20:26 -05:00
Josh Blum
31f0e964aa
gps: flush uart buffer before waiting for time
...
This addresses a bug only on the master branch.
Also turn off the servo sensor, its too long a delay.
We will need to conditionally enable this in a later commit.
2013-04-09 20:34:23 -05:00
Moritz Fischer
a288d3bb2f
gps_ctrl: Lower the number of retries to two when waiting for the time.
2012-11-13 14:47:06 -08:00
Moritz Fischer
99c9949eb1
gps_ctrl.cpp: Partially rewritten, to use caching instead of throwing
...
away the 'wrong' messages.
The old way to do this was when a sensor was requested, to wait for the
corresponding NMEA message to pass by, throwing away all the 'wrong'
ones in the meantime. However, this leads to problems if the user
requests combinations that are based on the same NMEA string.
To avoid this we now try to cache the strings for a 'freshness' period.
2012-10-19 16:45:50 -07:00
Nick Foster
efdc76514d
Removed GPGSA from GPS driver since Firefly doesn't actually support it.
2012-05-16 10:54:09 -07:00
Josh Blum
902818f50b
uhd: removed wax and props utils
2011-11-07 16:53:47 -08:00
Josh Blum
0d9421b7ab
gps: use absolute timeout for communication
2011-09-28 10:32:05 -07:00
Josh Blum
25494489bf
usrp2: uart/udp work in host and fw, working
2011-09-28 10:32:05 -07:00
Nick Foster
8009a340f7
gps_ctrl: make GPSDO parsing more robust, add retries
2011-08-11 13:32:47 -07:00
Nick Foster
cbd7ff3ad3
GPS ctrl fixes for uncooperative Firefly devices (Bastien Auneau)
2011-08-05 10:17:50 -07:00
Nick Foster
ab63a54088
Refactor GPS code to duplicate way less stuff, make members private
2011-06-17 16:01:24 -07:00
Nick Foster
9101804e6b
USRP2/N210: set VITA time even if GPS not locked. harmless to do so.
2011-06-17 15:13:09 -07:00
Nick Foster
6f6364f73a
UHD: implemented gps_locked sensor. usrp2 mboard doesn't init VITA time if time not valid.
2011-06-17 15:09:16 -07:00
Nick Foster
7af605b247
UHD: GPS work.
...
* Rewrote NMEA acquisition to be more general
* Added GPS sensors instead of member fns for data access
* GPS sensors added to mboard sensors to keep ABI compat
* VITA time initialized to GPS time on init
2011-06-17 13:35:40 -07:00
Josh Blum
09be0518ce
uhd: removed more iostream stuff from usrp* implementations
2011-05-04 19:53:01 -07:00
Nick Foster
4d73aae463
GPS parser fixes for get_time.
2011-04-29 09:58:55 -07:00
Nick Foster
a4aa89ed5d
USRP2: Added GPS time support to the sensors interface. gps_time sensor returns epoch time as time_t. Untested.
2011-04-29 09:58:54 -07:00
Josh Blum
95b966a599
uhd: update copyright headers with automated script
2011-03-23 18:48:30 -07:00
Josh Blum
4357f5d3c0
uhd: replaced instanced of std::exception with the uhd exceptions
2011-02-24 16:35:29 -08:00
Josh Blum
16f08844d7
uhd: renamed the assert header to assert has
...
only the assert has implementation is in this header
uhd assert throw moved to the exception header
updated code base includes to match
2011-02-24 14:54:24 -08:00
Nick Foster
bf25ec24ad
N210: longer GPS timeout, removed try/catch in safe_recv loop (since it can't throw any more)
2011-01-25 14:12:39 -08:00
Nick Foster
330a014dfc
next: generalized the GPS interface to any USRP device. just give it a function to write/read strings to UART.
...
not sure if i'm happy with the interface; maybe inheriting is cleaner. this works though.
gps interface for usrp2 is disabled right now in mboard_impl.
2011-01-17 22:51:14 -08:00