Skip to content

Add filtering capability to ft_broadcaster - #1814

Merged
christophfroehlich merged 46 commits into
ros-controls:masterfrom
pal-robotics-forks:ft_broadcaster/add-filtering-capability
Sep 3, 2025
Merged

Add filtering capability to ft_broadcaster#1814
christophfroehlich merged 46 commits into
ros-controls:masterfrom
pal-robotics-forks:ft_broadcaster/add-filtering-capability

Conversation

@OscarMrZ

Copy link
Copy Markdown
Contributor

Good morning!

This is a continuation of #559 as it was inactive.

The changes are minimal:

  1. Applied @saikishor suggestions
  • Added sensor_filter_chain to the parameters, which serves as documentation.
  • I removed all the logic about the additional frames. I agree with @saikishor that transforming to different frames should be handled by the user in their application. With this, no tf calls inside the RT are needed.
  • No more publishing NaN if the update of the filter failed.
  1. Added some relevant tests
    IMHO, the previous tests were testing the business logic of the filters themselves, that is, checking that the actual computations were correct, rather than the actual new logic for adding filters. I added three tests for configuring, activating/deactivating, and updating with a configured filter chain. Just one consideration: I changed a little bit the logic of SetUpFTSBroadcaster a little bit to accept a node name. This is because I added some parameters in the YAML that are needed for the broadcaster with filters. I cannot do set_parameter because the filter chain expects the parameters to be overrides.

Thanks a lot for your time!

Óscar

destogl and others added 30 commits April 13, 2023 14:32
Co-authored-by: Xavier Guay <xavguay@gmail.com>
Co-authored-by: Xavier Guay <xavguay@gmail.com>

@christophfroehlich christophfroehlich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread force_torque_sensor_broadcaster/src/force_torque_sensor_broadcaster.cpp Outdated
Comment thread force_torque_sensor_broadcaster/CMakeLists.txt Outdated
OscarMrZ and others added 2 commits August 12, 2025 09:15
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
@OscarMrZ

Copy link
Copy Markdown
Contributor Author

Good morning @christophfroehlich!

Sorry for the delay, things get slower in summer! 😄

Everything should be ready for merging. Please let me know if you think further changes may be needed.

Thanks a lot for your assistance!

Comment thread force_torque_sensor_broadcaster/src/force_torque_sensor_broadcaster.cpp Outdated
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
Comment thread force_torque_sensor_broadcaster/src/force_torque_sensor_broadcaster.cpp Outdated
Comment thread force_torque_sensor_broadcaster/src/force_torque_sensor_broadcaster.cpp Outdated
saikishor and others added 2 commits September 3, 2025 10:59
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>

@christophfroehlich christophfroehlich left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the follow-ups, LGTM!

@saikishor saikishor left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@christophfroehlich
christophfroehlich merged commit 4f9c462 into ros-controls:master Sep 3, 2025
24 of 27 checks passed
@christophfroehlich
christophfroehlich deleted the ft_broadcaster/add-filtering-capability branch September 3, 2025 12:13
@christophfroehlich christophfroehlich added the backport-jazzy Triggers PR backport to ROS 2 jazzy. label Sep 23, 2025
mergify Bot pushed a commit that referenced this pull request Sep 23, 2025
Co-authored-by: Denis Štogl <denis@stogl.de>
Co-authored-by: Guillaume Walck <guihome@wanadoo.fr>
Co-authored-by: Christoph Froehlich <christoph.froehlich@ait.ac.at>
Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com>
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
Co-authored-by: Xavier Guay <xavguay@gmail.com>
Co-authored-by: Aarav Gupta <amronos275@gmail.com>
Co-authored-by: Oscar Lima <olima_84@yahoo.com>
Co-authored-by: Hilary Luo <103377417+hilary-luo@users.noreply.github.com>
Co-authored-by: Sai Kishor Kothakota <saisastra3@gmail.com>
Co-authored-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
(cherry picked from commit 4f9c462)

# Conflicts:
#	doc/release_notes.rst
#	force_torque_sensor_broadcaster/src/force_torque_sensor_broadcaster.cpp
christophfroehlich added a commit that referenced this pull request Sep 23, 2025
Co-authored-by: Óscar Martínez Martínez <oscar.robotics@tutanota.com>
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
greencookie-afk pushed a commit to greencookie-afk/ros2_controllers that referenced this pull request Apr 24, 2026
Co-authored-by: Denis Štogl <denis@stogl.de>
Co-authored-by: Guillaume Walck <guihome@wanadoo.fr>
Co-authored-by: Christoph Froehlich <christoph.froehlich@ait.ac.at>
Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com>
Co-authored-by: Christoph Fröhlich <christophfroehlich@users.noreply.github.com>
Co-authored-by: Xavier Guay <xavguay@gmail.com>
Co-authored-by: Aarav Gupta <amronos275@gmail.com>
Co-authored-by: Oscar Lima <olima_84@yahoo.com>
Co-authored-by: Hilary Luo <103377417+hilary-luo@users.noreply.github.com>
Co-authored-by: Sai Kishor Kothakota <saisastra3@gmail.com>
Co-authored-by: Sai Kishor Kothakota <sai.kishor@pal-robotics.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-jazzy Triggers PR backport to ROS 2 jazzy.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants