Function sensor_msgs::clearImage

Function Documentation

static inline void sensor_msgs::clearImage(msg::Image &image)

Clear the data of an image message.

All fields but data are kept the same.

Parameters:

image[out] Image to be cleared.