UnknownFreeOccupied/ufomap

rosmake ufomap_rviz_plugins fails

cmakelabs opened this issue · 0 comments

In order to be able to visualize the map, I tried to build the rviz plugin you provided, while being in the ros_workspace , I do rosmake ufomap_rviz_plugins and the output is as the following:

[ rosmake ] rosmake starting...                                                                                                         
[ rosmake ] Packages requested are: ['ufomap_rviz_plugins']                                                                             
[ rosmake ] Logging to directory /home/nuc/.ros/rosmake/rosmake_output-20240627-151054                                                  
[ rosmake ] Expanded args ['ufomap_rviz_plugins'] to:
['ufomap_rviz_plugins']                                                           
[rosmake-0] Starting >>> catkin [ make ]                                                                                                
[rosmake-1] Starting >>> ufomap [ make ]                                                                                                
[rosmake-1] Finished <<< ufomap ROS_NOBUILD in package ufomap
 No Makefile in package ufomap                                            
[rosmake-0] Finished <<< catkin ROS_NOBUILD in package catkin
 No Makefile in package catkin                                                                                                                               
[rosmake-3] Starting >>> tf2_msgs [ make ]                                                                                              
[rosmake-0] Finished <<< rospy ROS_NOBUILD in package rospy
 No Makefile in package rospy                                               
[rosmake-2] Starting >>> angles [ make ]                                                                                                
[rosmake-0] Starting >>> media_export [ make ]                                                                                          
[rosmake-1] Starting >>> rosout [ make ]                                                                                                
[rosmake-1] Finished <<< rosout ROS_NOBUILD in package rosout: 0.0 sec ] [ tf2_msgs: 0.0 sec ] [ rospy: 0... [ 4 Active 37/77 Complete ]
 No Makefile in package rosout                                            
[rosmake-1] Starting >>> roslaunch [ make ]                                                                                             
[rosmake-3] Finished <<< tf2_msgs ROS_NOBUILD in package tf2_msgs
 No Makefile in package tf2_msgs                                                              
[rosmake-3] Starting >>> visualization_msgs [ make ]                                                                                    
[rosmake-1] Starting >>> message_filters [ make ]                                                                                       
[rosmake-1] Finished <<< message_filters ROS_NOBUILD in package message_filters
 No Makefile in package message_filters                 
[rosmake-3] Finished <<< visualization_msgs ROS_NOBUILD in package visualization_msgs
 No Makefile in package visualization_msgs        
[rosmake-2] Finished <<< laser_geometry ROS_NOBUILD in package laser_geometryec ]                            [ 2 Active 73/77 Complete ]
 No Makefile in package laser_geometry                    
[rosmake-2] Starting >>> rviz [ make ]                                                                                                  
[rosmake-2] Finished <<< rviz ROS_NOBUILD in package rviz
 No Makefile in package rviz                                                  
[rosmake-2] Starting >>> ufomap_rviz_plugins [ make ]                                                                                   
[rosmake-2] Finished <<< ufomap_rviz_plugins ROS_NOBUILD in package ufomap_rviz_plugins
 No Makefile in package ufomap_rviz_plugins     
[ rosmake ] Results:                                                                                                                    
[ rosmake ] Built 77 packages with 0 failures.                                                                                          
[ rosmake ] Summary output to directory                                                                                                 
[ rosmake ] /home/nuc/.ros/rosmake/rosmake_output-20240627-151054     

However when I open Rviz, I get:
[ERROR] [1719490461.808044207]: PluginlibFactory: The plugin for class 'UFOMap' failed to load. Error: Could not find library corresponding to plugin UFOMap. Make sure the plugin description XML file has the correct name of the library and that the library actually exists.