Function etsi_its_cpm_ts_msgs::access::getYDimensionOfPerceivedObject

Function Documentation

inline uint16_t etsi_its_cpm_ts_msgs::access::getYDimensionOfPerceivedObject(const PerceivedObject &object)

Retrieves the y-dimension of a perceived object.

This function extracts the y-dimension from a given PerceivedObject. If the y-dimension is not present in the object, it throws an std::invalid_argument exception.

Parameters:

object – The PerceivedObject from which to retrieve the y-dimension.

Throws:

std::invalid_argument – if the y-dimension is not present in the PerceivedObject.

Returns:

uint16_t y-dimension of the perceived object in in decimeters.