Repository navigation
Commit da0463e
fix(autoware_carla_interface): address Codex review on traffic-light matching
- Use the resolved map origin (`_current_map_origin()`) instead of the raw
`map_origin_x/y` parameters when placing CARLA light heads in the map frame,
so georeferenced maps (origin derived from the OpenDRIVE geoReference in
`on_world_ready`, parameters left at zero) match correctly instead of falling
outside the distance threshold and publishing nothing. (P1)
- Treat a candidate head as a genuine alternative for the ambiguity test unless
its group set is exactly equal to the winner's, replacing the `isdisjoint`
check. Overlapping-but-unequal sets (e.g. {500, 501} vs {501}) would otherwise
be accepted by arbitrary ranking and publish a missing or spurious group. Adds
a regression test. (P2)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Signed-off-by: Masaya Kataoka <cld-masaya.kataoka@tier4.jp>1 parent f79e9ef commit da0463e
3 files changed
Lines changed: 25 additions & 15 deletions
File tree
- simulator/autoware_carla_interface
- src/autoware_carla_interface
- modules
- test
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1225 | 1225 | | |
1226 | 1226 | | |
1227 | 1227 | | |
| 1228 | + | |
| 1229 | + | |
| 1230 | + | |
| 1231 | + | |
| 1232 | + | |
| 1233 | + | |
1228 | 1234 | | |
1229 | 1235 | | |
1230 | 1236 | | |
| |||
1239 | 1245 | | |
1240 | 1246 | | |
1241 | 1247 | | |
1242 | | - | |
1243 | | - | |
1244 | | - | |
1245 | | - | |
1246 | | - | |
| 1248 | + | |
| 1249 | + | |
1247 | 1250 | | |
1248 | 1251 | | |
1249 | 1252 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
193 | 193 | | |
194 | 194 | | |
195 | 195 | | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
201 | 202 | | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | | - | |
| 203 | + | |
207 | 204 | | |
208 | 205 | | |
209 | 206 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
69 | 79 | | |
70 | 80 | | |
71 | 81 | | |
| |||
0 commit comments