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

How to downgrade PCL version ?

asked 2019-05-16 06:53:35 -0500

hachbani gravatar image

Hello,

I was for 2 month working with a pcl 1.7 on ROS Kinect, I was visualizing some sensor bags data on rviz and it was working just fine, for somewhat reason pcl started crushing each time I compile a code I found on Github, it said that my pcl version is out of date and I needed to update to at least PCL 1.8 (At least, this is what i've undestood from the error message). I installed a new version of PCL (which I don't know which one because I can't find the commands to know my PCL version). My code now is working but the point cloud image in OpenGL is glitching so much (It was working fine before upgrading my PCL), Rviz is glitching as well now.. Did try a bunch of different bag files that were working fine before and still. Another issue is now, When I launch my launch file and play my bag file, very often my OpenGL visualizer crash and close and the code stop turning.

I don't know if there's any other solutions to my problem, so my natural solution is to downgrade my PCL so it does work just like before. I wonder how I can do it correctly, because the last time I wanted to upgrade it, I spent two days fixing it because my code didin't compile anymore until I found a version of PCL that worked fine.

Feel free to ask me about any line of code you think you might need.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2022-06-07 21:24:55 -0500

qilin_gundamenjoyer gravatar image

updated 2022-06-07 22:11:44 -0500

You can't downgrade from an upgraded version with a simple command. You will have to delete your current version with sudo make uninstall. Next, you have to either install it from the source code or find the version you initially have on the official website, then download the setup corresponding to your operating system.

edit flag offensive delete link more
0

answered 2022-06-07 23:15:12 -0500

electrophod gravatar image

updated 2022-06-07 23:15:29 -0500

Regarding that part related to 'I can't find the commands to know my PCL version', I'd like to help here. If you have installed your pcl using sudo apt-get install libpcl-dev, you can check it's version using dpkg and ldconfig as follows :
1) dpkg -s libpcl-dev -> this will give you the entire status and details of the package
2) ldconfig -p | grep libpcl -> this will show you all the .so files (libraries) with the name libpcl with their version numbers appended in front of it.

Cheers

edit flag offensive delete link more

Comments

1

To add on to this~ If you want an alternative way of installing the updated version for any PCL version, pkgs.org can make things easier! I would still recommend OP's way of doing it first though since it's more convenient and efficient.

qilin_gundamenjoyer gravatar image qilin_gundamenjoyer  ( 2022-06-08 01:52:34 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2019-05-16 06:53:35 -0500

Seen: 926 times

Last updated: Jun 07 '22