Skip to content

Commit 702f123

Browse files
authored
Merge pull request #16 from dvigne/melodic-devel
Changed Distortion Model in Camera Info Messages
2 parents d2b3d56 + da9c5f7 commit 702f123

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/gazebo_ros_realsense.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,7 @@ sensor_msgs::CameraInfo cameraInfo(const sensor_msgs::Image &image,
251251
sensor_msgs::CameraInfo info_msg;
252252

253253
info_msg.header = image.header;
254+
info_msg.distortion_model = "plumb_bob";
254255
info_msg.height = image.height;
255256
info_msg.width = image.width;
256257

0 commit comments

Comments
 (0)