Where is the binary of test_tf2_sensor_msgs ?
The ROS package tf2_sensor_msgs (from the repo geometry2) comes with a test program
geometry2/tf2_sensor_msgs/test/test_tf2_sensor_msgs.cpp
I suppose this program can be built and executed by colcon test
. It works from my docker machine:
root@9da72d8e03df:~/ros2_ws# colcon test --packages-select tf2_sensor_msgs
Starting >>> tf2_sensor_msgs
Finished <<< tf2_sensor_msgs [0.05s]
Question: Where is the binary generated from test_tf2_sensor_msgs.cpp
? I would need to invoke the generated binary from the command line without using colcon
directly.
I've updated the title of your question, as you're not looking for "the generated binary of colcon test", but for
test_tf2_sensor_msgs
.