Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
102 changes: 93 additions & 9 deletions osi_object.proto
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ message Vehicle

// The base parameters of the vehicle (as a characteristic moving object).
//
// \note The bounding box includes mirrors.
//
optional BaseMoving base = 2;

// The type of the vehicle.
Expand Down Expand Up @@ -91,6 +93,18 @@ message Vehicle
// through.
optional double ground_clearance = 12;

// Median radius of the wheels.
//
// Unit: [m]
//
optional double radius_wheel = 13;

// Number of independent wheels.
//
// Unit: []
//
optional uint32 number_wheels = 14;

// Definition of vehicle types.
//
enum Type
Expand All @@ -102,26 +116,72 @@ message Vehicle
// Other (unspecified but known) type of vehicle.
//
TYPE_OTHER = 1;

// Vehicle is a small car.
//
// Definition:
//
TYPE_SMALL_CAR = 2;

// Vehicle is a medium car.
//
// Definition:
//
TYPE_MEDIUM_CAR = 3;

// Vehicle is a compact car.
//
// Definition:
//
TYPE_COMPACT_CAR = 4;

// Vehicle is a luxury car.
//
// Definition:
//
TYPE_LUXURY_CAR = 5;

// Vehicle is a delivery van.
//
// Definition:
//
TYPE_DELIVERY_VAN = 6;

// Vehicle is a normal car.
// Vehicle is a heavy truck.
//
TYPE_CAR = 2;
TYPE_HEAVY_TRUCK = 7;

// Vehicle is a truck, bus, or large van.
// Vehicle is a truck with semitrailer.
//
TYPE_TRUCK = 3;
TYPE_SEMITRAILER = 8;

// Vehicle is a trailer (possibly attached to another vehicle).
//
TYPE_TRAILER = 9;

// Vehicle is a motorbike or moped.
//
TYPE_MOTORBIKE = 4;
TYPE_MOTORBIKE = 10;

// Vehicle is a bicycle (without motor and specific lights).
//
TYPE_BICYCLE = 5;
TYPE_BICYCLE = 11;

// Vehicle is a trailer (possibly attached to another vehicle).
// Vehicle is a bus.
//
TYPE_BUS = 12;

// Vehicle is a tram.
//
TYPE_TRAM = 13;

// Vehicle is a train.
//
TYPE_TRAIN = 14;

// Vehicle is a wheelchair.
//
TYPE_TRAILER = 6;
TYPE_WHEELCHAIR = 15;
}

//
Expand Down Expand Up @@ -204,7 +264,7 @@ message Vehicle

// Light is off.
//
GENERIC_LIGHT_STATE_OFF = 2;
GENERIC_LIGHT_STATE_OFF = 2;

// Light is on.
//
Expand Down Expand Up @@ -332,5 +392,29 @@ message StationaryObject
// Object is a delineator (e.g. at a construction site).
//
TYPE_DELINEATOR = 6;

// Object is a pole.
//
TYPE_POLE = 2000;

// Object is a tree.
//
TYPE_TREE = 2001;

// Object is a barrier.
//
TYPE_BARRIER = 2002;

// Object is vegetation.
//
TYPE_VEGETATION = 2003;

// Object is a curbstone.
//
TYPE_CURBSTONE = 2004;

// Object is a wall.
//
TYPE_WALL = 2005;
}
}