Repository navigation
Commit 859fc2d
authored
fix(autoware_carla_interface): publish every camera type, not only sensor.camera.rgb (#13409)
The spawn path accepts any sensor.camera.* blueprint and the publisher
lookup matches the same prefix, but publisher creation and the publish
dispatch compared the type exactly against sensor.camera.rgb. A mapping
naming CARLA's depth or semantic segmentation camera therefore spawned
the sensor, got a "Unknown sensor type" warning instead of publishers,
and then dropped every frame it produced into a debug log.
These cameras deliver the same BGRA frame through the same callback and
want the same pair of image/camera_info publishers, so match the prefix
in both places, as the other two paths already do.
Claude-Session: https://claude.ai/code/session_011TMdPd8VUDxUrFtckxg2AQ
Signed-off-by: ujinf74 <ujin@tukorea.ac.kr>1 parent 7e5be2a commit 859fc2d
3 files changed
Lines changed: 12 additions & 2 deletions
File tree
- simulator/autoware_carla_interface
- src/autoware_carla_interface
- modules
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
298 | 298 | | |
299 | 299 | | |
300 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
301 | 306 | | |
302 | 307 | | |
303 | 308 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1659 | 1659 | | |
1660 | 1660 | | |
1661 | 1661 | | |
1662 | | - | |
| 1662 | + | |
1663 | 1663 | | |
1664 | 1664 | | |
1665 | 1665 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
127 | | - | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
128 | 133 | | |
129 | 134 | | |
130 | 135 | | |
| |||
0 commit comments