13 #ifndef PRESSURE_UTILS_H
14 #define PRESSURE_UTILS_H
BufferClass that holds mars::BufferEntryType elements and provides access methods.
Definition: buffer.h:35
The GPSInit class is an initializer for calculating the average coordinates over a given time window.
Definition: gps_utils.h:27
void Reset()
Reset resets the initialization routine.
void set_done()
set_done sets the routine to done, even if no calculation was yet performed or unsuccesful
GPSInit(const double &init_duration)
bool IsDone() const
IsDone returns the value of b_is_initialized_.
double init_duration_
window time to use measurements from
Definition: gps_utils.h:29
GpsCoordinates get_gps_mean(const std::shared_ptr< SensorAbsClass > &sensor_handle, const Buffer &buffer, const GpsCoordinates &cur_meas, const Time &cur_time)
get_gps_mean calculates the mean over the given time window using the measurements in the buffer
bool b_is_initialized_
flag that determines if any previous initialization was successful
Definition: gps_utils.h:30
bool b_verbose_
enable/disable output (currently hardcoded)
Definition: gps_utils.h:31
The GpsCoordinates struct.
Definition: gps_conversion.h:22