Issues with rtpsgen

rtpsgen is the code generator of FastRTPS. ROS 2 doesn’t use that tool so we have never tried to interact with it. You might want to ask your question on the upstream repo of FastRTPS.