iris-ua / iris_lama_ros

LaMa on ROS
BSD 3-Clause "New" or "Revised" License
208 stars 59 forks source link

[signalFailure] Drop message: frame 'base_scan' at time 9.005 for reason(0) #18

Open atinfinity opened 3 years ago

atinfinity commented 3 years ago

I tried to use slam2d_ros(dashing-devel) with TurtleBot3(Gazebo).
https://github.com/atinfinity/turtlebot3_lama_ros2

But, the following message was displayed.

[slam2d_ros-1] [INFO] [iris_lama_ros2.slam2d_ros]: [signalFailure] Drop message: frame 'base_scan' at time 9.005 for reason(0)
[slam2d_ros-1] [INFO] [iris_lama_ros2.slam2d_ros]: [signalFailure] Drop message: frame 'base_scan' at time 9.206 for reason(0)

On the other hands, I changed to pf_slam2d. It works fine.

takahashi-e6 commented 3 years ago

I changed the file as follows and it worked. Maybe the timeout time was too short.

iris_lama_ros/src/slam2d_ros.cpp(line 111)

tf_buffer_ = std::make_shared<tf2_ros::Buffer>(node->get_clock(), tf2::Duration(30));

 tf_buffer_ = std::make_shared<tf2_ros::Buffer>(node->get_clock());
atinfinity commented 3 years ago

@takahashi-e6 Thank yor for your comment. I will check again.