ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

You should probably copy the data to another sensor_msgs::Image and then modify it, as you are supposed to read only from const data.