test_RecorderUpdateTimeInterval
- class test_RecorderUpdateTimeInterval.ChangingCameraModule(*args, **kwargs)[source]
Bases:
SysModelWrite a CameraImageMsgPayload whose metadata changes at a fixed time.
- class test_RecorderUpdateTimeInterval.ChangingPayloadModule(*args, **kwargs)[source]
Bases:
SysModelWrite a payload that changes at fixed simulation times.
- test_RecorderUpdateTimeInterval.test_record_on_change()[source]
Test recording changed message payloads after the minimum update time.
- test_RecorderUpdateTimeInterval.test_record_on_change_camera_image_payload()[source]
Test CameraImageMsgPayload change-only recording with shallow metadata equality.
CameraImageMsgPayload equality compares payload fields, including the image pointer address, but it does not compare the pointed-to image bytes.
- test_RecorderUpdateTimeInterval.test_record_on_change_unsupported_payload()[source]
recordOnChange() on a payload with no equality support raises BasiliskError.
VizUserInputMsgPayload contains std::vector<VizEventReply>, which the equality generator rejects and no manual specialization exists. Enabling change-only recording should fail explicitly instead of falling back to interval recording.