syahmi001 / turtlebot3_shm

For multiple Turtlebot3 Navigation + ORCA algorithm for local pathing
11 stars 2 forks source link

catkin_make error #4

Open shangguanyiyu opened 2 years ago

shangguanyiyu commented 2 years ago

Hi,when I run "catkin_make",and then /home/ubuntu/catkin_ws/src/turtlebot3_shm/collvoid/collvoid_simple_global_planner/src/collvoid_simple_global_planner.cpp:42:24: error: expected constructor, destructor, or type conversion before ‘(’ token PLUGINLIB_DECLARE_CLASS(collvoid_simple_global_planner, CollvoidSimpleGlobalPlanner, collvoid_simple_global_planner::CollvoidSimpleGlobalPlanner, nav_core::BaseGlobalPlanner)

Thank you for taking the time to answer my questions during your busy schedule

whlaw0208 commented 2 years ago

same problem, but I run this in Ubuntu20.04

syahmi001 commented 2 years ago

Ah, it has been quite a long since the last time I maintained this repo. Will try to look into that. Probably some dependency error between the packages.

whlaw0208 commented 2 years ago

PLUGINLIB_DECLARE_CLASS(collvoid_simple_global_planner, CollvoidSimpleGlobalPlanner, collvoid_simple_global_planner::CollvoidSimpleGlobalPlanner, nav_core::BaseGlobalPlanner) should be change to PLUGINLIB_EXPORT_CLASS(collvoid_simple_global_planner::CollvoidSimpleGlobalPlanner, nav_core::BaseGlobalPlanner)

whlaw0208 commented 2 years ago

Ah, it has been quite a long since the last time I maintained this repo. Will try to look into that. Probably some dependency error between the packages. Thanks a lot, I am stuck in the error ‘class base_local_planner::LocalPlannerLimits’ has no member named ‘max_rot_vel’ during catkin_make, I appreciate yours update