OpenSimulationInterface / open-simulation-interface

A generic interface for the environmental perception of automated driving functions in virtual scenarios.
Other
267 stars 125 forks source link

Clarification of DetectedMovingObject::percentage_side_lane_left #342

Open CRMemory opened 5 years ago

CRMemory commented 5 years ago

Hi everyone,

the documentation to DetectedMovingObject::percentage_side_lane_left (and ...right) states https://github.com/OpenSimulationInterface/open-simulation-interface/blob/7194aaf8a8301ecf2b44deb77a9eac1ed439168b/osi_detectedobject.proto#L183-L185

However, in my opinion it is not clear, what lane_left refers to. Multiple definitions are possible:

What meaning should be used for filling this property?

jdsika commented 5 years ago

I will investigate - which one do you prefer and why?

CRMemory commented 5 years ago

Hi @jdsika, thanks for your reply.

I don't really have a preference. The meanings I described above are just derived properties which are not necessary for simulating or describing an environment.

If a DetectedMovingObject would have an id of a DetectedLane lane, on which it was detected by sensors, any of the percentages could also easily be calculated at simulation time. Both properties could therefore be omitted / deprecated. But maybe I am missing something.

However, if they are kept, it should be clear what data to expect in them.

pmai commented 5 years ago

@CRMemory it seems to me that this attribute is the sensor's estimation, so we can't eliminate it, since this is actual sensor model output. This should be part of the OSI that is synchronized with the ISO standard for actual sensor output (and it probably was added during the initial synchronization, cf. commit 4b1509dc40464cc3153a1d6a95ec288e0479cd97). I'd therefore suggest to relook at current drafts to ensure this definition matches up...

CRMemory commented 5 years ago

Hi @pmai, thanks for your insight. Then perhaps someone who is in touch with the ISO standardization could check which meaning was intended by the standard or whether there is any ambiguity present there.

jdsika commented 4 years ago

@PhRosenberger this should be aligned with #367

PhRosenberger commented 4 years ago

@PhRosenberger this should be aligned with #367

Yes.