Skyward boardcore
Loading...
Searching...
No Matches
Boardcore::ReferenceValues Struct Reference

Reference values for the Apogee Detection Algorithm. More...

#include <ReferenceValues.h>

Public Member Functions

 ReferenceValues ()
 
 ReferenceValues (float altitude, float pressure, float temperature, float refLatitude=Constants::B21_LATITUDE, float refLongitude=Constants::B21_LONGITUDE, float mslPressure=Constants::MSL_PRESSURE, float mslTemperature=Constants::MSL_TEMPERATURE)
 
bool operator== (const ReferenceValues &other) const
 
bool operator!= (const ReferenceValues &other) const
 

Static Public Member Functions

static constexpr auto reflect ()
 

Public Attributes

float refAltitude
 
float refPressure
 
float refTemperature
 
float refLatitude
 
float refLongitude
 
float mslPressure = Constants::MSL_PRESSURE
 
float mslTemperature = Constants::MSL_TEMPERATURE
 

Detailed Description

Reference values for the Apogee Detection Algorithm.

Definition at line 37 of file ReferenceValues.h.

Constructor & Destructor Documentation

◆ ReferenceValues() [1/2]

Boardcore::ReferenceValues::ReferenceValues ( )
inline

Definition at line 50 of file ReferenceValues.h.

◆ ReferenceValues() [2/2]

Boardcore::ReferenceValues::ReferenceValues ( float  altitude,
float  pressure,
float  temperature,
float  refLatitude = Constants::B21_LATITUDE,
float  refLongitude = Constants::B21_LONGITUDE,
float  mslPressure = Constants::MSL_PRESSURE,
float  mslTemperature = Constants::MSL_TEMPERATURE 
)
inline

Definition at line 52 of file ReferenceValues.h.

Member Function Documentation

◆ operator!=()

bool Boardcore::ReferenceValues::operator!= ( const ReferenceValues other) const
inline

Definition at line 75 of file ReferenceValues.h.

◆ operator==()

bool Boardcore::ReferenceValues::operator== ( const ReferenceValues other) const
inline

Definition at line 64 of file ReferenceValues.h.

◆ reflect()

static constexpr auto Boardcore::ReferenceValues::reflect ( )
inlinestaticconstexpr

Definition at line 80 of file ReferenceValues.h.

Member Data Documentation

◆ mslPressure

float Boardcore::ReferenceValues::mslPressure = Constants::MSL_PRESSURE

Definition at line 47 of file ReferenceValues.h.

◆ mslTemperature

float Boardcore::ReferenceValues::mslTemperature = Constants::MSL_TEMPERATURE

Definition at line 48 of file ReferenceValues.h.

◆ refAltitude

float Boardcore::ReferenceValues::refAltitude

Definition at line 40 of file ReferenceValues.h.

◆ refLatitude

float Boardcore::ReferenceValues::refLatitude

Definition at line 43 of file ReferenceValues.h.

◆ refLongitude

float Boardcore::ReferenceValues::refLongitude

Definition at line 44 of file ReferenceValues.h.

◆ refPressure

float Boardcore::ReferenceValues::refPressure

Definition at line 41 of file ReferenceValues.h.

◆ refTemperature

float Boardcore::ReferenceValues::refTemperature

Definition at line 42 of file ReferenceValues.h.


The documentation for this struct was generated from the following file: