msg/tools/generate_microRTPS_bridge.py allow ROS2 distro humble

Co-authored-by: Claudio Fritsche <claudio@onesecdelivery.com>
This commit is contained in:
Claudio
2023-01-23 09:48:24 -05:00
committed by GitHub
co-authored by Claudio Fritsche
parent 37cb24afd8
commit 2295ee9164
+1 -1
View File
@@ -354,7 +354,7 @@ def generate_agent(out_dir):
# the '-typeros2' option in fastrtpsgen.
# .. note:: This is only available in FastRTPSGen 1.0.4 and above
gen_ros2_typename = ""
if ros2_distro and ros2_distro in ['dashing', 'eloquent', 'foxy', 'galactic', 'rolling'] and fastrtpsgen_version >= version.Version("1.0.4"):
if ros2_distro and ros2_distro in ['dashing', 'eloquent', 'foxy', 'galactic', 'humble', 'rolling'] and fastrtpsgen_version >= version.Version("1.0.4"):
gen_ros2_typename = "-typeros2 "
idl_files = []