DUNE: Uniform Navigational Environment
2019.02.0
|
Classes | |
class | DataSample |
class | CompareSamples |
class | DataStore |
class | Router |
struct | Arguments |
struct | Task |
Functions | |
HistoricSample * | parse (DataSample *sample, double base_lat, double base_lon, long base_time) |
void | parse (const IMC::HistoricData *data, std::vector< DataSample * > &samples, std::vector< RemoteCommand * > &commands) |
Variables | |
const int | c_max_size_wifi |
const int | c_max_size_acoustic |
const int | c_max_size_iridium |
const int | c_wifi_timeout |
const int | c_acoustic_timeout |
HistoricSample* Transports::DataStore::parse | ( | DataSample * | sample, |
double | base_lat, | ||
double | base_lon, | ||
long | base_time | ||
) |
Translate a (global coordinates) Data Sample into an IMC HistoricSample message.
References Transports::DataStore::DataSample::latDegs, Transports::DataStore::DataSample::lonDegs, Transports::DataStore::DataSample::priority, Transports::DataStore::DataSample::sample, Transports::DataStore::DataSample::source, Transports::DataStore::DataSample::timestamp, and Transports::DataStore::DataSample::zMeters.
Referenced by Transports::DataStore::DataStore::addData(), and Transports::DataStore::DataStore::pollSamples().
void Transports::DataStore::parse | ( | const IMC::HistoricData * | data, |
std::vector< DataSample * > & | samples, | ||
std::vector< RemoteCommand * > & | commands | ||
) |
Given an HistoricData message, extract all samples.
References Transports::DataStore::DataSample::latDegs, Transports::DataStore::DataSample::lonDegs, Transports::DataStore::DataSample::sample, Transports::DataStore::DataSample::source, Transports::DataStore::DataSample::timestamp, and Transports::DataStore::DataSample::zMeters.
const int Transports::DataStore::c_acoustic_timeout |
const int Transports::DataStore::c_max_size_acoustic |
Referenced by Transports::DataStore::Router::forwardCommandsAcoustic().
const int Transports::DataStore::c_max_size_iridium |
Referenced by Transports::DataStore::Router::iridiumUpload().
const int Transports::DataStore::c_max_size_wifi |
Referenced by Transports::DataStore::Router::forwardCommandsWifi().
const int Transports::DataStore::c_wifi_timeout |