add bgr888

This commit is contained in:
Kalman
2018-08-07 02:29:07 +08:00
parent 26d95ec0ac
commit 6d961203be
11 changed files with 97 additions and 36 deletions

View File

@@ -532,6 +532,8 @@ class ROSWrapperNodelet : public nodelet::Nodelet {
}
api_ = API::Create(device);
api_->SetStreamRequest(
Resolution::RES_1280x400, Format::BGR888, FrameRate::RATE_20_FPS);
}
sensor_msgs::CameraInfoPtr getCameraInfo(const Stream &stream) {