OpenSimulationInterface / open-simulation-interface

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

ISO23150 compliance: Adding new states to [DetectedItemHeader – MeasurementState] #648

Open FlorianMueller87 opened 2 years ago

FlorianMueller87 commented 2 years ago

Describe the feature

ASAM OSI and ISO 23150 or AUTOSAR ADI have a common history. Unfortunately, the inner structure, the naming and the definitions of the standards are differentiated from each other. This makes the work of developers unnecessary complicated for mostly no technical reasons. All sides should strive to reduce inequality.

ASAM OSI need the entries for osi_detectedobject – DetectedItemHeader – MeasurementState to be compatible with AUTOSAR ADI MeasurementStatus.

Describe the solution you would like

Add in for osi_detectedobject – DetectedItemHeader – MeasurementState the following entries:

// This indicates the first occurrence of this particular object in the object list.
//
MEASUREMENT_STATE_NEW = 4;

// The object was partly updated with new information
// from a sensor in the last update cycle of this object
// list. The measurement was incomplete and could,
// therefore, only partially update the signals of this
// object. The remaining signals of this object are unchanged
// or predicted for this measurement cycle.
//
MEASUREMENT_STATE_PARTIALLY_MEASURED = 5;

// Tracked object is temporarily occluded by another entity.
//
MEASUREMENT_STATE_PREDICED_OCCLUDED = 6;

Describe alternatives you have considered

No alternative was considered.

Describe the backwards compatibility

The adding of the elements will not lead to backward compatibility issues.

Additional context

ISO23150:2021 A.2.9 Measurement status – object level @ThomasNaderBMW @jdsika @schmidtlorenz

jdsika commented 1 year ago

I guess it is not possible to copy the proper definitions of the messages you want to add from the ISO document?

FlorianMueller87 commented 1 year ago

I added the descriptions from the ISO