slam toolbox rviz plugin not loading
SBC: LattePanda Atom x86 OS: Ubuntu 20.04.3 ROS: Noetic Slam ToolBox version:(1.5.6-1focal.20210922.203113) rviz version 1.14.10
I am new to ROS so please bare with me.
I have tried to make and install three different ROS noetic slam toolbox versions, that are available on the slam toolbox github to no avail as they all fail to make.
I can install the ros noetic slam toolbox using "apt install ros-noetic-slam-toolbox" however the slam toolbox rviz plugin never appears on the rviz screen even though it appears with a check mark in the "Panel" drop down.
I believe that the slam_toolbox_rvizpluin.h is not being correctly installed and therefore the slam toolbox plugin panel is not loading.
If anyone else has experienced this issue, how did you resolve it?
Hi @TCIII I understand you have raised an issue https://github.com/SteveMacenski/slam... as well and waiting for a response. Based on what you have described, I suggest to start with a fresh install of Ubuntu, Noetic and then install Slam toolbox and dependencies using
apt
. Sometimes if you try to do multiple installations, it's harder to fix than to restart. Hopefully you get a quicker resolution.@ osliva,
Thanks for the response, much appreciated.
I am in the process of doing what you have suggested:
1) Fresh install of Ubuntu 20.04.3 on a Rpi 4B/4GB (the install process takes around 3 hrs due to the "unattended upgrade app" running in the installation)
2) There is going to be a problem installing ROS Noetic due to the fact that it is installed, as well as many other packages including Slam Toolbox, in a script called "setup-noetic.sh" that is available here at [ArloBot] (https://github.com/chrisl8/ArloBot). However I plan to manually install ROS Noetic, then proceed to attempt to install Slam Toolbox for ROS Noetic with catkin_make and see if that will work.
I get the felling that Steve does not want to deal with this issue and has moved on to Slam Toolbox for RO2.
If you look at
setup-noetic.sh
is an installation script with some fancy display progress status, but most of the steps are there. I suggest you follow them manually instead of running the script.Hi @ oslivia,
Yes, I have used a word processor to take a detailed look a setup-noetic.sh and it appears that he uses the stock ROS install for Noetic and then proceeds to use catkin_make to build and install additional modules.
Therefore I plan to install ROS Noetic using the ROS install instructions and then proceed to build and install the Slam Toolbox for Noetic followed by ROS rplidar as a test of the Slam Toolbox Rviz Plugin installation.
@ oslivia,
1) Did a fresh install of Ubuntu 20.04.3 on a Rpi 4B/4GB 2) Installed ROS Noetic desktop so the install included rqt and rviz 3) Installed ros_rplidar to ensure that rviz was working and displayed the output of the RPLidar A1M8. 4) Attempted to install Slam Toolbox as follows: cd ~/catkin_ws/src/ git clone -b noetic-devel https://github.com/SteveMacenski/slam... cd .. rosdep install -q -y -r --from-paths src --ignore-src catkin_make
The build hung at the 74% point in the same place as when building the Slam Toolbox on a ArloBot setup-noetic.sh script install: "Building CXX object slam_toolbox/slam_toolbox/CMakeFiles/toolbox_common.dir/src/laser_utils.cpp.o".
So it looks like there is an issue with the "laser_utils.ccc.o" build?
My recommendation is to use
apt
when available but yes all the script is doing is building packages but might not have the latest links@ oslivia,
After the catkin_make build failed, I figured what the heck and ran "sudo apt install ros-noetic-slam-toolbox" which as usual installed without issue.
Then I ran "roslaunch rplidar_ros view_rplidar.launch". The rplidar launched, followed by startup data and then rviz opened. When rviz opened, I looked at the "Panels" dropdown menu and the Slam Toolbox Plugin was not there. So I selected "Add New Panel" and when the "Panel Type" display opened, there was the "Slam Toolbox Plugin" under the "slam_toolbox_rviz folder. So I selected the "Slam Toolbox Plugin" and it was added to the "Panels" dropdown menu and appeared on the left side of the rviz display. I can turn the ""Slam Toolbox Plugin" on and off using the "Panels" dropdown menu.
I would say at this point that there is an issue with the ROS Noetic installation/packages/dependencies in the Arlobot "setup-noetic.sh script possibly?
Comments?
Exactly. That’s why I’m not fun of scripts to do this type of installations. Over time issues grow.