ros-navigation / navigation2_tutorials

Tutorial code referenced in https://docs.nav2.org/
180 stars 124 forks source link

(Nav2_gps_waypoint_follower) No such file or directory of some library #71

Closed Klein237 closed 11 months ago

Klein237 commented 11 months ago

Thank you for your work on the nav2_gps_waypoint_follower_demo package. To give it a try, I followed this tutorial https://navigation.ros.org/tutorials/docs/navigation2_with_gps.html . On my main system, I use a galactic ROS to run the package.

In part 2 of the tutorial (Setup Navigation system ) , when I run the following command, ros2 launch nav2_gps_waypoint_follower_demo gps_waypoint_follower.launch.py use_rviz:=True I get a problem like this: [bt_navigator-11] [ERROR] [1696270449.894657632] [bt_navigator]: Original error: Could not load library: libnav2_are_error_codes_active_condition_bt_node.so: cannot open shared object file: No such file or directory

this on several libraries, namely :

I thought it was a version problem and I did a docker with Humble to run the package and I got the same errors but this time I removed the following plugins from the nav2 configuration file:

I was able to have autonomous gps navigation. Can you help me understand what's going on?

SteveMacenski commented 11 months ago

Galactic is EOL and will not receive support. Upgrade to a current ROS distribution.

But in general, you should remove BT nodes that aren't in your distribution from the YAML. There may be other issues you may run into, I'm not sure. But certainly GPS waypoint following is not available in Galactic so you won't be able to use the action at all without Humble or newer.