Skip to main content

TestWaitForADASGroundTruthObjectInLane

Valid for: CANoe DE

Changes

This function was renamed from TestWaitForADASObjectInLane in CANoe DE product version 16 SP3.

Function Syntax

Description

Waits for the first occurrence of a specified Moving Object which is completely in the given lane. The wait condition triggers only if the Moving Object field assigned_lanes only contains one element.

Parameters

  • movingObjectId: GroundTruthId of the Moving Object. The Moving Object can be the ego vehicle. Only a Moving Object with this groundTruthId triggers the wait condition.
  • laneId: Only a Moving Objects in the lane with this laneId can trigger the wait condition.
  • timeout: 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.

Example

TestWaitForADASGroundTruthObjectInSameLaneTestWaitForADASGroundTruthObjectLaneSwitch