geometry2 icon indicating copy to clipboard operation
geometry2 copied to clipboard

tf2_tools.view_frames and tf2_ros.tf2_monitor - allow configurable topics

Open Ryanf55 opened this issue 1 year ago • 2 comments

Feature request

Feature description

In ArduPilot, we namespace all our topics, including TF, so they can be remapped at launch time. We want to run the view_frames tool on the frames published by ArduPilot, but we can't unless we remap them. In a large system, it's nice to be able to run diagnostics without changing the behavior of the system.

Implementation considerations

Add the following options

  • tf_static_topic which defaults to the exist tf_static
  • tf_topic which defaults to the existing tf

Example usage: ros2 run tf2_tools view_frames --tf_static_topic=/ap/tf_static --tf_topic=/ap/tf

Ryanf55 avatar Sep 11 '24 21:09 Ryanf55

That seems like a reasonable feature request to me. Please feel free to open a PR implementing it, we are happy to review.

clalancette avatar Sep 11 '24 22:09 clalancette

Thanks, I'll put this together. Please assign me.

Ryanf55 avatar Sep 11 '24 22:09 Ryanf55