ros2 / ros2/ros2cli

Add support for content filters

Open
#1,126 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement help wanted
Dominant language
Python
Stars
262
Forks
228
Avg merge
23h 15m
Merged PRs (30d)
12

Description

Description

Now that content filters are supported in rclpy (https://github.com/ros2/rclpy/pull/1506, https://github.com/ros2/rclpy/pull/1521), it would make a lot of sense to allow passing a content filter to ros2 topic echo|bw|hz.

Motivation

This could serve as a debugging tool for writing the content filters, and also as a practical tool printing/measuring only messages of interest.

Design / Implementation Considerations

No response

Additional Information

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the existing ros2 topic echo, bw, and hz command entry points and the linked rclpy content-filter support. Trace how each command accepts topic-related options and determine a consistent way to pass a content filter. Done means all three commands can apply the filter while retaining their current echoing or measurement behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.