Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RViz Message Filter Dropping Messages - "queue is full" Warning #12

Open
srhgrs opened this issue Nov 12, 2024 · 0 comments
Open

RViz Message Filter Dropping Messages - "queue is full" Warning #12

srhgrs opened this issue Nov 12, 2024 · 0 comments

Comments

@srhgrs
Copy link

srhgrs commented Nov 12, 2024

Hello,

I’m encountering an issue in ROS 2 where RViz is dropping messages due to the message filter queue being full. Here’s the specific warning that appears in the terminal:

[rviz2-5] [INFO] [1731406401.541241531] [rviz]: Message Filter dropping message: frame 'base_link' at time 1731406397.810 for reason 'discarding message because the queue is full'

This message seems to suggest that RViz is unable to keep up with the incoming messages for the base_link frame, resulting in some messages being discarded.
Context:

  • I'm using ROS 2 with the robot_state_publisher node to publish my robot's state.

  • My launch file includes the following nodes:

    1. RViz for visualization
    2. Gazebo for simulation
    3. A parameter bridge (parameter_bridge) to handle data between ROS and Gazebo
    4. Several static_transform_publisher nodes to define necessary frame transformations
  • Sensor topics (IMU and LIDAR) have relatively high message frequencies, which might be contributing to this issue.

Question:

  • How can I increase the queue_size for message filters in RViz or in the relevant node configurations?
  • Would increasing the queue_size for specific nodes in my launch file (such as in parameter_bridge or static_transform_publisher) help mitigate this issue?
  • If anyone has encountered a similar issue, are there recommended parameters or adjustments to prevent message drops in RViz?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant