SensESP 3.0.1
Universal Signal K sensor toolkit ESP32
Loading...
Searching...
No Matches
position.h File Reference
#include <ArduinoJson.h>
#include <limits>
Include dependency graph for position.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  sensesp::Position
 Position data container. More...
 
struct  sensesp::ENUVector
 Container for local tangent plane coordinates. More...
 
struct  sensesp::AttitudeVector
 Container for attitude data. More...
 

Namespaces

namespace  sensesp
 

Functions

void sensesp::convertFromJson (JsonVariantConst src, Position &dst)
 Adds support in ArduinoJson to deserialize Position type data.
 
void sensesp::convertFromJson (JsonVariantConst src, ENUVector &dst)
 
void sensesp::convertFromJson (JsonVariantConst src, AttitudeVector &dst)
 
bool sensesp::canConvertFromJson (JsonVariantConst src, const Position &)
 Tells ArduinoJson whether the given JSON is a Position or not.
 
bool sensesp::canConvertFromJson (JsonVariantConst src, const ENUVector &)
 
bool sensesp::canConvertFromJson (JsonVariantConst src, const AttitudeVector &)
 
void sensesp::convertToJson (const Position &src, JsonVariant dst)
 
void sensesp::convertToJson (const ENUVector &src, JsonVariant dst)
 
void sensesp::convertToJson (const AttitudeVector &src, JsonVariant dst)
 

Variables

constexpr double sensesp::kInvalidDouble = std::numeric_limits<double>::lowest()
 Value used to indicate an invalid or missing altitude.
 
constexpr float sensesp::kPositionInvalidAltitude = std::numeric_limits<float>::lowest()