|
bitsim
Model, simulate, estimate and control robots in C++
|
The settings of Synchroniser. More...
#include <synchroniser.h>
Public Attributes | |
| SyncMode | mode {SyncMode::LOCKSTEP} |
| real_t | sync_period {0.05} |
| the simulated time between two exchanges [s] | |
| std::vector< std::string > | peers |
| real_t | timeout {10.0} |
| lockstep: the longest wait for a step [s] | |
| real_t | resend_period {0.1} |
| lockstep: send the last steps again this often while waiting [s] | |
| real_t | real_time_factor {1.0} |
| wall-clock: simulated seconds per wall-clock second | |
| real_t | stale_after {0.5} |
| wall-clock: a state older than this is stale [s] | |
| bool | extrapolate {true} |
| wall-clock: move the states forward by their age | |
The settings of Synchroniser.
| bool bitsim::distributed::SynchroniserConfig::extrapolate {true} |
wall-clock: move the states forward by their age
| SyncMode bitsim::distributed::SynchroniserConfig::mode {SyncMode::LOCKSTEP} |
| std::vector<std::string> bitsim::distributed::SynchroniserConfig::peers |
The other participants. In lockstep every step waits for all of them; in wall-clock mode they are reported stale until they appear, and participants not named here are accepted when they appear.
| real_t bitsim::distributed::SynchroniserConfig::real_time_factor {1.0} |
wall-clock: simulated seconds per wall-clock second
| real_t bitsim::distributed::SynchroniserConfig::resend_period {0.1} |
lockstep: send the last steps again this often while waiting [s]
| real_t bitsim::distributed::SynchroniserConfig::stale_after {0.5} |
wall-clock: a state older than this is stale [s]
| real_t bitsim::distributed::SynchroniserConfig::sync_period {0.05} |
the simulated time between two exchanges [s]
| real_t bitsim::distributed::SynchroniserConfig::timeout {10.0} |
lockstep: the longest wait for a step [s]