Skip to main content
Open topic with navigation

RemoveDetectedObject

CAPL Functions » ADAS » RemoveDetectedObject Valid for: CANoe DE

Note

This CAPL function is also available in C#.

Function Syntax

C#
void RemoveDetectedObject.Call(int trackingId);
CAPL
void RemoveDetectedObject.Call(int trackingId);

Description

This function can be used to remove a detected object from a sensor with a specific tracking Id.

Parameters

  • trackingId: Id of the object to be removed

Return Values

Example

In the examples it is assumed in each case that a DO object of the type IScenarioManager was created.

CAPL

radar.RemoveDetectedObject.Call(5);

C#

radar.RemoveDetectedObject.Call(5);