temporarily treat u-turn restrictions as left turns, for #27

This commit is contained in:
Dustin Carlino 2020-03-13 10:50:11 -07:00
parent 10a8466d5d
commit 4634ae094b

View File

@ -233,6 +233,11 @@ impl Lane {
"slight_left" | "slight left" | "merge_to_left" => {
vec![TurnType::Straight, TurnType::LaneChangeLeft, TurnType::Left]
}
"reverse" => {
// TODO We need TurnType::UTurn. Until then, u-turns usually show up as
// left turns.
vec![TurnType::Left]
}
_ => panic!("What's turn restriction {}?", s),
})
.collect(),