Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | uhd: Remove usage of time_t (except when required) | Martin Braun | 2018-08-20 | 1 | -1/+1 |
| | | | | | | | | | | The C/C++ standards don't define what time_t is, only that it is arithmetic (and real for C11, and integral for C++). It should not be used in portable software and is only used as the return value for some libc calls. A common definition for time_t is int64_t, so we'll switch to that permanently in our own APIs. System APIs will of course stick with time_t. | ||||
* | lib: Purge use of boost::assign, except for uhd::dict | Martin Braun | 2018-05-02 | 1 | -10/+10 |
| | | | | | | | Replaced with initialization lists. Note: uhd::dict does not work with initializer lists without making changes to said data structure. This commit has no functional changes, so keeping the boost::assigns for uhd::dict. | ||||
* | lib: Purge all references to boost::this_thread::sleep() | Martin Braun | 2018-04-30 | 1 | -1/+0 |
| | | | | Replace with std::this_thread::sleep_for(). | ||||
* | gps_ctrl: Replace boost::this_thread::sleep() | Martin Braun | 2018-04-17 | 1 | -26/+32 |
| | | | | Use std::this_thread::sleep_for() instead. | ||||
* | uhd: Update license headers | Martin Braun | 2018-02-19 | 1 | -1/+2 |
| | | | | | | | All copyright is now attributed to "Ettus Research, a National Instruments company". SPDX headers were also updated to latest version 3.0. | ||||
* | Move all license headers to SPDX format. | Martin Braun | 2017-12-22 | 1 | -12/+1 |
| | |||||
* | gps_ctrl: dont use gmtime | Andrej Rode | 2017-04-12 | 1 | -14/+10 |
| | |||||
* | gps_ctrl: yeah windows, my friend | Andrej Rode | 2017-04-12 | 1 | -1/+4 |
| | |||||
* | usrp: remove gregorian and lexical casting in gps_ctrl | Andrej Rode | 2017-04-12 | 1 | -12/+14 |
| | |||||
* | utils: introduce new logging API and remove msg API | Andrej Rode | 2017-02-20 | 1 | -10/+10 |
| | |||||
* | uhd: replace BOOST_FOREACH with C++11 range-based for loop | Andrej Rode | 2017-02-10 | 1 | -2/+1 |
| | | | | | Note: This is the first commit that uses for-range, and range-based for-loops are now usable for UHD development. | ||||
* | GPSDO: Improved detection | michael-west | 2017-02-01 | 1 | -7/+17 |
| | | | | | - Added re-sending of *IDN? command if no reply or unexpected string (i.e. during GPSDO firmware initialization) - Shortened detection timeout to return sooner if no GPSDO present (faster initialization) | ||||
* | GPS: Improvements to query_gpsdo_sensor | michael-west | 2017-01-30 | 1 | -5/+5 |
| | | | | | | | - Reordered operations to make sure setting clock and time sources is first - Reduced delay waiting for ref lock - Added wait for GPSDO warm up - Made warning messages in gps_ctrl function into log messages to prevent unnecessary output | ||||
* | Remove all boost:: namespace prefix for uint32_t, int32_t etc. (fixed-width ↵ | Martin Braun | 2016-11-08 | 1 | -3/+3 |
| | | | | | | | | types) - Also removes all references to boost/cstdint.hpp and replaces it with stdint.h (The 'correct' replacement would be <cstdint>, but not all of our compilers support that). | ||||
* | gps: Removed redundant error message in case no GPS present | Martin Braun | 2016-09-27 | 1 | -2/+1 |
| | | | | | Signed-off-by: Martin Braun <martin.braun@ettus.com> Reviewed-By: Moritz Fischer <moritz.fischer@ettus.com> | ||||
* | Fix TXCO GPSDO recognition | michael-west | 2016-09-08 | 1 | -1/+3 |
| | |||||
* | gps_ctrl: Multiple fixes | michael-west | 2016-09-02 | 1 | -115/+125 |
| | | | | | | | - Check for updates if cached data is older than one millisecond - Removed timeouts when checking for updated data from UART - Subscribe to SERVO:TRACe message every second and process like NMEA strings - Refactored code for simplification | ||||
* | Add thread safety to gps_ctrl cached sensors | michael-west | 2016-09-02 | 1 | -0/+3 |
| | |||||
* | gps_ctrl: code cleanup | Nicholas Corgan | 2015-08-14 | 1 | -11/+11 |
| | |||||
* | Added missing pure virtual destructors to base classes | Nicholas Corgan | 2014-09-01 | 1 | -0/+4 |
| | |||||
* | Updated copyright year. | michael-west | 2014-07-17 | 1 | -1/+1 |
| | |||||
* | - Changed variables from uint8_t to uint32_t so parsing of hex strings would ↵ | michael-west | 2014-07-17 | 1 | -3/+3 |
| | | | | work properly. | ||||
* | Addressing comments from review. | michael-west | 2014-07-17 | 1 | -8/+12 |
| | | | | | | - Corrected types of some variables to be boost types. - Removed debugging code accidentally left in. - Changed some compiled out error messages to log messages. | ||||
* | Fix for BUG #469: Bad/Empty GPS NMEA strings returned when the queries are ↵ | michael-west | 2014-07-17 | 1 | -5/+34 |
| | | | | | | | | | made in a random wait iterative fashion Fix for BUG #460: X300: GPGGA sensor most often empty, while RMC is usually OK - Added checksum verification of NMEA strings - Improved handling of short or malformed strings - Fixed GPSDO data synchronization between X300 firmware and host | ||||
* | BUG #460: X300: GPGGA sensor most often empty, while RMC is usually OK | michael-west | 2014-05-06 | 1 | -1/+8 |
| | | | | | | - It was found that strings containing only a newline character were being returned by N-series and X-series devices. - Added better handling of strings received under 6 bytes. - Added erasing of end of line characters. | ||||
* | gps: Removed superfluous include. | Moritz Fischer | 2014-03-23 | 1 | -1/+0 |
| | | | | | | | * This file doesn't need boost::container::vector. Tested-by: Marcus D. Leech <mleech@ripnet.com> Signed-off-by: Moritz Fischer <moritz@ettus.com> | ||||
* | Pushing the bulk of UHD-3.7.0 code. | Ben Hilburn | 2014-02-14 | 1 | -22/+25 |
| | |||||
* | Merging USRP X300 and X310 support!! | Ben Hilburn | 2014-02-04 | 1 | -17/+20 |
| | |||||
* | cleaning up gpsdo docs | Ben Hilburn | 2013-12-19 | 1 | -21/+19 |
| | |||||
* | Squashed merge of Coverity fixes. | Ben Hilburn | 2013-11-27 | 1 | -2/+0 |
| | |||||
* | gps: only enable SERV:TRAC when requested | Josh Blum | 2013-04-09 | 1 | -2/+11 |
| | |||||
* | gps: flush uart buffer before waiting for time | Josh Blum | 2013-04-09 | 1 | -1/+2 |
| | | | | | | 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. | ||||
* | gps_ctrl: Lower the number of retries to two when waiting for the time. | Moritz Fischer | 2012-11-13 | 1 | -1/+1 |
| | |||||
* | gps_ctrl.cpp: Partially rewritten, to use caching instead of throwing | Moritz Fischer | 2012-10-19 | 1 | -25/+109 |
| | | | | | | | | | | 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. | ||||
* | Removed GPGSA from GPS driver since Firefly doesn't actually support it. | Nick Foster | 2012-05-16 | 1 | -5/+1 |
| | |||||
* | uhd: removed wax and props utils | Josh Blum | 2011-11-07 | 1 | -2/+1 |
| | |||||
* | gps: use absolute timeout for communication | Josh Blum | 2011-09-28 | 1 | -6/+6 |
| | |||||
* | usrp2: uart/udp work in host and fw, working | Josh Blum | 2011-09-28 | 1 | -10/+22 |
| | |||||
* | gps_ctrl: make GPSDO parsing more robust, add retries | Nick Foster | 2011-08-11 | 1 | -32/+51 |
| | |||||
* | GPS ctrl fixes for uncooperative Firefly devices (Bastien Auneau) | Nick Foster | 2011-08-05 | 1 | -0/+7 |
| | |||||
* | Refactor GPS code to duplicate way less stuff, make members private | Nick Foster | 2011-06-17 | 1 | -120/+101 |
| | |||||
* | USRP2/N210: set VITA time even if GPS not locked. harmless to do so. | Nick Foster | 2011-06-17 | 1 | -1/+1 |
| | |||||
* | UHD: implemented gps_locked sensor. usrp2 mboard doesn't init VITA time if ↵ | Nick Foster | 2011-06-17 | 1 | -0/+22 |
| | | | | time not valid. | ||||
* | UHD: GPS work. | Nick Foster | 2011-06-17 | 1 | -48/+77 |
| | | | | | | | * 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 | ||||
* | uhd: removed more iostream stuff from usrp* implementations | Josh Blum | 2011-05-04 | 1 | -5/+6 |
| | |||||
* | GPS parser fixes for get_time. | Nick Foster | 2011-04-29 | 1 | -5/+5 |
| | |||||
* | USRP2: Added GPS time support to the sensors interface. gps_time sensor ↵ | Nick Foster | 2011-04-29 | 1 | -0/+4 |
| | | | | returns epoch time as time_t. Untested. | ||||
* | uhd: update copyright headers with automated script | Josh Blum | 2011-03-23 | 1 | -1/+1 |
| | |||||
* | uhd: replaced instanced of std::exception with the uhd exceptions | Josh Blum | 2011-02-24 | 1 | -1/+1 |
| | |||||
* | uhd: renamed the assert header to assert has | Josh Blum | 2011-02-24 | 1 | -3/+2 |
| | | | | | | | | only the assert has implementation is in this header uhd assert throw moved to the exception header updated code base includes to match |