So I currently know you can use fastddsgen -typeros2 -example CMake Message.idl to generate a FastDDS publisher and subscriber that can then interact with ROS2 topics of the same message type.
However, I would like to do the same but with ROS2 services instead of ROS2 topics. In this other repo, there are files that are similar to the generated FastDDSGen files, but for services. Is there a command with FastDDSGen or another tool that will autogenerate these files that will allow me to interact with ROS2 services? (I would rather not use the Integration Service as I would like more direct communication as opposed to this added layer.)
So I currently know you can use
fastddsgen -typeros2 -example CMake Message.idlto generate a FastDDS publisher and subscriber that can then interact with ROS2 topics of the same message type.However, I would like to do the same but with ROS2 services instead of ROS2 topics. In this other repo, there are files that are similar to the generated FastDDSGen files, but for services. Is there a command with FastDDSGen or another tool that will autogenerate these files that will allow me to interact with ROS2 services? (I would rather not use the Integration Service as I would like more direct communication as opposed to this added layer.)