DUNE: Uniform Navigational Environment
2020.01.0
|
Class used to store a single sample.
All samples have a location, timestamp, priority and a message (IMC).
Public Member Functions | |
DataSample (void) | |
~DataSample (void) | |
int | serializationSize (void) |
Public Attributes | |
double | latDegs |
double | lonDegs |
double | zMeters |
double | timestamp |
int | priority |
int | source |
IMC::Message * | sample |
|
inline |
Referenced by Transports::DataStore::parse().
|
inline |
References sample.
|
inline |
double Transports::DataStore::DataSample::latDegs |
Sample global coordinates.
Referenced by Transports::DataStore::Task::consume(), and Transports::DataStore::parse().
double Transports::DataStore::DataSample::lonDegs |
Referenced by Transports::DataStore::Task::consume(), and Transports::DataStore::parse().
int Transports::DataStore::DataSample::priority |
Priority of the sample (higher priority samples are transmitted first)
Referenced by Transports::DataStore::Task::consume(), Transports::DataStore::CompareSamples::operator()(), and Transports::DataStore::parse().
IMC::Message* Transports::DataStore::DataSample::sample |
Actual data gathered at these coords.
Referenced by Transports::DataStore::DataStore::addSample(), Transports::DataStore::Task::consume(), Transports::DataStore::parse(), Transports::DataStore::DataStore::pollSamples(), and ~DataSample().
int Transports::DataStore::DataSample::source |
The system that generated this sample.
Referenced by Transports::DataStore::Task::consume(), and Transports::DataStore::parse().
double Transports::DataStore::DataSample::timestamp |
double Transports::DataStore::DataSample::zMeters |
Referenced by Transports::DataStore::Task::consume(), and Transports::DataStore::parse().