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.
GetDetectedObjects
CAPL Functions » ADAS » GetDetectedObjects
Valid for: CANoe DE
Note
This CAPL function is also available in C#.
Function Syntax
C#
ADAS.DetectedObject_List GetDetectedObjects.Call();
CAPL
ADAS.DetectedObject_List GetDetectedObjects.Call();
Description
Gets all detected objects of a sensor.
Parameters
—
Return Values
A string array containing all detected objects of the sensor.
Example
In the examples it is assumed in each case that a DO object of the type IScenarioManager was created.
CAPL
int countDetObj = 0;
array _ADAS::DataModel::DetectedObject_List detectedObjectNames;
memcpy(detectedObjectNames, radar.GetDetectedObjects.Call());
countDetObj = elCount(detectedObjectNames);
_ADAS.DataModel.DetectedObject_List detObjNames = radar.GetDetectedObjects.Call();
int countDetObj = detObjNames.Length;