Set the output rate for the requested message types (MessageType::SET_MESSAGE_RATE, version 1.0).
Multiple message rates can be configured with a single command if wild cards are used for the interface, protocol, or message ID. When multiple messages are specified, the following behaviors apply:
Setting all the messages on an interface to MessageRate::DEFAULT will also restore the default *_OUTPUT_DIAGNOSTICS_MESSAGES
configuration option value for that interface. See ConfigType.
To restore the default configuration on UART1 for all message types across all supported protocols, specify the following:
To restore the default configuration on UART1 for all NMEA message types, specify the following:
To change the rate of all NMEA message types to 1 Hz on UART1, specify the following:
To change the rate of all messages to their max rate on UART1, specify the following:
To change the rate of all messages to their max rate on UART1, specify the following:
The device will respond with a CommandResponseMessage indicating whether or not the request succeeded.
Definition at line 2373 of file configuration.h.
#include <point_one/fusion_engine/messages/configuration.h>
Public Attributes | |
uint8_t | flags = 0 |
Bitmask of additional flags to modify the command. More... | |
uint16_t | message_id = ALL_MESSAGES_ID |
The ID of the desired message type (e.g., 10000 for FusionEngine MessageType::POSE messages). More... | |
InterfaceID | output_interface {TransportType::CURRENT} |
The output interface to configure. More... | |
ProtocolType | protocol = ProtocolType::INVALID |
The message protocol being configured. More... | |
MessageRate | rate = MessageRate::OFF |
The desired message rate. More... | |
Static Public Attributes | |
static constexpr uint8_t | FLAG_APPLY_AND_SAVE = 0x01 |
Flag to immediately save the config after applying this setting. More... | |
static constexpr uint8_t | FLAG_INCLUDE_DISABLED_MESSAGES = 0x02 |
Flag to apply bulk interval changes to all messages instead of just enabled messages. More... | |
static constexpr MessageType | MESSAGE_TYPE = MessageType::SET_MESSAGE_RATE |
static constexpr uint8_t | MESSAGE_VERSION = 0 |
|
staticconstexpr |
Flag to immediately save the config after applying this setting.
Definition at line 2378 of file configuration.h.
|
staticconstexpr |
Flag to apply bulk interval changes to all messages instead of just enabled messages.
Definition at line 2384 of file configuration.h.
uint8_t point_one::fusion_engine::messages::SetMessageRate::flags = 0 |
Bitmask of additional flags to modify the command.
Definition at line 2399 of file configuration.h.
uint16_t point_one::fusion_engine::messages::SetMessageRate::message_id = ALL_MESSAGES_ID |
The ID of the desired message type (e.g., 10000 for FusionEngine MessageType::POSE messages).
See NmeaMessageType for NMEA-0183 messages. If ALL_MESSAGES_ID, set the rate for all messages on the selected interface and protocol.
Definition at line 2407 of file configuration.h.
|
staticconstexpr |
Definition at line 2374 of file configuration.h.
|
staticconstexpr |
Definition at line 2375 of file configuration.h.
InterfaceID point_one::fusion_engine::messages::SetMessageRate::output_interface {TransportType::CURRENT} |
The output interface to configure.
If TransportType::ALL, set rates on all supported interfaces.
Definition at line 2390 of file configuration.h.
ProtocolType point_one::fusion_engine::messages::SetMessageRate::protocol = ProtocolType::INVALID |
The message protocol being configured.
If ProtocolType::ALL, set rates on all supported protocols.
Definition at line 2396 of file configuration.h.
MessageRate point_one::fusion_engine::messages::SetMessageRate::rate = MessageRate::OFF |
The desired message rate.
Definition at line 2410 of file configuration.h.