Skip to content

Commit 29dc024

Browse files
committed
Address comments
1 parent 4ba5773 commit 29dc024

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/rmw.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ DefaultRosRMWNameMap.set('eloquent', RMWNames.FASTRTPS);
2727
DefaultRosRMWNameMap.set('foxy', RMWNames.FASTRTPS);
2828
DefaultRosRMWNameMap.set('galactic', RMWNames.CYCLONEDDS);
2929
DefaultRosRMWNameMap.set('humble', RMWNames.FASTRTPS);
30+
DefaultRosRMWNameMap.set('iron', RMWNames.FASTRTPS);
3031
DefaultRosRMWNameMap.set('jazzy', RMWNames.FASTRTPS);
3132
DefaultRosRMWNameMap.set('kilted', RMWNames.FASTRTPS);
3233
DefaultRosRMWNameMap.set('rolling', RMWNames.FASTRTPS);
@@ -37,7 +38,8 @@ const RMWUtils = {
3738
getRMWName: function () {
3839
return process.env.RMW_IMPLEMENTATION
3940
? process.env.RMW_IMPLEMENTATION
40-
: DefaultRosRMWNameMap.get(DistroUtils.getDistroName());
41+
: DefaultRosRMWNameMap.get(DistroUtils.getDistroName()) ||
42+
RMWNames.FASTRTPS;
4143
},
4244
};
4345

0 commit comments

Comments
 (0)