|
etsi_its_messages v3.4.0
|
Setter functions for the ETSI ITS MAPEM. More...
Go to the source code of this file.
Functions | |
| template<typename T1, typename T2> | |
| void | etsi_its_mapem_ts_msgs::access::throwIfOutOfRange (const T1 &val, const T2 &min, const T2 &max, const std::string val_desc) |
| Throws an exception if a given value is out of a defined range. | |
| void | etsi_its_mapem_ts_msgs::access::throwIfNotPresent (const bool is_present, const std::string val_desc) |
| Throws an exception if the given value is not present. | |
| void | etsi_its_mapem_ts_msgs::access::setMinuteOfTheYear (MinuteOfTheYear &moy, const uint32_t moy_value) |
| Set the MinuteOfTheYear object. | |
| void | etsi_its_mapem_ts_msgs::access::setMinuteOfTheYear (MapData &map, const uint32_t moy_value) |
| Set the MinuteOfTheYear for a given MapData object. | |
| void | etsi_its_mapem_ts_msgs::access::setMinuteOfTheYear (MAPEM &mapem, const uint32_t moy_value) |
| Set the Minute Of The Year object. | |
| void | etsi_its_mapem_ts_msgs::access::setIntersectionID (IntersectionID &intsct_id, const uint16_t id_value) |
| Set the IntersectionID value. | |
| void | etsi_its_mapem_ts_msgs::access::setIntersectionID (IntersectionGeometry &intsct, const uint16_t id_value) |
| Set the IntersectionID for an IntersectionGeometry object. | |
| void | etsi_its_mapem_ts_msgs::access::setLatitude (Latitude &latitude, const double deg) |
| Set the Latitude object. | |
| void | etsi_its_mapem_ts_msgs::access::setLongitude (Longitude &longitude, const double deg) |
| Set the Longitude object. | |
| void | etsi_its_mapem_ts_msgs::access::setElevation (Elevation &elevation, const double value) |
| Set the Elevation object. | |
| void | etsi_its_mapem_ts_msgs::access::setPosition3D (Position3D &pos, const double latitude, const double longitude) |
| Set the Position3D object. | |
| void | etsi_its_mapem_ts_msgs::access::setPosition3D (Position3D &pos, const double latitude, const double longitude, const double altitude) |
| Set the Position3D object. | |
| void | etsi_its_mapem_ts_msgs::access::setPosition3D (IntersectionGeometry &intsct, double latitude, double longitude, double altitude) |
| Set the Position3D of IntersectionGeometry object. | |
| void | etsi_its_mapem_ts_msgs::access::setPosition3DFromUTMPosition (Position3D &reference_position, const gm::PointStamped &utm_position, const int zone, const bool northp) |
| Set the Position3D from a given UTM-Position. | |
Setter functions for the ETSI ITS MAPEM.
Definition in file mapem_ts_setters.h.
|
inline |
Set the Elevation object.
| elevation | object to set |
| value | Elevation value (above the reference ellipsoid surface) in meter as decimal number |
Definition at line 125 of file mapem_ts_setters.h.
|
inline |
Set the IntersectionID for an IntersectionGeometry object.
| intsct | IntersectionGeometry object |
| id_value | value to set |
Definition at line 91 of file mapem_ts_setters.h.
|
inline |
Set the IntersectionID value.
| intsct_id | IntersectionID object |
| id_value | value to set |
Definition at line 80 of file mapem_ts_setters.h.
|
inline |
Set the Latitude object.
| latitude | object to set |
| deg | Latitude value in degree as decimal number |
Definition at line 101 of file mapem_ts_setters.h.
|
inline |
Set the Longitude object.
| longitude | object to set |
| deg | Longitude value in degree as decimal number |
Definition at line 113 of file mapem_ts_setters.h.
|
inline |
Set the MinuteOfTheYear for a given MapData object.
| map | MapData object |
| moy_value | value to set |
Definition at line 60 of file mapem_ts_setters.h.
|
inline |
Set the Minute Of The Year object.
| mapem |
Definition at line 69 of file mapem_ts_setters.h.
|
inline |
Set the MinuteOfTheYear object.
| moy | MinuteOfTheYear object |
| moy_value | value to set |
Definition at line 49 of file mapem_ts_setters.h.
|
inline |
Set the Position3D of IntersectionGeometry object.
| intsct | IntersectionGeometry object |
| latitude | Latitude value in degree as decimal number |
| longitude | Longitude value in degree as decimal number |
| altitude | Altitude value (above the reference ellipsoid surface) in meter as decimal number |
Definition at line 167 of file mapem_ts_setters.h.
|
inline |
Set the Position3D object.
| pos | object to set |
| latitude | Latitude value in degree as decimal number |
| longitude | Longitude value in degree as decimal number |
Definition at line 139 of file mapem_ts_setters.h.
|
inline |
Set the Position3D object.
| pos | object to set |
| latitude | Latitude value in degree as decimal number |
| longitude | Longitude value in degree as decimal number |
| altitude | Altitude value (above the reference ellipsoid surface) in meter as decimal number |
Definition at line 153 of file mapem_ts_setters.h.
|
inline |
Set the Position3D from a given UTM-Position.
The position is transformed to latitude and longitude by using GeographicLib::UTMUPS The z-Coordinate is directly used as altitude value The frame_id of the given utm_position must be set to 'utm_<zone><N/S>'
| [out] | reference_position | Position3D to set |
| [in] | utm_position | geometry_msgs::PointStamped describing the given utm position |
| [in] | zone | the UTM zone (zero means UPS) of the given position |
| [in] | northp | hemisphere (true means north, false means south) |
Definition at line 183 of file mapem_ts_setters.h.
|
inline |
Throws an exception if the given value is not present.
| is_present | Whether the value is present. |
| val_desc | Description of the value for the exception message. |
Definition at line 58 of file mapem_ts_getters.h.
| void etsi_its_mapem_ts_msgs::access::throwIfOutOfRange | ( | const T1 & | val, |
| const T2 & | min, | ||
| const T2 & | max, | ||
| const std::string | val_desc ) |
Throws an exception if a given value is out of a defined range.
| T1 | |
| T2 |
| val | The value to check if it is in the range. |
| min | The minimum value of the range. |
| max | The maximum value of the range. |
| val_desc | Description of the value for the exception message. |
Definition at line 47 of file mapem_ts_getters.h.