Skip to content

Commit

Permalink
FIX: missing right image in stereo capture
Browse files Browse the repository at this point in the history
  • Loading branch information
FerCanAra committed Jan 25, 2024
1 parent 006733b commit ce67b15
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions doc/source/doxygen-docs/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
- carmen2rawlog: Generate valid timestamps.
- Changes in libraries:
- rosbag2rawlog: Add support for `sensor_msgs/CompressedImage` topics.
- BUG FIXES:
- mrpt::hwdrivers::CImageGrabber_dc1394 did not mark the right image as present in stereo cameras.

# Version 2.11.6: Released Jan 13th, 2024
- Changes in libraries:
Expand Down
1 change: 1 addition & 0 deletions libs/hwdrivers/src/CImageGrabber_dc1394.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -605,6 +605,7 @@ bool CImageGrabber_dc1394::getObservation(
return false;
}

out_observation.hasImageRight = true;
out_observation.imageLeft.loadFromMemoryBuffer(
width, height, true, imageBufRGB); // Left cam.
out_observation.imageRight.loadFromMemoryBuffer(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ process_rate = 80 // Hz
sensorLabel = BBCamera

grabber_type = bumblebee_dc1394
preview_decimation = 1
#preview_decimation = 1

pose_x = 0// position on the robot (meters)
pose_y = 0
Expand Down

0 comments on commit ce67b15

Please sign in to comment.