[ WARN] : MessageFilter: Dropped 100.00% of messages so far. Map not publishing anything

asked 2023-08-08 09:52:59 -0500

ibraH gravatar image

I am trying to have two turtlebot burgers survey an area and build a joint map, but before that can even happen I need them to publish their own maps which aren't working. My tf tree and rqt graph look perfect and I made sure that time synch working with NTP between host PC and my two burgers. This is running on ros noetic. I have found similar issues regarding message dropped but none have solved my issue. local and global costmap have static map set to false because I will be putting turtlebots in random environments each time, so no saved map.

Warning/Error:

[ WARN] [1691505177.479033181]: MessageFilter [target=turtlebot2/odom ]: Dropped 100.00% of messages so far. Please turn the [ros.gmapping.message_filter] rosconsole logger to DEBUG for more information. 
[ WARN] [1691505177.486095631]: MessageFilter [target=turtlebot1/odom ]: Dropped 100.00% of messages so far. Please turn the [ros.gmapping.message_filter] rosconsole logger to DEBUG for more information.

When I use DEBUG this is what it outputs:

[DEBUG] [1691506087.001608381]: MessageFilter [target=turtlebot2/odom ]: Added message in frame base_scan at time 1691506087.033, count now 5 
[DEBUG] [1691506087.097630744]: MessageFilter [target=turtlebot2/odom ]: Removed oldest message because buffer is full, count now 5 (frame_id=base_scan, stamp=1691506086.638876)

This is how I launch the turtlebot1/map and turtlebot2/map and am using SLAM gmapping to create the maps <launch> <arg name="model" default="$(env TURTLEBOT3_MODEL)" doc="model type [burger, waffle, waffle_pi]"/> <arg name="open_rviz" default="true"/>

<!-- Launch TurtleBot 1 -->
<group ns="turtlebot1">
    <!-- TurtleBot 3 remote -->
    <include file="$(find turtlebot3_bringup)/launch/turtlebot3_remote.launch">
        <arg name="model" value="$(arg model)" />
        <arg name="multi_robot_name" value="turtlebot1"/>
    </include>

    <!-- Gmapping -->
    <node name="gmapping" pkg="gmapping" type="slam_gmapping" output="screen">
        <param name="base_frame" value="turtlebot1/base_footprint"/>
        <param name="odom_frame" value="turtlebot1/odom"/>
        <param name="map_frame" value="map"/>
        <remap from="scan" to="scan"/>
        <remap from="map" to="map"/>
    </node>

</group>

<!-- Launch TurtleBot 2 -->
<group ns="turtlebot2">
    <!-- TurtleBot 3 remote -->
    <include file="$(find turtlebot3_bringup)/launch/turtlebot3_remote.launch">
        <arg name="model" value="$(arg model)" />
        <arg name="multi_robot_name" value="turtlebot2"/>
    </include>

    <!-- Gmapping -->
    <node name="gmapping" pkg="gmapping" type="slam_gmapping" output="screen">
        <param name="base_frame" value="turtlebot2/base_footprint"/>
        <param name="odom_frame" value="turtlebot2/odom"/>
        <param name="map_frame" value="map"/>
        <remap from="scan" to="scan"/>
        <remap from="map" to="map"/>
    </node>

</group>

<!-- Launch RViz -->
<group if="$(arg open_rviz)">
    <node pkg="rviz" type="rviz" name="rviz" required="true"
        args="-d $(find turtlebot3_slam)/rviz/turtlebot3_gmapping.rviz" />
</group>

</launch> `

I am also like 99% sure my tf tree and rqt_graph are perfect, but I attached a picture of both:

tf_tree rqt_graph

Thanks in advance!

`

edit retag flag offensive close merge delete