CARLA
Loading...
Searching...
No Matches
carla::multigpu::VehicleParts Struct Reference

A vehicle's moving parts: every wheel, by wheel index, and the doors open (any other door is closed), and its drivetrain as the primary's simulation has it: what the vehicle's sensors report. More...

#include <mirrorPackets.h>

Public Attributes

uint32_t actor_id = 0u
std::optional< int32_t > current_gear
bool manual_gear_shift = false
std::vector< DoorPose > open_doors
bool simulating_physics = false
 Whether the primary's body simulates physics (it reports no angular velocity otherwise).
std::vector< WheelPose > wheels

Detailed Description

A vehicle's moving parts: every wheel, by wheel index, and the doors open (any other door is closed), and its drivetrain as the primary's simulation has it: what the vehicle's sensors report.

Definition at line 108 of file mirrorPackets.h.

Member Data Documentation

◆ actor_id

uint32_t carla::multigpu::VehicleParts::actor_id = 0u

◆ current_gear

std::optional<int32_t> carla::multigpu::VehicleParts::current_gear

◆ manual_gear_shift

bool carla::multigpu::VehicleParts::manual_gear_shift = false

◆ open_doors

std::vector<DoorPose> carla::multigpu::VehicleParts::open_doors

◆ simulating_physics

bool carla::multigpu::VehicleParts::simulating_physics = false

Whether the primary's body simulates physics (it reports no angular velocity otherwise).

Definition at line 116 of file mirrorPackets.h.

Referenced by FFrameData::AddVehicleParts(), FFrameData::PlayVehicleParts(), carla::multigpu::MirroredVehicleParts::Read(), and TEST().

◆ wheels

std::vector<WheelPose> carla::multigpu::VehicleParts::wheels

The documentation for this struct was generated from the following file: