Skip to content

Commit 101e018

Browse files
Fix import of dock_name from legacy buildings (#422)
Signed-off-by: Luca Della Vedova <lucadv@intrinsic.ai>
1 parent ff5fa9e commit 101e018

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

crates/rmf_site_format/src/legacy/building_map.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -678,14 +678,14 @@ impl BuildingMap {
678678
OrientationConstraint::None
679679
},
680680
speed_limit: None,
681-
dock: left_dock,
681+
dock: right_dock,
682682
};
683683

684684
let reverse = if !lane.2.bidirectional.1 {
685685
ReverseLane::Disable
686-
} else if right_dock != motion.dock {
686+
} else if left_dock != motion.dock {
687687
ReverseLane::Different(Motion {
688-
dock: right_dock,
688+
dock: left_dock,
689689
..motion.clone()
690690
})
691691
} else {

0 commit comments

Comments
 (0)