bt_navigator throwing error on startup
I launched the nav2_tb3_simulation_launch.py
file as stated in the navigation2 wiki, but whenever I click on Startup RViz after the turtlebot3 world loads on Gazebo, I'm getting this error:
[lifecycle_manager-5] [INFO] [lifecycle_manager]: Configuring bt_navigator
[bt_navigator-11] [INFO] [bt_navigator]: Configuring
[bt_navigator-11] [ERROR] []: Caught exception in callback for transition 10
[bt_navigator-11] [ERROR] []: Original error: Could not load library:/home/adi99/ROS2/nav2_ws/install/nav2_behavior_tree/lib/libnav2_compute_path_to_pose_action_bt_node.so: undefined symbol: _ZTIN2BT14CoroActionNodeE
[bt_navigator-11] [WARN] []: Error occurred while doing error handling.
[bt_navigator-11] [FATAL] [bt_navigator]: Lifecycle node entered error state
[lifecycle_manager-5] [ERROR] [lifecycle_manager]: Failed to change state for node: bt_navigator
[lifecycle_manager-5] [ERROR] [lifecycle_manager]: Failed to bring up nodes: aborting bringup
The map also dosent load on RViz as ros2 topic info /map
shows that there are no publishers.
Along with this, I keep getting this continuously:
[rviz2-3] [INFO] [rviz2]: Message Filter dropping message: frame 'base_scan' at time 11.203 for reason 'Unknown'
How did you install nav2?
I cloned the eloquent repostory from their github page.I also installed from binaries but both are giving this error.