Epsilon Star Coverage Path Planner implementation for Nav2 / Ros2, based on : https://linkslab.uconn.edu/wp-content/uploads/sites/246/2018/11/e_star_Preprint.pdf
Hi, I am building the package with Ubuntu 20.04 and ros foxy and I encountered this issue.
colcon build --packages-up-to explored_space_costmap_plugin
Starting >>> explored_space_costmap_plugin
--- stderr: explored_space_costmap_plugin
/home/yxydw98/CPP/src/epsilon-star-coverage-path-planner/explored_space_costmap_plugin/src/explored_space_layer.cpp: In member function ‘virtual void explored_space_costmap_plugin::ExploredSpaceLayer::onInitialize()’:
/home/yxydw98/CPP/src/epsilon-star-coverage-path-planner/explored_space_costmap_plugin/src/explored_space_layer.cpp:34:21: error: ‘using SharedPtr = class std::shared_ptr<rclcpp_lifecycle::LifecycleNode>’ {aka ‘class std::shared_ptr<rclcpp_lifecycle::LifecycleNode>’} has no member named ‘lock’
34 | auto node = node_.lock();
May I know what is the reason? Is it because a wrong type was assigned to the node variable that does not have the .lock() method? Thank you for you time.