Ports
state (out)
Data structure
|
info (out)
Data structure
|
Services
get_param (attribute)
Outputs
|
get_last_fix (attribute)
Outputs
|
connect (activity)
Inputs
|
Throws
|
Context
|
Connect to the hardware
disconnect (activity)
Throws
|
Context
|
Disconnect from the hardware
set_rtk_port (activity)
Inputs
|
Throws
|
Context
|
Configure the UDP port for RTK correction streaming.
RTK data (see send_rtcm (activity)) is streamed from this source UDP port
.
Requests for RTK data from remote components (see connect_rtk (activity))
should thus be made to this port number.
connect_rtk (activity)
Inputs
|
Throws
|
Context
|
Receive RTK data from a remote gps-genom3
component.
In mobile station mode, the component can be configured to accept
RTK data from a remote gps-genom3
component configured in base
station mode.
This service asks the remote host
identified by its
name or IP number (in number-and-dots notation) and the port
number (see set_rtk_port (activity)) to start streaming any available RTK
data to this component.
Note
|
If RTK data is received from an unknown host that was not explicitly connected with this service, the component will print a diagnostic message on stderr and ignore the data. |
set_reference (function)
Inputs
|
Throws
|
Set ENU reference position
get_reference (attribute)
Outputs
|
Get ENU reference position
unfix (activity)
Throws
|
Context
|
Unset FIX mode
fix (activity)
Inputs
|
Throws
|
Context
|
Set FIX mode at given position
fix_here (activity)
Inputs
|
Outputs
|
Throws
|
Context
|
Average current position and set FIX mode
send_rtcm (activity)
Inputs
|
Throws
|
Context
|
Send new RTCM corrections.
The RTCM message identified by rtcmid
is streamed on the UDP port
set in set_rtk_port (activity) (by default 8083) at the frequency
corresponding to period
.
The messages are sent at UTC timestamps multiple of period
,
plus an offset
. For instance, to stream data at 1 second afer
every minute, set the period
to 60 and offset
to 1.
Not all periods and messages are supported by all devices. In case
of an unsupported setting, the e_sys
/EINVAL
exception will be
raised.
Note
|
RTCM messages will only be streamed when the device is configured in base station mode. This requires fixed position to be set with fix (activity) or fix_here (activity). |
cancel_rtcm (activity)
Inputs
|
Throws
|
Context
|
Stop sending and ignore certain RTCM messages.
In base station mode, the RTCM message identified by rtcmid
are
not streamed anymore. See send_rtcm (activity).
In mobile station mode, any incoming RTCM message with this rtcmid
will be silently ignored. This is useful to precisely configure
what the hardware device will see, especially to filter out messages
supported by the hardware but that are not wanted in a specific
configuration. It is also useful to suppress diagnostic messages
about incoming messages that are not supported by the hardware.
enable_rtcm (function)
Inputs
|
Throws
|
Accept certain RTCM messages.
In mobile station mode, accept incoming RTCM message with this
rtcmid
. This is ony useful if a message has been previously
cancelled. See cancel_rtcm (activity).
monitor_fix (activity)
Inputs
|
Throws
|
Context
|
Monitor fix quality changes.
This service waits until the fix quality is at least target
(for
trigger
equal to monitor_above
) or worse than target
(for
trigger
equal to monitor_below
).
rtk_stats (function)
Outputs
|
Throws
|
Log RTK configuration and statistics.
log (function)
Inputs
|
Throws
|
Log solution
log_stop (function)
Stop logging
log_info (function)
Outputs
|
Show missed log entries
Tasks
io
Context
|
Throws
|