Function cras::sizeOfPointField(const ::sensor_msgs::msg::PointField&)
Defined in File cloud.hpp
Function Documentation
-
size_t cras::sizeOfPointField(const ::sensor_msgs::msg::PointField &field)
Return the size (in bytes) of the data represented by the sensor_msgs::msg::PointField.
- Parameters:
field – [in] The pointfield specification.
- Throws:
std::runtime_error – if wrong datatype is passed.
- Returns:
Size of the data.