CARLA
Loading...
Searching...
No Matches
InertialMeasurementUnit.cpp File Reference

Go to the source code of this file.

Functions

static FVector FIMU_GetActorAngularVelocityInRadians (AActor &Actor)
static FVector FIMU_ToLocal (const AActor &Sensor, const std::array< double, 3 > &World)
static std::array< double, 3 > FIMU_ToWorld (const AActor &Sensor, const FVector &Local)
 World-frame location, the same on every server (a large map rebases each server's local origin on its own).

Function Documentation

◆ FIMU_GetActorAngularVelocityInRadians()

FVector FIMU_GetActorAngularVelocityInRadians ( AActor & Actor)
static

◆ FIMU_ToLocal()

FVector FIMU_ToLocal ( const AActor & Sensor,
const std::array< double, 3 > & World )
static

◆ FIMU_ToWorld()

std::array< double, 3 > FIMU_ToWorld ( const AActor & Sensor,
const FVector & Local )
static

World-frame location, the same on every server (a large map rebases each server's local origin on its own).

Definition at line 290 of file InertialMeasurementUnit.cpp.

References FIMU_ToWorld(), UCarlaStatics::GetLargeMapManager(), and ALargeMapManager::LocalToGlobalLocation().

Referenced by FIMU_ToWorld(), and AInertialMeasurementUnit::GetMirrorState().