Implements functions for High Precision GNSS Reference station devices.
More...
#include <node.h>
Implements functions for High Precision GNSS Reference station devices.
Definition at line 1181 of file node.h.
◆ anonymous enum
Status of device time mode.
Enumerator |
---|
INIT | Initialization mode (before configuration)
|
FIXED | Fixed mode (should switch to time mode almost immediately)
|
DISABLED | Time mode disabled.
|
SURVEY_IN | Survey-In mode.
|
TIME | Time mode, after survey-in or after configuring fixed mode.
|
Definition at line 1278 of file node.h.
◆ callbackNavSvIn()
void HpgRefProduct::callbackNavSvIn |
( |
ublox_msgs::NavSVIN |
m | ) |
|
Update the last received NavSVIN message and call diagnostic updater.
When the survey in finishes, it changes the measurement & navigation rate to the user configured values and enables the user configured RTCM messages. Publish received Nav SVIN messages if enabled.
- Parameters
-
Definition at line 1557 of file node.cpp.
◆ configureUblox()
bool HpgRefProduct::configureUblox |
( |
| ) |
|
|
virtual |
Configure the u-blox Reference Station settings.
Configure the TMODE3 settings and sets the internal state based on the TMODE3 status. If the TMODE3 is set to fixed, it will configure the RTCM messages.
- Returns
- true if configured correctly, false otherwise
Implements ublox_node::ComponentInterface.
Definition at line 1486 of file node.cpp.
◆ getRosParams()
void HpgRefProduct::getRosParams |
( |
| ) |
|
|
virtual |
Get the ROS parameters specific to the Reference Station configuration.
Get the TMODE3 settings, the parameters it gets depends on the tmode3 parameter. For example, it will get survey-in parameters if the tmode3 parameter is set to survey in or it will get the fixed parameters if it is set to fixed.
Implements ublox_node::ComponentInterface.
Definition at line 1448 of file node.cpp.
◆ initializeRosDiagnostics()
void HpgRefProduct::initializeRosDiagnostics |
( |
| ) |
|
|
virtual |
◆ setTimeMode()
bool HpgRefProduct::setTimeMode |
( |
| ) |
|
|
protected |
Set the device mode to time mode (internal state variable).
Configure the RTCM messages and measurement and navigation rate.
Definition at line 1573 of file node.cpp.
◆ subscribe()
void HpgRefProduct::subscribe |
( |
| ) |
|
|
virtual |
◆ tmode3Diagnostics()
Update the TMODE3 diagnostics.
Updates the status of the survey-in if in survey-in mode or the RTCM messages if in time mode.
Definition at line 1595 of file node.cpp.
◆ arp_position_
std::vector<float> ublox_node::HpgRefProduct::arp_position_ |
|
protected |
Antenna Reference Point Position [m] or [deg].
Used only for fixed mode
Definition at line 1254 of file node.h.
◆ arp_position_hp_
std::vector<int8_t> ublox_node::HpgRefProduct::arp_position_hp_ |
|
protected |
Antenna Reference Point Position High Precision [0.1 mm] or [deg * 1e-9].
Used only for fixed mode
Definition at line 1257 of file node.h.
◆ fixed_pos_acc_
float ublox_node::HpgRefProduct::fixed_pos_acc_ |
|
protected |
Fixed Position Accuracy [m].
Used only for fixed mode
Definition at line 1260 of file node.h.
◆ last_nav_svin_
ublox_msgs::NavSVIN ublox_node::HpgRefProduct::last_nav_svin_ |
|
protected |
The last received Nav SVIN message.
Definition at line 1243 of file node.h.
◆ lla_flag_
bool ublox_node::HpgRefProduct::lla_flag_ |
|
protected |
True if coordinates are in LLA, false if ECEF.
Used only for fixed mode
Definition at line 1251 of file node.h.
◆ mode_
enum { ... } ublox_node::HpgRefProduct::mode_ |
Status of device time mode.
◆ sv_in_acc_lim_
float ublox_node::HpgRefProduct::sv_in_acc_lim_ |
|
protected |
Survey in accuracy limit [m].
This variable is used only if TMODE3 is set to survey-in.
Definition at line 1275 of file node.h.
◆ sv_in_min_dur_
uint32_t ublox_node::HpgRefProduct::sv_in_min_dur_ |
|
protected |
Measurement period used during Survey-In [s].
This variable is used only if TMODE3 is set to survey-in.
Definition at line 1272 of file node.h.
◆ svin_reset_
bool ublox_node::HpgRefProduct::svin_reset_ |
|
protected |
Whether to always reset the survey-in during configuration.
If false, it only resets survey-in if there's no fix and TMODE3 is disabled before configuration. This variable is used only if TMODE3 is set to survey-in.
Definition at line 1269 of file node.h.
◆ tmode3_
uint8_t ublox_node::HpgRefProduct::tmode3_ |
|
protected |
TMODE3 to set, such as disabled, survey-in, fixed.
Definition at line 1246 of file node.h.
The documentation for this class was generated from the following files: