1.rplidar开启

2.turtlrbot bringup

3. 运行 roslaunch rbx1_nav gmapping_demo.launch 报如下错误:

 MessageFilter [target=odom ]: Dropped 100.00% of messages so far. Please turn the [ros.gmapping.message_notifier] rosconsole logger to DEBUG for more information.

 

参考:https://answers.ros.org/question/246928/messagefilter-dropped-100-of-messages/

和问题 gmapping works in Gazebo but not on robot : https://answers.ros.org/question/218849/gmapping-works-in-gazebo-but-not-on-robot/

解决办法:

1.复制gmapping.launch 文件为gmapping_laser.launch

在 <arg name="scan_topic" default="scan" /> 下添加:

<node pkg="tf" type="static_transform_publisher" name="link1_broadcaster" args="1 0 0 0 0 0 base_link laser 100" />

 2. 改gmapping.demo  应用gmapping_laser.launch。

相关文章:

  • 2021-07-23
  • 2021-05-18
  • 2022-01-14
  • 2021-11-15
  • 2021-09-28
  • 2021-07-27
  • 2022-01-21
  • 2021-07-26
猜你喜欢
  • 2022-12-23
  • 2021-04-12
  • 2021-08-28
  • 2021-05-11
  • 2021-05-20
  • 2022-12-23
  • 2021-03-31
相关资源
相似解决方案