PX4 Firmware
PX4 Autopilot Software http://px4.io
|
Go to the source code of this file.
Functions | |
template<typename Scalar , size_t N> | |
bool | isEqualAll (Dual< Scalar, N > a, Dual< Scalar, N > b) |
template<typename T > | |
T | testFunction (const Vector< T, 3 > &point) |
template<typename Scalar > | |
Vector< Scalar, 3 > | positionError (const Vector< Scalar, 3 > &positionState, const Vector< Scalar, 3 > &velocityStateBody, const Quaternion< Scalar > &bodyOrientation, const Vector< Scalar, 3 > &positionMeasurement, Scalar dt) |
int | main () |
Definition at line 8 of file dual.cpp.
References matrix::Dual< Scalar, N >::derivative, matrix::isEqualF(), and matrix::Dual< Scalar, N >::value.
Referenced by main().
int main | ( | ) |
Definition at line 33 of file dual.cpp.
References matrix::abs(), matrix::acos(), matrix::asin(), matrix::atan(), matrix::atan2(), matrix::ceil(), matrix::Matrix< Type, M, N >::col(), matrix::collectDerivatives(), matrix::collectReals(), matrix::cos(), matrix::Dual< Scalar, N >::derivative, dt, f(), matrix::floor(), matrix::fmod(), matrix::isEqual(), isEqualAll(), matrix::isEqualF(), matrix::IsFinite(), matrix::IsInf(), matrix::IsNan(), matrix::max(), matrix::min(), positionError(), matrix::sin(), matrix::sqrt(), matrix::tan(), TEST, testFunction(), and matrix::Dual< Scalar, N >::value.
Vector<Scalar, 3> positionError | ( | const Vector< Scalar, 3 > & | positionState, |
const Vector< Scalar, 3 > & | velocityStateBody, | ||
const Quaternion< Scalar > & | bodyOrientation, | ||
const Vector< Scalar, 3 > & | positionMeasurement, | ||
Scalar | dt | ||
) |
Definition at line 23 of file dual.cpp.
References matrix::Quaternion< Type >::conjugate(), and dt.
Referenced by main().