open-simulation-interface icon indicating copy to clipboard operation
open-simulation-interface copied to clipboard

How is message validity defined, if rules are broken

Open ClemensLinnhoff opened this issue 1 year ago • 0 comments

Describe the problem

In the proto files, rules are defined for certain fields. Let's take the following example: In the SensorData::FeatureData::LidarDetectionData::LidarDetection there is the following rule for the intensity field:

is_greater_than_or_equal_to: 0
is_less_than_or_equal_to: 100

Let's say the intensity is wrongly set to 150 in one LidarDetection.

Ask your question

What does this mean for the rest of the message? Can the other fields of the same LidarDetection still be used, e.g. the position? Or are all other LidarDetection also to be seen as invalid? Is maybe the entire LidarDetectionData invalid if one field does not comply? Or is the entire top-level message, i.e. SensorData, not to be used in such a case?

ClemensLinnhoff avatar Feb 26 '24 15:02 ClemensLinnhoff