-
Notifications
You must be signed in to change notification settings - Fork 130
Move assigned_lane_id in osi_object.proto to VehicleClassification #368
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
That would definitely be a better option for now, and we could deprecate the original field (or even delete without renumbering). That said, I'd also think that this should merge the percentage fields in DetectedMovingObject into this new field as well, e.g. something like:
|
@pmai ok, have reverted the last commit and left the lane id in vehicle classification.
|
These are the changes I had in mind. However looking at the overall situation it seems to me that assigned lanes also should apply to non-vehicle moving objects potentially (e.g. pedestrians, animals, ...); which might have been the reason why the fields were not initially put into the VehicleClassification. So a cleaner solution might be to introduce a MovingObjectClassification, and move those fields there... Any opinions on this? |
Discussed in WP "OSI as a measurement file" from @ThomasSchloemicherAVL (2020-12-02) that it is Ready for CCB review. |
I have thought about this topic again. Isn't the information semantically different depending on where it is located. So currently it is inside DetectedMovingObject which means that it is the output of the sensor model (so how the sensors see the world, which might be different to Ground Truth). VehicleClassification is part of GroundTruth which is provided by the environment simulator. So we could have both!? @ThomasSchloemicherAVL can you check if it is part of ISO-23150? If yes, I would not depreciate it in DetectedMovingObject in the major release. I think it makes sense to also include it in VehicleClassification. |
Or we introduce PedestrianClassification and AnimalClassification, in case the MovingObject is one of those? This would be backward compatible and fit the current logic. |
Output from CCB meeting - 09.12.2020 Actions:
|
This comment of mine is wrong after our discussion and looking into the class diagram again. VehicleClassification is part of SensorView and (in another intepretation) in SensorData, which makes sense for the two fields. So I think it's a good idea to move it. So to recap already your suggestions:
@ThomasSchloemicherAVL and @pmai what do you think is better? |
@clemenshabedank I think we should go for @pmai 's suggestion. |
@stefancyliax @pmai: We discussed in @ThomasSchloemicherAVL 's WP that this PR would be readyforCCBReview. We were wondering if just one of us is allowed to do the signoffs for all the commits where it is missing (contributions from Thomas, Pierre and me). Else, could you please help how it would work for each one to do it separatedly for the single commits? |
@clemenshabedank mustn't the MovingObjectClassification also be included in DetectedMovingObject? |
More specifically into DetectedMovingObject.CandidateMovingObject, yes... |
@ThomasSchloemicherAVL and @pmai thanks you are right. I changed it in 3f6db80 I also added the field in MovingObject because the information of the assigend lane id is currently already in the GroundTruth. When it will be depreciated, we have it then under the new submessage. --> b412f89 Does that make sense for you? |
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.
Approved during the CCB meeting 11.02.2021
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
Add MovingObjectClassification and put assigend_lane_id and assigned_lane_percentage there to allow for filling those fields for non-vehicle moving objects Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
Signed-off-by: Pierre R. Mai <pmai@pmsf.de>
b412f89
to
97444fa
Compare
Reference to a related issue in the repository
Add a reference to a related issue in the repository.
Add a description
Add the assigned lane id to the vehicle classification as it is the case with other entities (e.g. traffic signs)
Some questions to ask:
What is this change?
What does it fix?
Add the assigned lane id to the vehicle classification as it is the case with other entities (e.g. traffic signs)
Is this a bug fix or a feature? Does it break any existing functionality or force me to update to a new version?
It is a bug fix. Fields got altered, therefore minor version upgrade.
How has it been tested?
Documentation was build
Vehicle Classification without assigned lane id

Vehicle Classification with assigned lane id

Mention a member
@jdsika @ThomasNaderBMW
Check the checklist