|
bitsim
Model, simulate, estimate and control robots in C++
|
What a participant knows of another at a step. More...
#include <synchroniser.h>
Public Attributes | |
| std::string | participant |
| uint_t | step {0} |
| real_t | time {0.0} |
| the simulated time of the state | |
| real_t | age {0.0} |
| wall-clock: how long ago it was sent [s]; 0 in lockstep | |
| bool | stale {false} |
| wall-clock: older than stale_after, or never received | |
| bool | left {false} |
| the participant has left; bodies is its last state | |
| std::vector< BodyState > | bodies |
| std::vector< real_t > | values |
| the values it sent with the state, as they were | |
What a participant knows of another at a step.
| real_t bitsim::distributed::PeerState::age {0.0} |
wall-clock: how long ago it was sent [s]; 0 in lockstep
| std::vector<BodyState> bitsim::distributed::PeerState::bodies |
| bool bitsim::distributed::PeerState::left {false} |
the participant has left; bodies is its last state
| std::string bitsim::distributed::PeerState::participant |
| bool bitsim::distributed::PeerState::stale {false} |
wall-clock: older than stale_after, or never received
| uint_t bitsim::distributed::PeerState::step {0} |
| real_t bitsim::distributed::PeerState::time {0.0} |
the simulated time of the state
| std::vector<real_t> bitsim::distributed::PeerState::values |
the values it sent with the state, as they were