Closed mkhansenbot closed 5 years ago
I think you need to use https://github.com/ros-perception/depthimage_to_laserscan/pull/27 for it to work on melodic and it hasn't been merged or released yet.
@mikaelarguedas - thanks for the pointer. I pulled your patch and it built for me. Can we get that merged?
Can we get that merged?
@chadrockey very gentle :bellhop_bell:
@dirk-thomas - can we get #27 merged so this can build on Melodic?
Sorry all, I uncovered this and took care of it. https://github.com/ros/rosdistro/pull/20212
If anyone wants to provide more love to this package let me know and I'll promote you. Send me an email if possible, I've had too many Github emails over the years and can't keep track of things. Some might sitll be bouncing @willowgarage.com to this day... :\
Replace
PLUGINLIB_DECLARE_CLASS(depthimage_to_laserscan, DepthImageToLaserScanNodelet, depthimage_to_laserscan::DepthImageToLaserScanNodelet, nodelet::Nodelet);
with
PLUGINLIB_EXPORT_CLASS(depthimage_to_laserscan::DepthImageToLaserScanNodelet, nodelet::Nodelet);
this should work!!
Is this package supported on melodic? I'm trying to build and getting this error.
/home/mkhansen/ros_ws/src/depthimage_to_laserscan/src/DepthImageToLaserScanNodelet.cpp:60:24: error: expected constructor, destructor, or type conversion before ‘(’ token PLUGINLIB_DECLARE_CLASS(depthimage_to_laserscan, DepthImageToLaserScanNodelet, depthimage_to_laserscan::DepthImageToLaserScanNodelet, nodelet::Nodelet); ^ Has anyone built it for melodic?
Replace
PLUGINLIB_DECLARE_CLASS(depthimage_to_laserscan, DepthImageToLaserScanNodelet, depthimage_to_laserscan::DepthImageToLaserScanNodelet, nodelet::Nodelet);
with
PLUGINLIB_EXPORT_CLASS(depthimage_to_laserscan::DepthImageToLaserScanNodelet, nodelet::Nodelet);
this should work!!
Is this package supported on melodic? I'm trying to build and getting this error.
/home/mkhansen/ros_ws/src/depthimage_to_laserscan/src/DepthImageToLaserScanNodelet.cpp:60:24: error: expected constructor, destructor, or type conversion before ‘(’ token PLUGINLIB_DECLARE_CLASS(depthimage_to_laserscan, DepthImageToLaserScanNodelet, depthimage_to_laserscan::DepthImageToLaserScanNodelet, nodelet::Nodelet); ^ Has anyone built it for melodic?