Skip to content

Commit

Permalink
ROS2/microRTPS: Add support for ROS2 Galactic and ROS2 Rolling (#17664)
Browse files Browse the repository at this point in the history
microRTPS: generate_microRTPS_bridge: add support for ROS2 versions
* Galactic
* Rolling
  • Loading branch information
TSC21 committed May 27, 2021
1 parent ad53456 commit f9fe0e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion msg/tools/generate_microRTPS_bridge.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,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'] and fastrtpsgen_version >= version.Version("1.0.4"):
if ros2_distro and ros2_distro in ['dashing', 'eloquent', 'foxy', 'galactic', 'rolling'] and fastrtpsgen_version >= version.Version("1.0.4"):
gen_ros2_typename = "-typeros2 "

for idl_file in glob.glob(os.path.join(idl_dir, "*.idl")):
Expand Down

0 comments on commit f9fe0e3

Please sign in to comment.