SentenceSetting¶
struct nmeasim::core::simulation::SentenceSetting ยท Library API
The settings of one registry sentence that an operator can change.
#include <nmeasim/core/simulation/sentence_scheduler.hpp>
Declared in src/core/include/nmeasim/core/simulation/sentence_scheduler.hpp (line 26)
Summary¶
Public data members
| Name | Description |
|---|---|
enabled |
Whether the sentence is emitted at all. |
talker |
Talker identifier that replaces the registry default, such as GN. |
period |
Interval between emissions in simulated time; SentenceScheduler::configure replaces zero or a negative value by the registry default. |
Public data members¶
enabled¶
bool enabled{true}
Whether the sentence is emitted at all.
Declared in src/core/include/nmeasim/core/simulation/sentence_scheduler.hpp:28
talker¶
std::string talker
Talker identifier that replaces the registry default, such as GN.
Empty means the registry default. Only a value that is_valid_talker accepts, two upper-case letters, is used; the scheduler keeps any other value as given but sends the sentence with the registry default.
Declared in src/core/include/nmeasim/core/simulation/sentence_scheduler.hpp:34
period¶
std::chrono::milliseconds period{1000}
Interval between emissions in simulated time; SentenceScheduler::configure replaces zero or a negative value by the registry default.
Declared in src/core/include/nmeasim/core/simulation/sentence_scheduler.hpp:37