|
Sen API
Sen Libraries
|
Allows the user to get the extrapolated situation of an object and to set the Spatial when the error of the extrapolation exceeds a configurable threshold. More...
#include <settable_dead_reckoner.h>
Public Types | |
| using | Parent = DeadReckonerTemplateBase<T> |
| using | SpatialVariant = typename Parent::SpatialVariant |
| using | StaticSpatial = typename Parent::StaticSpatial |
| using | FpsSpatial = typename Parent::FpsSpatial |
| using | RpsSpatial = typename Parent::RpsSpatial |
| using | RvsSpatial = typename Parent::RvsSpatial |
| using | FvsSpatial = typename Parent::FvsSpatial |
| using | RprLocation = typename Parent::RprLocation |
| using | RprOrientation = typename Parent::RprOrientation |
| using | RprVelocity = typename Parent::RprVelocity |
| using | RprAcceleration = typename Parent::RprAcceleration |
| using | RprAngularVelocity = typename Parent::RprAngularVelocity |
Public Member Functions | |
| SettableDeadReckoner (T &object, DrThreshold thresholds={}) | |
| ~SettableDeadReckoner () override=default | |
| T & | object () noexcept |
| Returns a mutable reference to the RPR object whose position is extrapolated. | |
| const T & | object () const noexcept |
| Returns a constant reference to the RPR object whose position is extrapolated. | |
| void | setSpatial (const Situation &situation) |
| Updates the spatial property of the object if the update period is exceeded or if the extrapolation error exceeds the threshold. | |
| void | setSpatial (const GeodeticSituation &situation) |
| Updates the spatial property of the object from a Geodetic Situation input if the update period is exceeded or if the extrapolation error exceeds the threshold. | |
| void | setFrozen (sen::TimeStamp timeStamp, bool value) |
| Directly sets the frozen state of the object's spatial to true/false. The timestamp is needed to coherently apply the new frozen state to the current extrapolated situation. | |
| virtual Situation | situation (sen::TimeStamp timeStamp) |
| Returns the extrapolated/smoothed situation of the object at the timestamp introduced as argument, expressed in the following coordinates: | |
| virtual GeodeticSituation | geodeticSituation (sen::TimeStamp timeStamp) |
| Returns the extrapolated/smoothed situation of the object at the timestamp introduced as argument, expressed in the following coordinates: | |
| void | updateSituation (const Situation &value) |
| Updates the last known real time Situation. A valid timestamp is needed inside the Situation provided as argument. | |
| void | updateGeodeticSituation (const GeodeticSituation &value) |
| Updates the last known real time GeodeticSituation. A valid timestamp is needed inside the GeodeticSituation provided as argument. | |
| const DrConfig & | getConfig () const noexcept |
| void | setConfig (const DrConfig &config) |
Protected Member Functions | |
| const Situation & | getSmoothSituation () const noexcept |
| void | smooth (const Situation &update) |
| void | invalidateCache () |
| bool | isSituationCached (sen::TimeStamp timeStamp) const noexcept |
| void | setCachedSituation (const Situation &situation) |
| const Situation & | getCachedSituation () const noexcept |
| bool | isGeodeticSituationCached (sen::TimeStamp timeStamp) const noexcept |
| void | setCachedGeodeticSituation (const GeodeticSituation &situation) |
| const GeodeticSituation & | getCachedGeodeticSituation () const noexcept |
Static Protected Member Functions | |
| static Situation | extrapolate (const SpatialVariant &spatial, sen::TimeStamp time, sen::TimeStamp lastTimeStamp) |
| Returns the extrapolated situation of the RPR Entity given its Spatial field and two timestamps that define a time delta for the extrapolation. | |
Allows the user to get the extrapolated situation of an object and to set the Spatial when the error of the extrapolation exceeds a configurable threshold.
| T | rpr::BaseEntityBase or a subclass of it |
| using sen::util::SettableDeadReckoner< T >::Parent = DeadReckonerTemplateBase<T> |
| using sen::util::SettableDeadReckoner< T >::SpatialVariant = typename Parent::SpatialVariant |
| using sen::util::SettableDeadReckoner< T >::StaticSpatial = typename Parent::StaticSpatial |
| using sen::util::SettableDeadReckoner< T >::FpsSpatial = typename Parent::FpsSpatial |
| using sen::util::SettableDeadReckoner< T >::RpsSpatial = typename Parent::RpsSpatial |
| using sen::util::SettableDeadReckoner< T >::RvsSpatial = typename Parent::RvsSpatial |
| using sen::util::SettableDeadReckoner< T >::FvsSpatial = typename Parent::FvsSpatial |
| using sen::util::SettableDeadReckoner< T >::RprLocation = typename Parent::RprLocation |
| using sen::util::SettableDeadReckoner< T >::RprOrientation = typename Parent::RprOrientation |
| using sen::util::SettableDeadReckoner< T >::RprVelocity = typename Parent::RprVelocity |
| using sen::util::SettableDeadReckoner< T >::RprAcceleration = typename Parent::RprAcceleration |
| using sen::util::SettableDeadReckoner< T >::RprAngularVelocity = typename Parent::RprAngularVelocity |
|
inlineexplicit |
|
overridedefault |
|
inlinenodiscardnoexcept |
Returns a mutable reference to the RPR object whose position is extrapolated.
|
inlinenodiscardnoexcept |
Returns a constant reference to the RPR object whose position is extrapolated.
|
inline |
Updates the spatial property of the object if the update period is exceeded or if the extrapolation error exceeds the threshold.
|
inline |
Updates the spatial property of the object from a Geodetic Situation input if the update period is exceeded or if the extrapolation error exceeds the threshold.
|
inline |
Directly sets the frozen state of the object's spatial to true/false. The timestamp is needed to coherently apply the new frozen state to the current extrapolated situation.
|
inlinestaticnodiscardprotectedinherited |
Returns the extrapolated situation of the RPR Entity given its Spatial field and two timestamps that define a time delta for the extrapolation.
|
nodiscardvirtualinherited |
Returns the extrapolated/smoothed situation of the object at the timestamp introduced as argument, expressed in the following coordinates:
Reimplemented in sen::util::DeadReckoner< T >.
|
nodiscardvirtualinherited |
Returns the extrapolated/smoothed situation of the object at the timestamp introduced as argument, expressed in the following coordinates:
Reimplemented in sen::util::DeadReckoner< T >.
|
inherited |
|
inherited |
Updates the last known real time GeodeticSituation. A valid timestamp is needed inside the GeodeticSituation provided as argument.
|
nodiscardnoexceptinherited |
|
inherited |
|
nodiscardprotectednoexceptinherited |
|
protectedinherited |
|
inlineprotectedinherited |
|
inlinenodiscardprotectednoexceptinherited |
|
inlineprotectedinherited |
|
inlinenodiscardprotectednoexceptinherited |
|
inlinenodiscardprotectednoexceptinherited |
|
inlineprotectedinherited |
|
inlinenodiscardprotectednoexceptinherited |