CARLA
Loading...
Searching...
No Matches
Public Attributes | List of all members
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

Definition at line 112 of file mirrorPackets.h.

Referenced by FFrameData::AddVehicleParts(), and TEST().

◆ manual_gear_shift

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

Definition at line 113 of file mirrorPackets.h.

Referenced by FFrameData::AddVehicleParts(), and TEST().

◆ open_doors

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

Definition at line 111 of file mirrorPackets.h.

Referenced by FFrameData::AddVehicleParts(), TEST(), and TEST().

◆ 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(), and TEST().

◆ wheels

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

Definition at line 110 of file mirrorPackets.h.

Referenced by FFrameData::AddVehicleParts(), TEST(), and TEST().


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