OpenSimulationInterface / osi-validation

Tools around the OSI used to verify the content of messages and more.
Other
10 stars 8 forks source link

A field removed from the rules is still tested #52

Closed ClemensLinnhoff closed 5 months ago

ClemensLinnhoff commented 10 months ago

Describe the bug

I also to remove a field from the rules, e.g. mounting_position_rmse from the sensor view, but I still get a warning:

SensorView.mounting_position_rmse.is_set(None) does not comply in SensorView

Describe how to reproduce the bug

  1. Run the example trace file and the warning will appear.
  2. Open rules/osi_sensorview.yml
  3. Delete the line "mounting_position_rmse:"
  4. Run the example trace file again. The warning will still appear.

Describe the expected behavior

I would expect the warning to not appear anymore, because there is no rule defining the mounting_position_rmse anymore. I am not sure, where this warning is coming from. Are the rules cached somewhere?

Describe the OS you are using