1#ifndef SENSESP_TYPES_POSITION_H_
2#define SENSESP_TYPES_POSITION_H_
4#include <ArduinoJson.h>
99void convertToJson(
const AttitudeVector &src, JsonVariant dst);
void convertToJson(const Nullable< T > &src, JsonVariant dst)
constexpr double kInvalidDouble
Value used to indicate an invalid or missing altitude.
bool canConvertFromJson(JsonVariantConst src, const Position &)
Tells ArduinoJson whether the given JSON is a Position or not.
constexpr float kPositionInvalidAltitude
void convertFromJson(JsonVariantConst src, Nullable< T > &dst)
Container for attitude data.
AttitudeVector(float roll, float pitch, float yaw)
Container for local tangent plane coordinates.
ENUVector(float east, float north, float up=kPositionInvalidAltitude)
Position(double latitude, double longitude, float altitude=kPositionInvalidAltitude)