Generated by Generative AI
No
Operating System:
NA
ROS version or commit hash:
45a1d0b (today's rolling)
RMW implementation (if applicable):
No response
RMW Configuration (if applicable):
No response
Client library (if applicable):
No response
'ros2 doctor --report' output
No response
Steps to reproduce issue
- Launch RViz
- Publish
Image with CameraInfo
- Show it in the
CameraDisplay visualization in RViz
- In
CameraDisplay, set Zoom Factor to 0.5
- However with your cursor over the shown image, and you'll see that the shown pixel values don't match the pixels residing under the cursor.
Expected behavior
Either the correct pixel value is shown, or no pixel value at all is shown.
Actual behavior
A wrong pixel value is shown, screenshot:
Additional information
This bug got introduced by e6813d8, where this well-working feature got introduced for ImageDisplay and we didn't take into account that CameraDisplay inherits from ImageDisplay while also relying on a different image coordinate to screen coordinate mapping.
Generated by Generative AI
No
Operating System:
NA
ROS version or commit hash:
45a1d0b (today's rolling)
RMW implementation (if applicable):
No response
RMW Configuration (if applicable):
No response
Client library (if applicable):
No response
'ros2 doctor --report' output
No response
Steps to reproduce issue
ImagewithCameraInfoCameraDisplayvisualization in RVizCameraDisplay, setZoom Factorto 0.5Expected behavior
Either the correct pixel value is shown, or no pixel value at all is shown.
Actual behavior
A wrong pixel value is shown, screenshot:
Additional information
This bug got introduced by e6813d8, where this well-working feature got introduced for
ImageDisplayand we didn't take into account thatCameraDisplayinherits fromImageDisplaywhile also relying on a different image coordinate to screen coordinate mapping.