Skip to content

Commit 45f045f

Browse files
Adapt vehicle types from openx harmonization
Signed-off-by: Thomas Sedlmayer <[email protected]>
1 parent 3af2351 commit 45f045f

File tree

2 files changed

+94
-15
lines changed

2 files changed

+94
-15
lines changed

.github/spelling_custom_words_en_US.txt

+1
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,7 @@ Hagen
161161
halten
162162
hier
163163
Hochwasser
164+
hoverboards
164165
href
165166
hsv
166167
htm

osi_object.proto

+93-15
Original file line numberDiff line numberDiff line change
@@ -808,7 +808,9 @@ message MovingObject
808808
//
809809
TYPE_COMPACT_CAR = 3;
810810

811-
// Vehicle is a car.
811+
// A car is a motorized vehicle designed primarily for passenger
812+
// transportation.
813+
// Typically has four wheels.
812814
//
813815
// This is to be used for all car-like vehicles, without any
814816
// further differentiated type available.
@@ -835,67 +837,143 @@ message MovingObject
835837
//
836838
// \image html OSI_TYPE_DELIVERY_VAN.svg
837839
//
840+
// \note Deprecated differentiation, use TYPE_VAN instead
841+
//
838842
TYPE_DELIVERY_VAN = 6;
839843

840-
// Vehicle is a (heavy) truck.
844+
// A van is a motorized vehicle with a larger cargo area than a car,
845+
// used for transporting goods or people.
846+
//
847+
TYPE_VAN = 6;
848+
849+
// A heavy truck is a large commercial vehicle designed for
850+
// transporting heavy loads.
851+
// The cargo area is rigidly fixed to the vehicle itself.
841852
//
842853
// \image html OSI_TYPE_HEAVY_TRUCK.svg
843854
//
844855
TYPE_HEAVY_TRUCK = 7;
845856

846-
// Vehicle is a tractor capable of pulling a semi-trailer.
857+
// A semi-tractor is a vehicle designed for towing semi-trailers for
858+
// the transportation of heavy loads.
847859
//
848860
// \image html OSI_TYPE_SEMITRACTOR.svg
849861
//
850862
TYPE_SEMITRACTOR = 16;
851863

852-
// This vehicle is a semi-trailer that can be pulled by a
864+
// A semi-trailer is a vehicle designed for being towed by a
865+
// semi-tractor.
866+
// Characteristics compared to a regular trailer are the large size,
867+
// the fact that a large portion of the weight is supported at the
868+
// hitch and a large overlap with the towing vehicle, i.e. the
853869
// semi-tractor.
854870
//
855-
// \note The vehicle can be, but doesn't need to be,
856-
// attached to another vehicle.
871+
// \note The vehicle can be, but doesn't need to be, attached to
872+
// another vehicle.
857873
//
858874
// \image html OSI_TYPE_SEMITRAILER.svg
859875
//
860876
TYPE_SEMITRAILER = 8;
861877

862-
// Vehicle is a trailer.
878+
// A trailer is a non-motorized vehicle designed for being towed by
879+
// a motorized vehicle to carry goods, animals or people.
863880
//
864-
// \note The vehicle can be, but doesn't need to be,
865-
// attached to another vehicle.
881+
// \note The vehicle can be, but doesn't need to be, attached to
882+
// another vehicle.
866883
//
867884
// \image html OSI_TYPE_TRAILER.svg
868885
//
869886
TYPE_TRAILER = 9;
870887

871888
// Vehicle is a motorbike or moped.
872889
//
890+
// \note Deprecated differentiation, use TYPE_MOTORCYCLE instead
891+
//
873892
TYPE_MOTORBIKE = 10;
874893

875-
// Vehicle is a bicycle (without motor and specific lights).
894+
// A motorcycle is a motorized vehicle designed primarily for
895+
// passenger transportation.
896+
// Compared to a car, typically fewer passive safety features such
897+
// as a full passenger cell are present.
898+
// This category includes typical two-wheeled motorcycles, but also
899+
// three-wheeled vehicles like motorcycles with side-cars or even
900+
// trikes.
901+
//
902+
TYPE_MOTORCYCLE = 10;
903+
904+
// A bicycle is a human-powered or motor-assisted, pedal-driven
905+
// vehicle.
906+
// This category includes typical two-wheeled bicycles, but
907+
// also cargo-bikes and alike with more than two wheels.
876908
//
877909
TYPE_BICYCLE = 11;
878910

879-
// Vehicle is a bus.
911+
// A bus is a motorized vehicle designed to carry multiple
912+
// passengers.
880913
//
881914
TYPE_BUS = 12;
882915

883-
// Vehicle is a tram.
916+
// A tram is a vehicle designed for using rail infrastructure for
917+
// the transport of passengers on rail infrastructure.
918+
// The rail infrastructure may fully or partially overlap with
919+
// public road infrastructure.
920+
// In contrast to trains, trams do not have exclusive right-of-way.
921+
// Often as a series of connected vehicles.
884922
//
885923
TYPE_TRAM = 13;
886924

887-
// Vehicle is a train.
925+
// A train is a vehicle designed for the transport of passengers and
926+
// freight on rail infrastructure.
927+
// The rail infrastructure for trains is mostly grade-separated from
928+
// the public road infrastructure as trains have exclusive
929+
// right-of-way.
930+
// Therefore, in case crossings with the road infrastructure occur,
931+
// the exclusive right-of-way is ensured, e.g. by railway barriers.
932+
// Often as a series of connected vehicles.
888933
//
889934
TYPE_TRAIN = 14;
890935

891936
// Vehicle is a wheelchair.
892937
//
893938
TYPE_WHEELCHAIR = 15;
894939

895-
// Vehicle is a stand-up scooter, including
896-
// motorized versions.
940+
// Vehicle is a stand-up scooter, including motorized versions.
897941
//
898942
TYPE_STANDUP_SCOOTER = 17;
943+
944+
// A micro-mobility device is a small, lightweight vehicle for
945+
// short-distance travel excluding bicycles (e.g. electric stand-up
946+
// scooters, hoverboards and wheelchairs).
947+
//
948+
TYPE_MICROMOBILITY_DEVICE = 18;
949+
950+
// A work-machine is a vehicle designed for specific tasks (e.g.,
951+
// construction equipment, agricultural tractors, forklifts).
952+
//
953+
TYPE_WORK_MACHINE = 19;
954+
955+
// A watercraft is a vehicle designed for travel on water (boats,
956+
// ships, etc.).
957+
//
958+
// \note This category is intentionally unspecific and may be
959+
// detailed out in future versions if use-cases require so.
960+
//
961+
TYPE_WATERCRAFT = 20;
962+
963+
// An aircraft is a vehicle designed for flight through the air
964+
// (airplanes, helicopters, etc.).
965+
//
966+
// \note This category is intentionally unspecific and may be
967+
// detailed out in future versions if use-cases require so.
968+
//
969+
TYPE_AIRCRAFT = 21;
970+
971+
// A land vehicle is a vehicle designed for travel on land.
972+
//
973+
// \note This category is intentionally unspecific and may be
974+
// detailed out in future versions if use-cases require so.
975+
//
976+
TYPE_LAND_VEHICLE = 22;
899977
}
900978

901979
// The type of the vehicle.

0 commit comments

Comments
 (0)