#ifndef POSITION_FIX_HPP_BGU14Q9D #define POSITION_FIX_HPP_BGU14Q9D #include #include #include #include #include #include #include namespace vanetza { struct PositionFix { Clock::time_point timestamp; units::GeoAngle latitude; units::GeoAngle longitude; PositionConfidence confidence; ConfidentQuantity course; ConfidentQuantity speed; boost::optional> altitude; }; /** * Check if PositionFix contains a horizontal (2D) position. * At least latitude and longitude must be valid. * \param posfix position fix to be checked * \return true if horizontal position is valid */ bool has_horizontal_position(const PositionFix& posfix); } // namespace vanetza #endif /* POSITION_FIX_HPP_BGU14Q9D */