Commit e0ae6de
authored
Add rmw_zenoh_cpp as RMW vendor and update dist (#1487)
**Changes:**
- **`lib/rmw.js`**
- Added `ZENOH: 'rmw_zenoh_cpp'` to `RMWNames` constants
- Added missing `iron`, `jazzy`, and `kilted` distro entries to `DefaultRosRMWNameMap` (all default to `rmw_fastrtps_cpp`)
- Added safe fallback to `getRMWName()` — returns `rmw_fastrtps_cpp` when the distro is not in the map and `RMW_IMPLEMENTATION` is unset, preventing `undefined` from causing incorrect feature gating
- **`test/test-subscription-content-filter.js`**
- Updated `isContentFilteringSupported()` to exclude `rmw_zenoh_cpp`, which does not support content filtering
**Context:**
`rmw_zenoh_cpp` was promoted to Tier 1 in ROS 2 Kilted Kaiju and is actively referenced in `rclpy` tests for conditional behavior. rclnodejs was missing it entirely from its RMW vendor registry. The `DefaultRosRMWNameMap` was also missing entries for multiple known distros (`iron`, `jazzy`, `kilted`), and `getRMWName()` had no fallback for unmapped distros.
Fix: #14861 parent e90e098 commit e0ae6de
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
29 | 33 | | |
30 | 34 | | |
31 | 35 | | |
| |||
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
37 | | - | |
| 41 | + | |
| 42 | + | |
38 | 43 | | |
39 | 44 | | |
40 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
0 commit comments