Skip to main content
Open topic with navigation

SetHostVehicle

CAPL Functions » ADAS » SetHostVehicle Valid for: CANoe DE Note
This CAPL function is also available as C# function.

Function Syntax

C#
GroundTruthAccess.SetHostVehicle.Call(42);
CAPL
GroundTruthAccess.SetHostVehicle.Call(42);

Description

Sets the host vehicle for the current ground truth. This host vehicle must be a moving object and defines a kind of center for the ground truth (see example). For ground truth objects to be displayed in the Scene window, a host vehicle must be available.

Parameters

  • HostVehicle Id: Id of the host vehicle (moving object)

Return Values

Example

CAPL

GroundTruthAccess.SetHostVehicle.Call(42));

C#

GroundTruthAccess.SetHostVehicle.Call(42));