generate_microRTPS_bridge.py updated to support ROS2 humble

Signed-off-by: Agata Barcis <agata.barcis@tii.ae>
This commit is contained in:
Agata Barcis 2022-07-29 15:40:53 +04:00 committed by Nuno Marques
parent 638eff426a
commit d5d88cba5b
1 changed files with 1 additions and 1 deletions

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 = []