Sen API
Sen Libraries
Loading...
Searching...
No Matches
sen::util::impl Namespace Reference

Functions

template<typename T>
toRpr (const Location &value)
 Translates a Location struct to a RPR WorldLocation given as template argument.
template<typename T>
toRpr (const Orientation &value)
 Translates an Orientation struct to a RPR Orientation given as template argument.
template<typename T>
toRpr (const Velocity &value)
 Translates a Velocity struct to a RPR Velocity given as template argument.
template<typename T>
toRpr (const Acceleration &value)
 Translates an Acceleration struct to a RPR Acceleration given as template argument.
template<typename T>
toRpr (const AngularVelocity &value)
 Translates an AngularVelocity struct to a RPR AngularVelocity given as template argument.
template<typename T>
Location fromRprLocation (const T &value)
 Translates to a Location struct from a RPR WorldLocation.
template<typename T>
Orientation fromRprOrientation (const T &value)
 Translates to an Orientation struct from a RPR Orientation.
template<typename T>
Velocity fromRprVelocity (const T &value)
 Translates to a Velocity struct from a RPR Velocity.
template<typename T>
Acceleration fromRprAcceleration (const T &value)
 Translates to Acceleration struct from a RPR Acceleration.
template<typename T>
AngularVelocity fromRprAngularVelocity (const T &value)
 Translates to AngularVelocity struct from a RPR AngularVelocity.
GeodeticWorldLocation toLla (const Location &worldLocation) noexcept
 Translates from ECEF Location to Geodetic (LatLonAlt) Location.
Location toEcef (const GeodeticWorldLocation &latLonAlt) noexcept
 Translates from Geodetic (LatLonAlt) to ECEF WorldLocation coordinates.
Orientation ecefToNed (const Orientation &value, const GeodeticWorldLocation &latLonAlt) noexcept
 Translates the Orientation in euler angles from ECEF to NED using quaternions.
Velocity ecefToNed (const Velocity &value, const GeodeticWorldLocation &geodeticPosition) noexcept
 Translates Velocity vectors expressed in ECEF coordinates to NED coordinates.
Acceleration ecefToNed (const Acceleration &value, const GeodeticWorldLocation &geodeticPosition) noexcept
 Translates Acceleration vectors expressed in ECEF coordinates to NED coordinates.
Orientation nedToEcef (const Orientation &value, const GeodeticWorldLocation &latLonAlt) noexcept
 Translates the Orientation in euler angles from NED to ECEF using quaternions.
Velocity nedToEcef (const Velocity &value, const GeodeticWorldLocation &location) noexcept
 Translates a Velocity vector from NED to ECEF coordinates.
Acceleration nedToEcef (const Acceleration &value, const GeodeticWorldLocation &location) noexcept
 Translates an Acceleration vector from NED to ECEF coordinates.
Velocity bodyToNed (const Velocity &value, const Orientation &orientationNed) noexcept
 Translates Velocity vectors expressed in body coordinates to NED coordinates.
AngularVelocity bodyToNed (const AngularVelocity &value, const Orientation &orientationNed) noexcept
 Translates AngularVelocity vectors expressed in body coordinates to NED coordinates.
AngularAcceleration bodyToNed (const AngularAcceleration &value, const Orientation &orientationNed) noexcept
 Translates AngularAcceleration vectors expressed in body coordinates to NED coordinates.
Acceleration bodyToNed (const Acceleration &value, const Orientation &orientationNed) noexcept
 Translates acceleration vectors expressed in body coordinates to NED coordinates.
void smoothImpl (Situation &situation, const Situation &update, const DrConfig &config)
 Updates the smoothed situation, both in position and orientation.
LengthMeters computeDistance (const Location &start, const Location &end)
 Computes the distance between two World locations.
bool isMoving (const Velocity &velocity)
 Returns true when entity velocity is not null.
bool isAccelerating (const Acceleration &acceleration)
 Returns true when entity acceleration is not null.
bool isRotating (const AngularVelocity &omega)
 Returns true when angular velocity acceleration is not null.
AngularVelocity nedToBody (const AngularVelocity &value, const Orientation &nedOrientation) noexcept
 Translates an AngularVelocity vector from NED to body coordinates.
bool maxDistanceExceeded (const Location &newPosition, const Location &extrapolatedPosition, f64 threshold)
 Returns true when the distance threshold has been exceeded.
bool maxRotationExceeded (const Orientation &newOrientation, const Orientation &extrapolatedOrientation, f64 threshold)
 Returns true when the rotation threshold has been exceeded.