8#ifndef SEN_UTIL_DR_DETAIL_DEAD_RECKONER_IMPL_H
9#define SEN_UTIL_DR_DETAIL_DEAD_RECKONER_IMPL_H
25template <
typename T,
typename =
void>
31struct HasCommitTime<T,
std::void_t<decltype(std::declval<const T&>().asObject().getLastCommitTime())>>: std::true_type
139 return {value.
x, value.
y, value.
z};
151 return {value.
x, value.
y, value.
z};
157 return {value.
x, value.
y, value.
z};
163 return {value.
x, value.
y, value.
z};
169 return {value.x, value.y, value.z};
175 return {value.psi, value.theta, value.phi};
182 return {value.xVelocity, value.yVelocity, value.zVelocity};
189 return {value.xAcceleration, value.yAcceleration, value.zAcceleration};
196 return {value.xAngularVelocity, value.yAngularVelocity, value.zAngularVelocity};
AccelerationMetersPerSecondSquared z
Definition algorithms.h:154
LengthMeters y
Definition algorithms.h:121
AngularVelocityRadiansPerSecond z
Definition algorithms.h:162
VelocityMetersPerSecond y
Definition algorithms.h:145
AccelerationMetersPerSecondSquared y
Definition algorithms.h:153
AccelerationMetersPerSecondSquared x
Definition algorithms.h:152
AngularVelocityRadiansPerSecond y
Definition algorithms.h:161
AngleRadians theta
Definition algorithms.h:137
LengthMeters x
Definition algorithms.h:120
VelocityMetersPerSecond x
Definition algorithms.h:144
AngleRadians psi
Definition algorithms.h:136
AngleRadians phi
Definition algorithms.h:138
LengthMeters z
Definition algorithms.h:122
VelocityMetersPerSecond z
Definition algorithms.h:146
AngularVelocityRadiansPerSecond x
Definition algorithms.h:160
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:187
Velocity fromRprVelocity(const T &value)
Translates to a Velocity struct from a RPR Velocity.
Definition dead_reckoner_impl.h:180
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:137
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:194
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:173
Location fromRprLocation(const T &value)
Translates to a Location struct from a RPR WorldLocation.
Definition dead_reckoner_impl.h:167
Acceleration struct.
Definition algorithms.h:151
AngularAcceleration struct.
Definition algorithms.h:167
AngularVelocity struct.
Definition algorithms.h:159
Dead Reckoning configuration.
Definition algorithms.h:80
GeodeticSituation structure with the following parameters:
Definition algorithms.h:208
World location in geodetic coordinates.
Definition algorithms.h:127
World Location struct.
Definition algorithms.h:119
Orientation struct.
Definition algorithms.h:135
Situation structure with the following parameters:
Definition algorithms.h:176
Velocity struct.
Definition algorithms.h:143
Definition dead_reckoner_impl.h:18
True when T can report when its data was committed. Generated RPR types can, through asObject(); a ha...
Definition dead_reckoner_impl.h:27