ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to downgrade ROS Noetic or Gazebo to an earlier version?

asked 2022-05-10 10:12:08 -0500

JRob17 gravatar image

Hi, recently apt updated ros-noetic-desktop-full, and my ROS package no longer works correctly. I suspect this is due to Gazebo being updated. After the update, the surface of my cylinder mesh in my Gazebo world no longer displays correctly.

I have a cylinder model in collada (.dae) format, that has a gradient texture on the inside face, in the old version the gradient was flat and clearly visible, but now the gradient is not plain to see, it almost looks as though the surface is reflective. I'm not allowed to post photos, so I have uploaded some to google photos instead. The cylinder is supposed to look like this: https://photos.app.goo.gl/VVs3VkVvvvY... But now looks like this: https://photos.app.goo.gl/fWX5pEUHX5j...

The only light source illuminating the cylinder is a point light in the centre. I noticed in the Gazebo changelog that point lights have been updated to cast shadows not, but I have shadows turned off for the point light in the world file.

So my question is then, how do I revert to the previous version of ros-noetic-desktop-full, with all of its included packages (e.g. Gazebo), or if this is not possible then how can I downgrade just my Gazebo version. Otherwise if anyone knows how to fix the issue with the newer Gazebo version I'd be very grateful to know. My Gazebo version was updated from 11.9.0-1~focal to 11.10.2-1~focal. ros-noetic-desktop-full updated from 1.5.0-1focal.20220413.180024 to 1.5.0-1focal.20220422.194323. I am on Ubuntu 20.04.4 LTS.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2022-05-10 15:13:22 -0500

ljaniec gravatar image

Can you try to modify the Collada file first? Maybe changing the gradient will save you the trouble with downgrading everything.

edit flag offensive delete link more

Comments

2

@ljaniec was completely right to suggest going down that path, I must admit I was panicking a bit yesterday lol. My gradient was only 2 pixels high, so gazebo was stretching it in some weird way to make it fit the cylinder. For some reason it doesn't do this on older versions of my ROS package, but anyway by stretching the gradient myself to 100 pixels high the problem is resolved. Thanks a lot for the suggestion.

JRob17 gravatar image JRob17  ( 2022-05-11 10:45:12 -0500 )edit

You can accept this answer, so the question will be marked as solved in the queue. Thanks!

ljaniec gravatar image ljaniec  ( 2022-05-11 17:26:39 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2022-05-10 10:11:10 -0500

Seen: 316 times

Last updated: May 11 '22