-
Notifications
You must be signed in to change notification settings - Fork 130
Add TYPE_TRUCK to vehicle classifications #585
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Not sure who is best placed to review this. @adrianschultz as you recently added an issue about vehicle classification I'm starting with you :) please feel free to reassign, or add people, if you think they are better placed or would be interested. Also, I realise I've raised a few harmonisation issues recently, if it would be helpful for me to come along to a harmonisation working group meeting do drop me an invite. Thanks! |
Adding the |
OSI CCB 10.11.2021:
Please also add info about mapping to OpenSCENARIO. |
I've done as suggested and added semi-tractor, rather than removing semi-trailer. I've also tried to write down the mapping for each type to its OSC 1.x and 2.x counterparts. In particular, it is worth noting that OSC 2.x (and also OpenLABEL I believe) while both still being defined, they seem to be going the way of a few broad types rather than more narrower types. It sounds like consensus is that there is value in OSI have a richer set of vehicle types than OpenScenario / OpenLabel. I would strongly encourage that reasoning to be captured within the OSI definitions as a record for future users and a more permanent record of these discussion. I'm not sure what the reasoning is, so I've left a placeholder for now. @HendrikAmelunxen is that something you can provide based on the last CCB discussion? |
osi_object.proto
Outdated
// | ||
TYPE_SEMITRACTOR = 16; | ||
|
||
// This vehicle is a trailer unit for an articulated vehicle. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggestion:
This vehicle is a semi-trailer that can be pulled by a semi-tractor.
Definition: A semi-trailer is a trailer without a front axle. The front part of the semi-trailer is mounted on the semi-tractor which leads to a significant overlap of the bounding-boxes of semi-tractor and semi-trailer.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd have thought most trailers don't have a front axle? A quick google search of "car trailer" suggests most have only rear or mid axles.
Perhaps the distinction is instead weight or size rather than axles or joining mechanism / overlap?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are different trailer types, e.g., trailers with one axle in the middle or a tandem trailer. These are mainly towed by vehicles or agricultural vehicles.
Trailers towed by trucks mostly have either a front and a rear axle (often referred to as “full-trailer”) or just one or more rear-axle(s) (“semi-trailer”). The semi-trailer is towed by a semi-tractor, which is not able to carry additional loads, but its only purpose is to tow the semi-trailer. “full-trailer” can be towed by trucks or agricultural vehicles. One specialty is a dolly, which is an adapter to couple semi-trailer to trucks or agricultural vehicle or generate road trains consisting of semi-trailers. This dolly variant transforms semi-trailers into full-trailers and should be handled like full-trailers.
I think semi-trailers should be handled with a separate type since they are widely used and have special characteristics due to their coupling mechanism. In that regard, it also makes to have semi-tractors as separate types to describe the pulling part for semi-trailers.
It might be reasonable to introduce the full-trailer as an additional trailer variant. By this we would have:
full-trailer: for big trailers with front and rear axle
Semi-trailer: for semi-tractor + semi-trailer couplings
Trailer: describing the general vehicle trailers
Would that be an approach?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed in the harmonisation meeting. This is a complex area and trying to define precise boundaries between types is more than we want to take on as part of this PR which is primarily about clarifying semi-trailer / tractor definitions.
As such, I have remove any new attempts at defining boundaries, and I have written a note in the top level enum comment indicating that the imprecise boundaries are deliberate and left to the implementor to decide on in their specific use case.
Does that work for you?
As we have discussed it in the last Harmonization group meeting, two points:
|
We can do these, but given we already know there are fuzzy boundaries and are saying defining the boundaries is left as an exercise for the user, I don't know if it is correct to try and then add guides which do try and precise the boundaries. |
Removed all references to OSC. |
@stmswald those outlines look good to me. |
@stmswald I think that helps to distinguish between the different trucks and trailer types. Maybe an additional shape for the trailer makes sense, like |
@stmswald / @HendrikAmelunxen what's the next step here? I'm assuming we need to turn those outlines into Is one of you looking at doing that? |
Signed-off-by: Markus Waldmann <Markus.Waldmann@stud.hs-kempten.de>
After discussing with @stmswald via email we think it would be good to get review from the CCB. There are two things which we are unsure about with the documentation images that it would be good to get some feedback on from the CCB.
|
@caspar-ai Currently the images are too big, and I think it would make sense to have them in black and white in order to be more aligned with the other images. I think, a styleguide for images does not exist though. I think it would make sense to scale the images down and make them in black and white. After that it would make sense to contact CCB. |
Fixed up the images to be both smaller, and black outline drawings. Given no particular style I've gone for the slightly "hand drawn" style using https://excalidraw.com/ hopefully they are OK. Adding back in the CCB label based on the comment above, but let me know if you think they need tweaking again first. |
Output CCB 02.03.2022:
|
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>
Specifically removing renaming of heavy-truck -> truck and defining the mapping instead. Signed-off-by: Caspar de Haes <caspar.dehaes@five.ai>
Signed-off-by: Caspar de Haes <caspar.dehaes@five.ai>
Specifically regarding the mapping from OSC 2.x. Signed-off-by: Caspar de Haes <caspar.dehaes@five.ai>
Signed-off-by: Caspar de Haes <caspar.dehaes@five.ai>
Don't attempt to provide precise ways of distinguishing between types at this stage. Signed-off-by: Caspar de Haes <caspar.dehaes@five.ai>
Signed-off-by: Caspar de Haes <caspar.dehaes@five.ai>
Signed-off-by: Caspar de Haes <caspar.dehaes@five.ai>
Signed-off-by: Markus Waldmann <Markus.Waldmann@stud.hs-kempten.de>
Signed-off-by: Caspar de Haes <caspar.dehaes@five.ai>
Signed-off-by: Caspar de Haes <caspar.dehaes@five.ai>
a7ec9f6
to
20c4f74
Compare
Signed-off-by: Markus Waldmann <Markus.Waldmann@stud.hs-kempten.de> Signed-off-by: Adrian Vernickel <adrian.vernickel@hexagon.com>
To align with OpenSCENARIO and OpenLABEL. Also deprecate the use of TYPE_HEAVY_TRUCK and TYPE_SEMITRAILER as ambiguous.
For more details see #583.
Take this checklist as orientation for yourself, if this PR is ready for the Change Control Board:
If you can’t check all of them, please explain why.
If all boxes are checked or commented and you have achieved at least one positive review, you can assign the label ReadyForCCBReview!