slam_toolbox and nav2 Filter dropping message: frame 'laser' and crash

asked 2022-04-15 03:29:43 -0500

Dr.Modi gravatar image

updated 2022-04-15 03:31:48 -0500

Hello! I use ROS2 Eloquent on my Jetson Nano with RPLIDAR (Slamtec S1) and ZED2i camera for which I have the official packages installed. I want to use slam_toolbox and Nav2 but I am facing a problem. When I run urdf, zed2 and lidar and then slam_toolbox I get a message that all is well:

[slam_toolbox-1] Registering sensor: [Custom Described Lidar]

slam finds the lidar and starts building the map. Then I found two ways to see the problem. 1) In Rviz2 I add PointCloud2 which is provided by ZED2i and when my platform moves I get a lot of errors like this:

[slam_toolbox-1] [INFO] [slam_toolbox]: Message Filter dropping message: frame 'laser' at time 1650007893.861 for reason 'Unknown'

2) After ros2 launch nav2_bringup nav2_navigation_launch.py ​​for a while, I see that everything works, but slam_toolbox sends a lot of messages like this:

[slam_toolbox-1] [INFO] [slam_toolbox]: Message Filter dropping message: frame 'laser' at time 1650008271.750 for reason 'Unknown'

And after some time I get this:

[ERROR] [slam_toolbox-1]: process has died [pid 10386, exit code -11, cmd '/opt/ros/eloquent/lib/slam_toolbox/async_slam_toolbox_node --ros-args --params-file /opt/ros/ eloquent/share/slam_toolbox/config/mapper_params_online_async.yaml']. 

[controller_server-1] double free or corruption (fasttop)
[ERROR] [controller_server-1]: process has died [pid 8971, exit code -6, cmd '/home/robot/nav2_ws/install/nav2_controller/lib/nav2_controller/controller_server --ros-args --params-file /tmp/tmp396zgd71        '].

[planner_server-2] double free or corruption (fasttop)
[ERROR] [planner_server-2]: process has died [pid 8982, exit code -6, cmd '/home/robot/nav2_ws/install/nav2_planner/lib/nav2_planner/planner_server --ros-args -r __node:=planner_server --params-file /tmp/tmp0fiju_pr        '].

I really don't quite understand why this is happening and where I should look for the error. I can only say that neither slam_toolbox nor nav2 I did not subject to any settings after installation.

edit retag flag offensive close merge delete