Costmap2D getlock() not found
Hi, everyone,
I am trying to compile the movebase function, however, there's an error in the process.
./nav_stack/src/move_base/src/move_base.cpp:1206:105: error: ‘class costmap_2d::Costmap2D’ has no member named ‘getLock’
boost::unique_lock< boost::shared_mutex > lock(*(controller_costmap_ros_->getCostmap()->getLock()));
the compiler complains getLock() is not a member of costmap_2D. however, eclipse is able to infer the 'getLock()' function in the drop down function selection.
initially, I thought it was due to my boost lib path setting, so I added the path delibrately. however the same error pursists.
any good suggestion?
I searched my ros installation folder as well as boost include directory, couldn't find getLock() function. is this normal?
Please add OS version, ROS version, whether installed from source or debians and how you installed costmap2d.
oh.. yeah... It's Ubuntu 14.04LTS. Install with sudo apt-get install ros-indigo-desktop-full. actually, the project was ok few weeks ago. there were a few system updates recently. could that be the reason? PS. I couldn't find the getLock() function instatiation anywhere. where are they declared
Well if there were updates to
move_base
or any other involved pkgs, then that would be one thing to check. diff(1.12.3; 1.12.4) formove_base
fi.