|
CARLA
|
#include "CarlaActor.h"#include "Carla/OpenDrive/OpenDrive.h"#include "Carla/Util/NavigationMesh.h"#include "Carla/Vehicle/CarlaWheeledVehicle.h"#include "Carla/Walker/WalkerController.h"#include "Carla/Walker/WalkerBase.h"#include "Carla/Game/Tagger.h"#include "Carla/Vehicle/MovementComponents/CarSimManagerComponent.h"#include "Carla/Vehicle/MovementComponents/ChronoMovementComponent.h"#include "Carla/Traffic/TrafficLightBase.h"#include "Carla/Game/CarlaStatics.h"#include "Carla/Game/CarlaEpisode.h"#include <util/disable-ue4-macros.h>#include <carla/rpc/AckermannControllerSettings.h>#include "carla/rpc/LabelledPoint.h"#include <carla/rpc/LightState.h>#include <carla/rpc/MapInfo.h>#include <carla/rpc/MapLayer.h>#include <carla/rpc/VehicleAckermannControl.h>#include <carla/rpc/VehicleControl.h>#include <carla/rpc/VehiclePhysicsControl.h>#include <carla/rpc/VehicleLightState.h>#include <carla/rpc/VehicleLightStateList.h>#include <carla/rpc/WalkerBoneControlIn.h>#include <carla/rpc/WalkerBoneControlOut.h>#include <carla/rpc/WalkerControl.h>#include <carla/rpc/VehicleWheels.h>#include <carla/rpc/WeatherParameters.h>#include <util/enable-ue4-macros.h>#include <util/ue-header-guard-begin.h>#include "Components/CapsuleComponent.h"#include "GameFramework/CharacterMovementComponent.h"#include <util/ue-header-guard-end.h>Go to the source code of this file.
Functions | |
| static ECarlaServerResponse | CanSetWheelPose (const ACarlaWheeledVehicle &Vehicle, const EVehicleWheelLocation &WheelLocation) |
| FVector | CarlaGetActorAngularVelocityInRadians (const AActor &Actor) |
| Angular velocity of Actor in the world frame, in rad/s: on a Multi-GPU secondary the primary's (a mirror has no motion of its own), elsewhere its root body's. | |
|
static |
Definition at line 1006 of file CarlaActor.cpp.
References Success, Vehicle, WheelAnimationOverrideDisabled, and WheelNotFound.
Referenced by FVehicleActor::SetWheelPitchAngle(), FVehicleActor::SetWheelSteerDirection(), and FVehicleActor::SetWheelSuspensionOffset().
| FVector CarlaGetActorAngularVelocityInRadians | ( | const AActor & | Actor | ) |
Angular velocity of Actor in the world frame, in rad/s: on a Multi-GPU secondary the primary's (a mirror has no motion of its own), elsewhere its root body's.
Definition at line 1863 of file CarlaActor.cpp.
References UCarlaEpisode::bIsPrimaryServer, UCarlaEpisode::FindCarlaActor(), UCarlaStatics::GetCurrentEpisode(), FCarlaActor::GetMirroredAngularVelocityInRadians(), and FCarlaActor::HasMirroredKinematics().
Referenced by CaService::ComputeYawRate(), FIMU_GetActorAngularVelocityInRadians(), ACarlaWheeledVehicle::OnRiderBoneTransformsFinalized(), and AVehicleStatusSensor::SetVelocityInfoToLocal().