Callback for stereo images and main spin
| 146 | |
| 147 | // Callback for stereo images and main spin |
| 148 | void RosDataProvider::callbackCamAndProcessStereo( |
| 149 | const sensor_msgs::ImageConstPtr &msgLeft, |
| 150 | const sensor_msgs::ImageConstPtr &msgRight) { |
| 151 | // store in stereo buffer |
| 152 | stereo_buffer_.addStereoFrame(msgLeft, msgRight); |
| 153 | } |
| 154 | |
| 155 | bool RosDataProvider::spin() { |
| 156 | // ros::Rate rate(60); |
nothing calls this directly
no test coverage detected