49 return powf(a.
z - b.
z, 2) + powf(a.
vz - b.
vz, 2);
57 return abs(a.
z - b.
z);
65 return abs(a.
vz - b.
vz);
82 vMod(Eigen::Vector3f{state.vn, state.ve, state.vd}.norm())
86 float getMac() {
return vMod / (Constants::CO + Constants::ALPHA *
z); }
Trajectory point with timestamp and velocity module.
TimedTrajectoryPoint(const NASState &state)
float z
Vertical position [m].
static float zDistance(TrajectoryPoint a, TrajectoryPoint b)
Returns the distance in height between the two given points.
TrajectoryPoint(float z, float vz)
float vz
Vertical velocity [m/s].
static float vzDistance(TrajectoryPoint a, TrajectoryPoint b)
Returns the distance in vertical speed between the two points.
static float distanceSquared(TrajectoryPoint a, TrajectoryPoint b)
Returns the distance squared between the two points.
Driver for the VN100S IMU.