Function ros2_ouster::toProcMask

Function Documentation

inline std::uint32_t ros2_ouster::toProcMask(const std::string &mask_str)

Transforms a data processor mask-like-string into a mask value

We define a mask-like-string to be a pipe-separated list of data processor suffixes. For example, all of the following are valid:

IMG|PCL|IMU|SCAN IMG|PCL PCL

Parameters

mask_str[in] The string to convert into a mask

Returns

The mask obtained from the parsed input string.