鱼香ROS社区
    • 版块
    • 最新
    • 未解决
    • 已解决
    • 群组
    • 注册
    • 登录
    紧急通知:禁止一切关于政治&VPN翻墙等话题,发现相关帖子会立马删除封号
    提问前必看的发帖注意事项: 社区问答规则(小鱼个人)更新 | 高质量帖子发布指南

    bt_navigator启动报错:Original error: Could not load library: libnav2_smooth_path_action_bt_node.so

    已定时 已固定 已锁定 已移动
    Nav2
    galactic nav2 btnavigator
    3
    4
    581
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • 3748703613
      孤独的幸存者
      最后由 编辑

      ros2 galactic
      Orin jetson nano平台

      我的bt_navigator参数设置:

      bt_navigator:
        ros__parameters:
          global_frame: map
          robot_base_frame: base_link
          odom_topic: /odom
          bt_loop_duration: 10
          default_server_timeout: 20
          navigators: ["navigate_to_pose", "navigate_through_poses"]
          navigate_to_pose:
            plugin: "nav2_bt_navigator/NavigateToPoseNavigator"
          navigate_through_poses:
            plugin: "nav2_bt_navigator/NavigateThroughPosesNavigator"
          # 'default_nav_through_poses_bt_xml' and 'default_nav_to_pose_bt_xml' are use defaults:
          # nav2_bt_navigator/navigate_to_pose_w_replanning_and_recovery.xml
          # nav2_bt_navigator/navigate_through_poses_w_replanning_and_recovery.xml
          # They can be set here or via a RewrittenYaml remap from a parent launch file to Nav2.
          plugin_lib_names:
            - nav2_compute_path_to_pose_action_bt_node
            - nav2_compute_path_through_poses_action_bt_node
            - nav2_smooth_path_action_bt_node
            - nav2_follow_path_action_bt_node
            - nav2_spin_action_bt_node
            - nav2_wait_action_bt_node
            - nav2_assisted_teleop_action_bt_node
            - nav2_back_up_action_bt_node
            - nav2_drive_on_heading_bt_node
            - nav2_clear_costmap_service_bt_node
            - nav2_is_stuck_condition_bt_node
            - nav2_goal_reached_condition_bt_node
            - nav2_goal_updated_condition_bt_node
            - nav2_globally_updated_goal_condition_bt_node
            - nav2_is_path_valid_condition_bt_node
            - nav2_are_error_codes_active_condition_bt_node
            - nav2_would_a_controller_recovery_help_condition_bt_node
            - nav2_would_a_planner_recovery_help_condition_bt_node
            - nav2_would_a_smoother_recovery_help_condition_bt_node
            - nav2_initial_pose_received_condition_bt_node
            - nav2_reinitialize_global_localization_service_bt_node
            - nav2_rate_controller_bt_node
            - nav2_distance_controller_bt_node
            - nav2_speed_controller_bt_node
            - nav2_truncate_path_action_bt_node
            - nav2_truncate_path_local_action_bt_node
            - nav2_goal_updater_node_bt_node
            - nav2_recovery_node_bt_node
            - nav2_pipeline_sequence_bt_node
            - nav2_round_robin_node_bt_node
            - nav2_transform_available_condition_bt_node
            - nav2_time_expired_condition_bt_node
            - nav2_path_expiring_timer_condition
            - nav2_distance_traveled_condition_bt_node
            - nav2_single_trigger_bt_node
            - nav2_goal_updated_controller_bt_node
            - nav2_is_battery_low_condition_bt_node
            - nav2_navigate_through_poses_action_bt_node
            - nav2_navigate_to_pose_action_bt_node
            - nav2_remove_passed_goals_action_bt_node
            - nav2_planner_selector_bt_node
            - nav2_controller_selector_bt_node
            - nav2_goal_checker_selector_bt_node
            - nav2_controller_cancel_bt_node
            - nav2_path_longer_on_approach_bt_node
            - nav2_wait_cancel_bt_node
            - nav2_spin_cancel_bt_node
            - nav2_back_up_cancel_bt_node
            - nav2_assisted_teleop_cancel_bt_node
            - nav2_drive_on_heading_cancel_bt_node
            - nav2_is_battery_charging_condition_bt_node
      

      报错信息:

      [bt_navigator-6] [ERROR] [1698310229.538125499] []: Caught exception in callback for transition 13
      [bt_navigator-6] [ERROR] [1698309361.735674300] []: Original error: Error at line 12: -> Node not recognized: RemovePassedGoals
      [bt_navigator-6] [WARN] [1698309361.735721758] []: Error occurred while doing error handling.
      [bt_navigator-6] [FATAL] [1698309361.735738942] [bt_navigator]: Lifecycle node bt_navigator does not have error state implemented
      [lifecycle_manager-8] [ERROR] [1698309361.736910506] [lifecycle_manager_navigation]: Failed to change state for node: bt_navigator
      
      小鱼小 1 条回复 最后回复 回复 引用 0
      • 小鱼小
        小鱼 技术大佬 @374870361
        最后由 编辑

        @374870361 在 bt_navigator启动报错:Original error: Could not load library: libnav2_smooth_path_action_bt_node.so 中说:

        []: Original error: Error at line 12: -> Node not recognized: RemovePassedGoals

        RemovePassedGoals 这个找找配置文件

        新书配套视频:https://www.bilibili.com/video/BV1GW42197Ck/

        3748703613 1 条回复 最后回复 回复 引用 0
        • 3748703613
          孤独的幸存者 @小鱼
          最后由 编辑

          @小鱼 这个配置文件应该在哪里找呢?

          1 条回复 最后回复 回复 引用 0
          • 31080966853
            暖光
            最后由 编辑

            请问这个问题您解决了吗?

            1 条回复 最后回复 回复 引用 0
            • 第一个帖子
              最后一个帖子
            皖ICP备16016415号-7
            Powered by NodeBB | 鱼香ROS