Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: ‘class rviz::PointCloudCommon’ has no member named ‘getCallbackQueue’ update_nh_.setCallbackQueue(point_cloud_common_->getCallbackQueue()); #22

Open
RENyunfan opened this issue Oct 10, 2021 · 5 comments

Comments

@RENyunfan
Copy link

Hi!
I am trying to install mpl_ros with catkin_make on Ubuntu18.04, and get error:

error: ‘class rviz::PointCloudCommon’ has no member named ‘getCallbackQueue’
   update_nh_.setCallbackQueue(point_cloud_common_->getCallbackQueue());

I guess the problem comes from the wrong version of Rviz, any suggestion?

@jemzipx
Copy link

jemzipx commented Oct 21, 2021

I also have this problem on Ubuntu 20.04. My rviz is version 1.14.10. I just solved this by commenting out the line that gives the error:

  mesh_height_ = mesh_height_property_->getFloat();
  //update_nh_.setCallbackQueue(point_cloud_common_->getCallbackQueue());
  map_util_.reset(new MPL::VoxelMapUtil());

It is not exactly a solution but at least I can get past this error.

@linzgood
Copy link

Errors << planning_ros_utils:make /home/linzgood/agile_autonomy_ws/catkin_aa/logs/planning_ros_utils/build.make.007.log
/home/linzgood/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/planning_ros_utils/src/planning_rviz_plugins/map_display.cpp: In constructor ‘planning_rviz_plugins::MapDisplay::MapDisplay()’:
/home/linzgood/agile_autonomy_ws/catkin_aa/src/rpg_mpl_ros/planning_ros_utils/src/planning_rviz_plugins/map_display.cpp:39:52: error: ‘class rviz::PointCloudCommon’ has no member named ‘getCallbackQueue’
update_nh_.setCallbackQueue(point_cloud_common_->getCallbackQueue());
^~~~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/planning_rviz_plugins.dir/build.make:160: CMakeFiles/planning_rviz_plugins.dir/src/planning_rviz_plugins/map_display.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:381: CMakeFiles/planning_rviz_plugins.dir/all] Error 2
make: *** [Makefile:160: all] Error 2

@FPSychotic
Copy link

same error in 20.04 installing agile autonomy

@AnshShah3009
Copy link

@FPSychotic did you find the solution to this except for commenting it out?

@FPSychotic
Copy link

@FPSychotic did you find the solution to this except for commenting it out?

No sorry, I moved to other things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants