32#ifndef ETSI_ITS_MSGS_UTILS_IMPL_CDD_CDD_V2_1_1_GETTERS_H
33#define ETSI_ITS_MSGS_UTILS_IMPL_CDD_CDD_V2_1_1_GETTERS_H
35#include <GeographicLib/UTMUPS.hpp>
46 return ((int16_t)longitudinal_acceleration.value.value) * 1e-1;
56 return ((int16_t)lateral_acceleration.value.value) * 1e-1;
Common getter functions for the ETSI ITS Common Data Dictionary (CDD) v1.3.1 and v2....
double getLateralAcceleration(const AccelerationComponent &lateral_acceleration)
Get the lateral acceleration.
double getLongitudinalAcceleration(const AccelerationComponent &longitudinal_acceleration)
Get the longitudinal acceleration.