| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
The old loop didn't have any output, and had an inaccurate timeout. We
now use a timer for a 30 second timeout, and print a . every time we
poll the sensor.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Applying formatting changes to all .cpp and .hpp files in the following
directories:
```
find host/examples/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/tests/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/lib/usrp/dboard/neon/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/lib/usrp/dboard/magnesium/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/lib/usrp/device3/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/lib/usrp/mpmd/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/lib/usrp/x300/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find host/utils/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
find mpm/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
```
Also formatted host/include/, except Cpp03 was used as a the language
standard instead of Cpp11.
```
sed -i 's/ Cpp11/ Cpp03/g' .clang-format
find host/include/ -iname *.hpp -o -iname *.cpp | \
xargs clang-format -i -style=file
```
Formatting style was designated by the .clang-format file.
|
|
|
|
|
|
| |
Turning off clang formatting around the program option declarations.
clang-format makes them looks bad an unreadable because it thinks the
options are function calls or something.
|
|
|
|
|
|
|
|
|
| |
- Sets time source before checking ref_locked
(E310 uses time source for PLL)
- Checks for existence of "gpsdo" time and clock sources before setting
- Only attempts to set them if they exist
- Does not fall back on external sources
- Returns with error if neither can be set to "gpsdo"
|
|
|
|
| |
Replace with std::this_thread::sleep_for().
|
| |
|
|
|
|
| |
All warnings reported by MSVC. Mostly related to narrowing conversions.
|
|
|
|
|
|
|
| |
All copyright is now attributed to "Ettus Research, a National
Instruments company".
SPDX headers were also updated to latest version 3.0.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
- 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
|
| |
|
| |
|
|
|
|
|
|
| |
* Mismatched printf format strings
* Number truncation
* Unreferenced variables
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* Beautified the tool:
* better help messages, argument description
* removed device-specific warning about external clock source being unavailable
* if instant LO lock cannot be achieved, wait a few seconds
* try/catches don't swallow unrelated errors
* copyright year
* Since time is no longer auto-set on GPSDO, fix that
|
|
|
|
| |
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
|
| |
|
| |
|
|
|
|
|
| |
* Updated UHD documentation-related URL's after manual overhaul
* Updated NI-USRP URL to link to NI-USRP 1.3
|
|
|
|
|
|
| |
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.
|
|\ |
|
| |
| |
| |
| |
| |
| | |
The to_ticks(1.0) is a preferable way to get whole seconds
because it avoids possible rounding issues since just
getting full seconds does not account for the frac seconds.
|
|/ |
|
|
|
|
| |
checking it.
|
| |
|
| |
|
|
|
|
|
| |
* Fixed method of determining lock from sensor string output
* Fixed method of rounding for Windows compatibility
|
|
* Outputs readings of GPSDO sensors and compares UHD device time with GPS time
* Correction of URL for GPSDO installation information
|