Lightweight container for states used for continuous-time estimation and interpolation.
StateData stores the keys identifying the pose and velocity variables in a factor graph together with the associated timestamp. It is intentionally minimal and used primarily for ordering, lookup and grouping of states when constructing interpolation queries.
|
|
| StateData ()=default |
| | Default constructor.
|
| | StateData (Key pose_in, Key velocity_in, double time_in) |
| | Construct a StateData from explicit keys and timestamp.
|
| bool | operator< (const StateData &other) const |
| | Strict-weak ordering: (time, pose, velocity) ascending.
|
| bool | operator> (const StateData &other) const |
| | Strict-weak ordering: (time, pose, velocity) descending.
|
|
bool | operator< (double time) const |
| | Returns true if this state's timestamp is before time.
|
|
bool | operator> (double time) const |
| | Returns true if this state's timestamp is after time.
|
| bool | operator== (const StateData &other) const |
| | Equality compares the identifying keys (pose and velocity).
|