Skip to content

Commit 7dbbda8

Browse files
committed
Add TYPE_TRUCK to vehicle classifications
To align with OpenSCENARIO and OpenLABEL. Also deprecate the use of TYPE_HEAVY_TRUCK and TYPE_SEMITRAILER as ambiguous. Signed-off-by: Caspar de Haes <caspar.dehaes@five.ai>
1 parent 96350db commit 7dbbda8

File tree

1 file changed

+15
-2
lines changed

1 file changed

+15
-2
lines changed

osi_object.proto

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -771,11 +771,13 @@ message MovingObject
771771
//
772772
TYPE_DELIVERY_VAN = 6;
773773

774-
// Vehicle is a heavy truck.
774+
// This vehicle type is deprecated. See TYPE_TRUCK for more
775+
// details.
775776
//
776777
TYPE_HEAVY_TRUCK = 7;
777778

778-
// Vehicle is a truck with semitrailer.
779+
// This vehicle type is deprecated. See TYPE_TRUCK for more
780+
// details.
779781
//
780782
TYPE_SEMITRAILER = 8;
781783

@@ -806,6 +808,17 @@ message MovingObject
806808
// Vehicle is a wheelchair.
807809
//
808810
TYPE_WHEELCHAIR = 15;
811+
812+
// Vehicle is a truck.
813+
//
814+
// Definition: any large vehicle used for transport of goods
815+
// or materials. Covers all rigid body vehicles, irrespective
816+
// of the number of axles. For articulated vehicles, the tractor
817+
// and trailer(s) should be reported as separate moving objects
818+
// with TYPE_TRUCK used for the tractor, and TYPE_TRAILER used
819+
// for all trailers.
820+
//
821+
TYPE_TRUCK = 16;
809822
}
810823

811824
//

0 commit comments

Comments
 (0)