Closed Neathle closed 11 months ago
Hi @Neathle,
thank you for the report.
We know about the issue with the rosbot_description
. Actually it is an error in Foxglove. In rviz2
the meshes are correct.
To fix this you can use our docker container with the Foxglove from https://github.com/husarion/foxglove-docker/ or you can apply the replacement of the meshes angles in the urdf.
# Changing rotation is cause by .stl files in rosbot_ros/rosbot_description. We will change it to the .dae files.
sed -i 's/rpy=\"1.5707963267948966 0.0 1.5707963267948966\"/rpy=\"0.0 0.0 1.5707963267948966\"/g' /rosbot.urdf
I will look at the depth camera plugin and find out whats wrong.
Best regards, JD
Thank you very much! I have switched back to rviz for now, but I will try that fix to see if foxglove is viable. The problem with the depth camera is still there even in rviz.
Hi @Neathle,
I looked at the issue and it seems like this problem https://github.com/gazebosim/gz-sensors/issues/239. It is on gazebo side and as I see they fixed this here https://github.com/gazebosim/gz-sensors/pull/350 but only for gz-sensors7
but we are using the ign-sensors6
.
I made propose workaround for now here https://github.com/husarion/rosbot_ros/tree/ros2-ign-camera-fix.
As I see the rviz2 has issues with display the depth image in this format...
But
rqt_image_viewer
works perfect...
Please inform me if the solution works for you and feel free to reach out if you need any further assistance. Best regards, JD
I'm closing due to inactivity. If the issue is still valid, please reopen it.
I am simulating the ROSBOT2 in humble, using the docker image provided, and using the simulation.launch.py provided as well in the repo. When I launch the simulation, everything works correctly, except the depth camera, which appears to be missing a link to the rest of the robot. The depth camera has created its own tree: /rosbot/base_link/orbbec_astra_camera. Instead of using the depth link to publish.
![image](https://github.com/husarion/rosbot_ros/assets/40918379/5b76b479-0abe-42a8-a61c-c99f1f9d5d7e)
Robot_description is also broken, as it can be seen in the image. I tried with rviz2 as well and it simply doesn't display the robot. I solved the first issue by manually linking both frames in the /tf_static topic, but this should be corrected. I include the generated urdf from doing
xacro /ros2_ws/src/rosbot_description/urdf/rosbot.urdf.xacro
: