8#ifndef SEN_UTIL_DR_DETAIL_DEAD_RECKONER_IMPL_H
9#define SEN_UTIL_DR_DETAIL_DEAD_RECKONER_IMPL_H
124 return {value.
x, value.
y, value.
z};
136 return {value.
x, value.
y, value.
z};
142 return {value.
x, value.
y, value.
z};
148 return {value.
x, value.
y, value.
z};
154 return {value.x, value.y, value.z};
160 return {value.psi, value.theta, value.phi};
167 return {value.xVelocity, value.yVelocity, value.zVelocity};
174 return {value.xAcceleration, value.yAcceleration, value.zAcceleration};
181 return {value.xAngularVelocity, value.yAngularVelocity, value.zAngularVelocity};
AccelerationMetersPerSecondSquared z
Definition algorithms.h:126
LengthMeters y
Definition algorithms.h:93
AngularVelocityRadiansPerSecond z
Definition algorithms.h:134
VelocityMetersPerSecond y
Definition algorithms.h:117
AccelerationMetersPerSecondSquared y
Definition algorithms.h:125
AccelerationMetersPerSecondSquared x
Definition algorithms.h:124
AngularVelocityRadiansPerSecond y
Definition algorithms.h:133
AngleRadians theta
Definition algorithms.h:109
LengthMeters x
Definition algorithms.h:92
VelocityMetersPerSecond x
Definition algorithms.h:116
AngleRadians psi
Definition algorithms.h:108
AngleRadians phi
Definition algorithms.h:110
LengthMeters z
Definition algorithms.h:94
VelocityMetersPerSecond z
Definition algorithms.h:118
AngularVelocityRadiansPerSecond x
Definition algorithms.h:132
Location toEcef(const GeodeticWorldLocation &latLonAlt) noexcept
Translates from Geodetic (LatLonAlt) to ECEF WorldLocation coordinates.
LengthMeters computeDistance(const Location &start, const Location &end)
Computes the distance between two World locations.
Orientation ecefToNed(const Orientation &value, const GeodeticWorldLocation &latLonAlt) noexcept
Translates the Orientation in euler angles from ECEF to NED using quaternions.
void smoothImpl(Situation &situation, const Situation &update, const DrConfig &config)
Updates the smoothed situation, both in position and orientation.
Acceleration fromRprAcceleration(const T &value)
Translates to Acceleration struct from a RPR Acceleration.
Definition dead_reckoner_impl.h:172
Velocity fromRprVelocity(const T &value)
Translates to a Velocity struct from a RPR Velocity.
Definition dead_reckoner_impl.h:165
GeodeticWorldLocation toLla(const Location &worldLocation) noexcept
Translates from ECEF Location to Geodetic (LatLonAlt) Location.
Orientation nedToEcef(const Orientation &value, const GeodeticWorldLocation &latLonAlt) noexcept
Translates the Orientation in euler angles from NED to ECEF using quaternions.
T toRpr(const Location &value)
Translates a Location struct to a RPR WorldLocation given as template argument.
Definition dead_reckoner_impl.h:122
Situation toSituation(const GeodeticSituation &value) noexcept
Converts a situation from geodetic to ECEF.
GeodeticSituation toGeodeticSituation(const Situation &value) noexcept
Converts a situation from ECEF to geodetic, building the position rotation once for all three quantit...
AngularVelocity fromRprAngularVelocity(const T &value)
Translates to AngularVelocity struct from a RPR AngularVelocity.
Definition dead_reckoner_impl.h:179
Velocity bodyToNed(const Velocity &value, const Orientation &orientationNed) noexcept
Translates Velocity vectors expressed in body coordinates to NED coordinates.
Orientation fromRprOrientation(const T &value)
Translates to an Orientation struct from a RPR Orientation.
Definition dead_reckoner_impl.h:158
Location fromRprLocation(const T &value)
Translates to a Location struct from a RPR WorldLocation.
Definition dead_reckoner_impl.h:152
Acceleration struct.
Definition algorithms.h:123
AngularAcceleration struct.
Definition algorithms.h:139
AngularVelocity struct.
Definition algorithms.h:131
Length in meters.
Definition algorithms.h:61
GeodeticSituation structure with the following parameters:
Definition algorithms.h:180
World location in geodetic coordinates.
Definition algorithms.h:99
World Location struct.
Definition algorithms.h:91
Orientation struct.
Definition algorithms.h:107
Situation structure with the following parameters:
Definition algorithms.h:148
Velocity struct.
Definition algorithms.h:115
Definition dead_reckoner_impl.h:15