ChkCreate_ADASDetectedObjectsSpeedViolation, ChkStart_ADASDetectedObjectsSpeedViolation
Valid for: CANoe DE • CANoe4SW DEFunction Syntax
dword chkCreate_ADASDetectedObjectsSpeedViolation (dword underOver, float threshold); //form 1dword chkCreate_ADASDetectedObjectsSpeedViolation (dword underOver, float threshold, char* callback); //form 2dword chkCreate_ADASDetectedObjectsSpeedViolation (dword underOver, float threshold, int64 trackingId); //form 3dword chkCreate_ADASDetectedObjectsSpeedViolation (dword underOver, float threshold, int64 trackingId, char* callback); //form 4dword chkStart_ADASDetectedObjectsSpeedViolation (dword underOver, float threshold); //form 5dword chkStart_ADASDetectedObjectsSpeedViolation (dword underOver, float threshold, char* callback); //form 6dword chkStart_ADASDetectedObjectsSpeedViolation (dword underOver, float threshold, int64 trackingId); //form 7dword chkStart_ADASDetectedObjectsSpeedViolation (dword underOver, float threshold, int64 trackingId, char* callback); //form 8
Constructor
TestCheck::CreateADASDetectedObjectsSpeedViolation (dword underOver, float threshold);TestCheck::CreateADASDetectedObjectsSpeedViolation (dword underOver, float threshold, char* callback);TestCheck::CreateADASDetectedObjectsSpeedViolation (dword underOver, float threshold, int64 trackingId);TestCheck::CreateADASDetectedObjectsSpeedViolation (dword underOver, float threshold, int64 trackingId, char* callback);TestCheck::StartADASDetectedObjectsSpeedViolation (dword underOver, float threshold);TestCheck::StartADASDetectedObjectsSpeedViolation (dword underOver, float threshold, char* callback);TestCheck::StartADASDetectedObjectsSpeedViolation (dword underOver, float threshold, int64 trackingId);TestCheck::StartADASDetectedObjectsSpeedViolation (dword underOver, float threshold, int64 trackingId, char* callback);
Check Name
ADAS Detected Objects Speed ObservationDescription
Observes the relative speed of the Detected Moving Objects. The check fires an event if the speed conditions passed as arguments are fulfilled.Parameters
- overUnder: Specifies if the speed is over or under the specified value.
- threshold: Specified value that determines the maximum or minimum speed. An object moving towards the sensor has a negative relative speed. An object moving away from the sensor has a positive relative speed. The speed is specified in m/s.
- trackingId: TrackingId of the Detected Moving Object. Only the distance to this Detected Moving Object will be checked. If the value -1 is given, all Detected Moving Objects will be checked.
- callback: This parameter is optional. Name of the callback which is called when the check fails. Signature:
void Callback( dword checkId)orvoid Callback( TestCheck check).
Return Values
- 0: Check could not be created and must not be referenced
- > 0: Check was created successfully and may be referenced using the returned (handle-) value.
Possible Errors
- CAPL callback does not exist.