turtlebot / turtlebot4_simulator

TurtleBot 4 Simulator packages
Apache License 2.0
67 stars 39 forks source link

camera/color topic returns black and white images #12

Closed moutalibbadr closed 2 years ago

moutalibbadr commented 2 years ago

To Reproduce ros2 launch turtlebot4_ignition_bringup ignition.launch.py rviz:=true add camera/color topic in rviz

Other notes I can't say for sure if this is due to ignition or the camera definition in the urdf.

moutalibbadr commented 2 years ago

Here is an illustration of this issue. Screenshot

roni-kreinin commented 2 years ago

If you change the render engine to ogre2 here https://github.com/iRobotEducation/create3_sim/blob/main/irobot_create_common/irobot_create_description/urdf/create3.urdf.xacro#:~:text=%3Crender_engine%3Eogre%3C/render_engine%3E, the image should publish correctly. Expect worse performance though.

Side note: If you pull the latest turtlebot4_description it will fix the red models that you are seeing in RVIZ

moutalibbadr commented 2 years ago

Thank you this solved the issue. And thank you for the tip on the red models.