Documentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
TestWaitForADASDetectedObjectDistance
Valid for: CANoe DEChanges
This function was renamed from TestWaitForADASDistance in CANoe DE product version 16 SP3.Function Syntax
long TestWaitForADASDetectedObjectDistance (long overUnder, float threshold, long aTimeout)// form 1long TestWaitForADASDetectedObjectDistance (long overUnder, float threshold, int64 trackingId, long aTimeout)// form 2long TestWaitForADASDetectedObjectDistance (long overUnder, float threshold, float minLateralOffset, float maxLateralOffset, long aTimeout)// form 3long TestWaitForADASDetectedObjectDistance (long overUnder, float threshold, float minLateralOffset, float maxLateralOffset, int64 trackingId, long aTimeout)// form 4
Description
Waits for the occurrence of the first Detected Object matching the distance conditions passed as arguments. Should the Detected Object not occur before the expiration of the timeaTimeout, the wait condition is resolved, nevertheless.
Parameters
- overUnder: Specifies if the distance should be over or under the specified value.
- threshold: Specified value that determines the maximum or minimum distance.
- trackingId: TrackingId of the Detected Object. Only a Detected Object with this trackingId triggers the wait condition.
- minLateralOffset: Specifies the minimum lateral offset [m] of the Detected Object. The lateral offset is positive for an offset to the left.
- maxLateralOffset: Specifies the maximum lateral offset [m] of the Detected Object. The lateral offset is positive for an offset to the left.
- aTimeout: Maximum time that should be waited [ms]. Transmission of 0: no timeout controlling.
Return Values
- -1: General error, for example, functionality is not available.
- 0: Resume due to timeout.
- 1: Resume due to event occurred.