navlie.lib.states.StampedValue¶
- class navlie.lib.states.StampedValue(value: ndarray, stamp: float | None = None, state_id: Any | None = None, covariance=None)¶
Bases:
VectorInput
- Parameters:
value (np.ndarray) – Value of of the input.
stamp (float, optional) – timestamp, by default None
state_id (Any, optional) – optional container for identifying information, can be useful to associate an input with a state. This has no functionality unless the user uses it in a process model, or something else. By default None.
covariance (np.ndarray, optional) – covariance matrix describing additive noise on the input, by default None
- value¶
Variable containing the data values
- Type:
- copy() → VectorInput¶
Returns a copy of the instance with fully seperate memory.
- covariance¶
Covariance matrix of the object. Has shape (dof, dof)
- Type:
np.ndarray
- plus(w: ndarray) → VectorInput¶
Generic addition operation to modify the internal value.
- Parameters:
w (np.ndarray) – to be added to the instance’s .value
- state_id¶
Arbitrary optional identifier, possible to “assign” to a state.
- Type:
Any