Crates.io | junco |
lib.rs | junco |
version | 1.3.0 |
source | src |
created_at | 2023-05-31 18:42:10.628083 |
updated_at | 2023-05-31 18:42:10.628083 |
description | A tool to do common gnss conversions |
homepage | |
repository | https://github.com/swift-nav/junco |
max_upload_size | |
id | 879042 |
size | 853,707 |
junco
performs common gnss conversions like ECEF to LLH, or GPS time to UTC.
A junco is a small North American bird in the New World sparrow family Passerellidae
junco
has a subcommand for each conversion, and each conversion has it's own
special set of arguments.
ecef2llh
- Converts an ECEF set of coordinates to
Latitude/Longitude/Height. By default it represents the latitude and
longitude in degrees, but it can switch to radians with the
-r
/--radians
flagllh2ecef
- Converts LLH coordinates to ECEF. By default it assumes the
latitude and longitude are given in degrees, if you want them interpretted
as radians you can use the -r
/--radians
flaggps2utc
- Converts a GPS time into UTC while taking leaps seconds into
account. By default a RFC 3339 compatible representation of the UTC time is
given, but you can customize the way the output is formatted by passing in a
format specification with the -f
/--format
option. The format string follows
the rules described hereutc2gps
- Converts a UTC time into a GPS time. You can either provide it a UTC
time to convert, or you can use the -n/--now
flag to have it convert the current
system time. When providing the time yourself it will assume a RFC 3339 representation
or you can use the same formatting option as the gps2utc
command.gps2gal
- Converts a GPS time into a Galileo timegps2bds
- Converts a GPS time into a Beidou timegal2gps
- Converts a Galileo time into a GPS timegps2bds
- Converts a Galileo time into a Beidou timebds2gps
- Converts a Beidou time into a GPS timebds2gal
- Converts a Beidou time into a Galileo timegps2glo
- Converts a GPS time into a Glonass timeglo2gps
- Converts a Glonass time into a GPS timegeoid
- Gets the geoid offset at a given location. This offset is the
difference between the WGS84 ellipsoid and the EGM2008 geoid. The given
offset is in meters.Use the --help
option for junco
or any of the subcommands to get a list of all
options and required arguments.
Use cargo-release
tool to
publish. Release process is run from the master branch, for example:
cargo release --skip-publish 1.2.0
git push origin master v1.2.0