CAPL Functions » ADAS » GetDetectedObjectByGroundTruthId
GetDetectedObjectByGroundTruthId
Valid for: CANoe DE NoteThis CAPL function is also available in C#.
Function Syntax
C#string GetDetectedObjectByGroundTruthId.Call(int groundTruthId);
CAPLchar[] GetDetectedObjectByGroundTruthId.Call(int groundTruthId);
Description
This function gets the name of a ground truth object of a sensor based on the ground truth Id as a string. If no object with the given ground truth Id is present, an empty string is returned.Parameters
- groundTruthId: Id of the object
Return Values
- A string containing the name of the ground truth object.
- If no object with the given ground truth Id is present, an empty string is returned.