Skip to content

Commit 1862556

Browse files
committed
Clarify tram and train mappings
Specifically regarding the mapping from OSC 2.x. Signed-off-by: Caspar de Haes <caspar.dehaes@five.ai>
1 parent d41b713 commit 1862556

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

osi_object.proto

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -841,29 +841,31 @@ message MovingObject
841841
//
842842
// This corresponds to "bicycle" in OpenScenario 1.x.
843843
//
844-
// This is one of the OSI types which map from "VRU_vehicle" in OpenScenario 2.x.
844+
// This is one of the OSI types which map from "bus" in OpenScenario 2.x.
845845
//
846846
TYPE_BICYCLE = 11;
847847

848848
// Vehicle is a bus.
849849
//
850850
// This corresponds to "bus" in both OpenScenario 1.x and 2.x.
851851
//
852+
// This is one of the OSI types which map from "bus" in OpenScenario 2.x.
853+
//
852854
TYPE_BUS = 12;
853855

854856
// Vehicle is a tram.
855857
//
856858
// This corresponds to "tram" in OpenScenario 1.x.
857859
//
858-
// This has no equivalent in OpenScenario 2.x.
860+
// This is one of the OSI types which map from "bus" in OpenScenario 2.x.
859861
//
860862
TYPE_TRAM = 13;
861863

862864
// Vehicle is a train.
863865
//
864866
// This corresponds to "train" in OpenScenario 1.x.
865867
//
866-
// This has no equivalent in OpenScenario 2.x.
868+
// This is one of the OSI types which map from "bus" in OpenScenario 2.x.
867869
//
868870
TYPE_TRAIN = 14;
869871

0 commit comments

Comments
 (0)