Skip to content

Commit 358ebc1

Browse files
satoshi-otaStepTurtle
authored andcommitted
fix(avoidance): ghost debug markers due to duplicated marker id (autowarefoundation#6330)
fix(avoidance): fix duplicated marker id Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
1 parent 7a038c2 commit 358ebc1

File tree

1 file changed

+1
-1
lines changed
  • planning/behavior_path_avoidance_module/src

1 file changed

+1
-1
lines changed

planning/behavior_path_avoidance_module/src/debug.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ int32_t uuidToInt32(const unique_identifier_msgs::msg::UUID & uuid)
4747
int32_t ret = 0;
4848

4949
for (size_t i = 0; i < sizeof(int32_t) / sizeof(int8_t); ++i) {
50-
ret <<= sizeof(int8_t);
50+
ret <<= sizeof(int8_t) * 8;
5151
ret |= uuid.uuid.at(i);
5252
}
5353

0 commit comments

Comments
 (0)