|
etsi_its_messages v3.4.0
|
Getter functions for the ETSI ITS DENM (TS). More...
#include <etsi_its_msgs_utils/impl/cdd/cdd_v2-2-1_getters.h>#include <etsi_its_msgs_utils/impl/denm/denm_getters_common.h>Go to the source code of this file.
Functions | |
| uint32_t | etsi_its_denm_ts_msgs::access::getStationID (const ItsPduHeader &header) |
| Get the StationID of ItsPduHeader. | |
| double | etsi_its_denm_ts_msgs::access::getLatitude (const Latitude &latitude) |
| Get the Latitude value. | |
| double | etsi_its_denm_ts_msgs::access::getLongitude (const Longitude &longitude) |
| Get the Longitude value. | |
| double | etsi_its_denm_ts_msgs::access::getAltitude (const Altitude &altitude) |
| Get the Altitude value. | |
| double | etsi_its_denm_ts_msgs::access::getSpeed (const Speed &speed) |
| Get the vehicle speed. | |
| double | etsi_its_denm_ts_msgs::access::getSpeedConfidence (const Speed &speed) |
| Get the Speed Confidence. | |
| template<typename AccelerationMagnitude> | |
| double | etsi_its_denm_ts_msgs::access::getAccelerationMagnitude (const AccelerationMagnitude &acceleration_magnitude) |
| Get the AccelerationMagnitude value. | |
| template<typename AccelerationMagnitude> | |
| double | etsi_its_denm_ts_msgs::access::getAccelerationMagnitudeConfidence (const AccelerationMagnitude &acceleration_magnitude) |
| Get the AccelerationMagnitude Confidence. | |
| template<typename T> | |
| gm::PointStamped | etsi_its_denm_ts_msgs::access::getUTMPosition (const T &reference_position, int &zone, bool &northp) |
| Get the UTM Position defined by the given ReferencePosition. | |
| template<typename Heading> | |
| double | etsi_its_denm_ts_msgs::access::getHeadingCDD (const Heading &heading) |
| Get the Heading value. | |
| template<typename Heading> | |
| double | etsi_its_denm_ts_msgs::access::getHeadingConfidenceCDD (const Heading &heading) |
| Get the Heading value. | |
| template<typename YawRate> | |
| double | etsi_its_denm_ts_msgs::access::getYawRateCDD (const YawRate &yaw_rate) |
| Get the Yaw Rate value. | |
| template<typename YawRate, typename YawRateConfidence = decltype(YawRate::yaw_rate_confidence)> | |
| double | etsi_its_denm_ts_msgs::access::getYawRateConfidenceCDD (const YawRate &yaw_rate) |
| Get the Yaw Rate Confidence. | |
| template<typename SemiAxisLength> | |
| double | etsi_its_denm_ts_msgs::access::getSemiAxis (const SemiAxisLength &semi_axis_length) |
| Get the Semi Axis object. | |
| template<typename PosConfidenceEllipse> | |
| std::tuple< double, double, double > | etsi_its_denm_ts_msgs::access::getPosConfidenceEllipse (const PosConfidenceEllipse &position_confidence_ellipse) |
| Extract major axis length, minor axis length and orientation from the given position confidence ellipse. | |
| std::array< double, 4 > | etsi_its_denm_ts_msgs::access::CovMatrixFromConfidenceEllipse (double semi_major, double semi_minor, double major_orientation, const double object_heading) |
| Convert the confidence ellipse to a covariance matrix. | |
| std::array< double, 4 > | etsi_its_denm_ts_msgs::access::WGSCovMatrixFromConfidenceEllipse (double semi_major, double semi_minor, double major_orientation) |
| Convert the confidence ellipse to a covariance matrix. | |
| template<typename PosConfidenceEllipse> | |
| std::array< double, 4 > | etsi_its_denm_ts_msgs::access::getPosConfidenceEllipse (const PosConfidenceEllipse &position_confidence_ellipse, const double object_heading) |
| Get the covariance matrix of the position confidence ellipse. | |
| template<typename PosConfidenceEllipse> | |
| std::array< double, 4 > | etsi_its_denm_ts_msgs::access::getWGSPosConfidenceEllipse (const PosConfidenceEllipse &position_confidence_ellipse) |
| Get the covariance matrix of the position confidence ellipse. | |
| template<typename Wgs84Angle> | |
| double | etsi_its_denm_ts_msgs::access::getWGSHeadingCDD (const Wgs84Angle &heading) |
| Get the WGS Heading value. | |
| template<typename Wgs84Angle> | |
| double | etsi_its_denm_ts_msgs::access::getWGSHeadingConfidenceCDD (const Wgs84Angle &heading) |
| Get the WGS Heading confidence. | |
| std::vector< bool > | etsi_its_denm_ts_msgs::access::getBitString (const std::vector< uint8_t > &buffer, const int bits_unused) |
| Get a Bit String in form of bool vector. | |
| uint32_t | etsi_its_denm_ts_msgs::access::getStationID (const DENM &denm) |
| Get the Station ID object. | |
| TimestampIts | etsi_its_denm_ts_msgs::access::getReferenceTime (const DENM &denm) |
| Get the Reference Time object. | |
| uint64_t | etsi_its_denm_ts_msgs::access::getReferenceTimeValue (const DENM &denm) |
| Get the ReferenceTime-Value. | |
| uint8_t | etsi_its_denm_ts_msgs::access::getStationType (const DENM &denm) |
| Get the stationType object. | |
| double | etsi_its_denm_ts_msgs::access::getLatitude (const DENM &denm) |
| Get the Latitude value of DENM. | |
| double | etsi_its_denm_ts_msgs::access::getLongitude (const DENM &denm) |
| Get the Longitude value of DENM. | |
| double | etsi_its_denm_ts_msgs::access::getAltitude (const DENM &denm) |
| Get the Altitude value of DENM. | |
| bool | etsi_its_denm_ts_msgs::access::getIsHeadingPresent (const DENM &denm) |
| Get the IsHeadingPresent object. | |
| double | etsi_its_denm_ts_msgs::access::getSpeed (const DENM &denm) |
| Get the vehicle speed. | |
| bool | etsi_its_denm_ts_msgs::access::getIsSpeedPresent (const DENM &denm) |
| Get the IsSpeedPresent object. | |
| double | etsi_its_denm_ts_msgs::access::getSpeedConfidence (const DENM &denm) |
| Get the Speed Confidence. | |
| gm::PointStamped | etsi_its_denm_ts_msgs::access::getUTMPosition (const DENM &denm, int &zone, bool &northp) |
| Get the UTM Position defined within the ManagementContainer of the DENM. | |
| gm::PointStamped | etsi_its_denm_ts_msgs::access::getUTMPosition (const DENM &denm) |
| Get the UTM Position defined within the ManagementContainer of the DENM. | |
| std::vector< bool > | etsi_its_denm_ts_msgs::access::getDrivingLaneStatus (const DrivingLaneStatus &driving_lane_status) |
| Get the Driving Lane Status in form of bool vector. | |
| std::vector< bool > | etsi_its_denm_ts_msgs::access::getLightBarSirenInUse (const LightBarSirenInUse &light_bar_siren_in_use) |
| Get the Lightbar Siren In Use in form of bool vector. | |
| double | etsi_its_denm_ts_msgs::access::getWGSHeading (const DENM &denm) |
| Get the WGS Heading object. | |
| double | etsi_its_denm_ts_msgs::access::getWGSHeadingConfidence (const DENM &denm) |
| Get the WGS Heading confidence. | |
| uint8_t | etsi_its_denm_ts_msgs::access::getCauseCode (const DENM &denm) |
| Get the Cause Code object. | |
| uint8_t | etsi_its_denm_ts_msgs::access::getSubCauseCode (const DENM &denm) |
| Get the Sub Cause Code object. | |
| std::string | etsi_its_denm_ts_msgs::access::getCauseCodeType (const DENM &denm) |
| Get the Cause Code Type object. | |
| std::string | etsi_its_denm_ts_msgs::access::getSubCauseCodeType (const DENM &denm) |
| Get the Sub Cause Code Type object. | |
Getter functions for the ETSI ITS DENM (TS).
Definition in file denm_ts_getters.h.
| #define ETSI_ITS_MSGS_UTILS_IMPL_CDD_CDD_V2_2_1_GETTERS_H |
Definition at line 34 of file denm_ts_getters.h.
|
inline |
Convert the confidence ellipse to a covariance matrix.
Note that the major_orientation is given in degrees, while the object_heading is given in radians!
| semi_major | Semi major axis length in meters |
| semi_minor | Semi minor axis length in meters |
| major_orientation | Orientation of the major axis in degrees, relative to WGS84 |
| object_heading | object heading in radians, relative to WGS84 |
Definition at line 244 of file denm_ts_getters.h.
|
inline |
Get the AccelerationMagnitude value.
| acceleration_magnitude | to get the AccelerationMagnitude from |
Definition at line 103 of file denm_ts_getters.h.
|
inline |
Get the AccelerationMagnitude Confidence.
| acceleration_magnitude | to get the AccelerationMagnitudeConfidence from |
Definition at line 114 of file denm_ts_getters.h.
|
inline |
Get the Altitude value.
| altitude | to get the Altitude value from |
Definition at line 71 of file denm_ts_getters.h.
|
inline |
Get the Altitude value of DENM.
| denm | DENM to get the Altitude value from |
Definition at line 91 of file denm_ts_getters.h.
|
inline |
Get a Bit String in form of bool vector.
| buffer | as uint8_t vector |
| bits_unused | number of bits to ignore at the end of the bit string |
Definition at line 43 of file denm_ts_getters.h.
|
inline |
Get the Cause Code object.
| denm | DENM to get the causeCode value from |
Definition at line 82 of file denm_ts_getters.h.
|
inline |
Get the Cause Code Type object.
https://www.etsi.org/deliver/etsi_ts/103800_103899/103831/02.02.01_60/ts_103831v020201p.pdf
| denm | DENM to get the causeCodeType value from |
Definition at line 161 of file denm_ts_getters.h.
|
inline |
Get the Driving Lane Status in form of bool vector.
| driving_lane_status |
Definition at line 180 of file denm_ts_getters.h.
|
inline |
Get the Heading value.
0.0° equals WGS84 North, 90.0° equals WGS84 East, 180.0° equals WGS84 South and 270.0° equals WGS84 West
| heading | to get the Heading value from |
Definition at line 159 of file denm_ts_getters.h.
|
inline |
Get the Heading value.
0.0° equals WGS84 North, 90.0° equals WGS84 East, 180.0° equals WGS84 South and 270.0° equals WGS84 West
| heading | to get the Heading standard deviation from |
Definition at line 170 of file denm_ts_getters.h.
|
inline |
Get the IsHeadingPresent object.
| denm | DENM to get the IsHeadingPresent-Value from |
Definition at line 99 of file denm_ts_getters.h.
|
inline |
Get the IsSpeedPresent object.
| denm | DENM to get the IsSpeedPresent-Value from |
Definition at line 131 of file denm_ts_getters.h.
|
inline |
Get the Latitude value of DENM.
| denm | DENM to get the Latitude value from |
Definition at line 75 of file denm_ts_getters.h.
|
inline |
Get the Latitude value.
| latitude | to get the Latitude value from |
Definition at line 55 of file denm_ts_getters.h.
|
inline |
Get the Lightbar Siren In Use in form of bool vector.
| light_bar_siren_in_use |
Definition at line 190 of file denm_ts_getters.h.
|
inline |
Get the Longitude value of DENM.
| denm | DENM to get the Longitude value from |
Definition at line 83 of file denm_ts_getters.h.
|
inline |
Get the Longitude value.
| longitude | to get the Longitude value from |
Definition at line 63 of file denm_ts_getters.h.
|
inline |
Extract major axis length, minor axis length and orientation from the given position confidence ellipse.
| position_confidence_ellipse | The position confidence ellipse to extract the values from |
Definition at line 225 of file denm_ts_getters.h.
|
inline |
Get the covariance matrix of the position confidence ellipse.
| position_confidence_ellipse | The position confidence ellipse to get the covariance matrix from |
| object_heading | The object heading in radians |
Definition at line 286 of file denm_ts_getters.h.
|
inline |
Get the Reference Time object.
| denm | DENM to get the ReferenceTime-Value from |
Definition at line 51 of file denm_ts_getters.h.
|
inline |
Get the ReferenceTime-Value.
| denm | DENM to get the ReferenceTime-Value from |
Definition at line 59 of file denm_ts_getters.h.
|
inline |
Get the Semi Axis object.
| semi_axis_length | The SemiAxisLength object to get the semi axis from |
Definition at line 214 of file denm_ts_getters.h.
|
inline |
Get the vehicle speed.
| denm | DENM to get the speed value from |
Definition at line 113 of file denm_ts_getters.h.
|
inline |
Get the vehicle speed.
| speed | to get the speed value from |
Definition at line 84 of file denm_ts_getters.h.
|
inline |
Get the Speed Confidence.
| denm | DENM to get the Speed Confidence from |
Definition at line 145 of file denm_ts_getters.h.
|
inline |
Get the Speed Confidence.
| speed | to get the SpeedConfidence from |
Definition at line 92 of file denm_ts_getters.h.
|
inline |
Get the Station ID object.
| denm | DENM to get the StationID value from |
Definition at line 43 of file denm_ts_getters.h.
|
inline |
Get the StationID of ItsPduHeader.
| header | ItsPduHeader to get the StationID value from |
Definition at line 47 of file denm_ts_getters.h.
|
inline |
Get the stationType object.
| denm | DENM to get the stationType value from |
Definition at line 67 of file denm_ts_getters.h.
|
inline |
Get the Sub Cause Code object.
| denm | DENM to get the subCauseCode value from |
Definition at line 90 of file denm_ts_getters.h.
|
inline |
Get the Sub Cause Code Type object.
https://www.etsi.org/deliver/etsi_ts/103800_103899/103831/02.02.01_60/ts_103831v020201p.pdf
| denm | DENM to get the subCauseCodeType value from |
Definition at line 239 of file denm_ts_getters.h.
|
inline |
Get the UTM Position defined within the ManagementContainer of the DENM.
| denm | DENM to get the UTM Position from |
Definition at line 168 of file denm_ts_getters.h.
|
inline |
Get the UTM Position defined within the ManagementContainer of the DENM.
| denm | DENM to get the UTM Position from |
| zone | the UTM zone (zero means UPS) |
| northp | hemisphere (true means north, false means south) |
Definition at line 158 of file denm_ts_getters.h.
|
inline |
Get the UTM Position defined by the given ReferencePosition.
The position is transformed into UTM by using GeographicLib::UTMUPS The altitude value is directly used as z-Coordinate
| [in] | reference_position | ReferencePosition or ReferencePositionWithConfidence to get the UTM Position from |
| [out] | zone | the UTM zone (zero means UPS) |
| [out] | northp | hemisphere (true means north, false means south) |
Definition at line 130 of file denm_ts_getters.h.
|
inline |
Get the WGS Heading object.
| denm | DENM to get the WGS Heading-Value from |
Definition at line 46 of file denm_ts_getters.h.
|
inline |
Get the WGS Heading value.
0.0° equals WGS84 North, 90.0° equals WGS84 East, 180.0° equals WGS84 South and 270.0° equals WGS84 West
| heading | to get the WGS Heading value from |
Definition at line 47 of file denm_ts_getters.h.
|
inline |
Get the WGS Heading confidence.
| denm | DENM to get the WGSHeading-Value from |
Definition at line 64 of file denm_ts_getters.h.
|
inline |
Get the WGS Heading confidence.
0.0° equals WGS84 North, 90.0° equals WGS84 East, 180.0° equals WGS84 South and 270.0° equals WGS84 West
| heading | to get the WGS Heading standard deviation from |
Definition at line 59 of file denm_ts_getters.h.
|
inline |
Get the covariance matrix of the position confidence ellipse.
| position_confidence_ellipse | The position confidence ellipse to get the covariance matrix from |
| object_heading | The object heading in radians |
Definition at line 299 of file denm_ts_getters.h.
|
inline |
Get the Yaw Rate value.
| yaw_rate | The YawRate object to get the yaw rate from |
Definition at line 179 of file denm_ts_getters.h.
|
inline |
Get the Yaw Rate Confidence.
| yaw_rate | The YawRate object to get the yaw rate confidence from |
Definition at line 190 of file denm_ts_getters.h.
|
inline |
Convert the confidence ellipse to a covariance matrix.
Note that the major_orientation is given in degrees, while the object_heading is given in radians!
| semi_major | Semi major axis length in meters |
| semi_minor | Semi minor axis length in meters |
| major_orientation | Orientation of the major axis in degrees, relative to WGS84 |
Definition at line 273 of file denm_ts_getters.h.