CARLA
Public Member Functions | Private Attributes | List of all members
carla::sensor::data::detail::PackedVehicleControl Class Reference

#include <ActorDynamicState.h>

+ Collaboration diagram for carla::sensor::data::detail::PackedVehicleControl:

Public Member Functions

 operator rpc::VehicleControl () const
 
 PackedVehicleControl ()=default
 
 PackedVehicleControl (const rpc::VehicleControl &control)
 

Private Attributes

float brake
 
int32_t gear
 
bool hand_brake
 
bool manual_gear_shift
 
bool reverse
 
float steer
 
float throttle
 

Detailed Description

Definition at line 27 of file ActorDynamicState.h.

Constructor & Destructor Documentation

◆ PackedVehicleControl() [1/2]

carla::sensor::data::detail::PackedVehicleControl::PackedVehicleControl ( )
default

◆ PackedVehicleControl() [2/2]

carla::sensor::data::detail::PackedVehicleControl::PackedVehicleControl ( const rpc::VehicleControl control)
inline

Definition at line 32 of file ActorDynamicState.h.

Member Function Documentation

◆ operator rpc::VehicleControl()

carla::sensor::data::detail::PackedVehicleControl::operator rpc::VehicleControl ( ) const
inline

Definition at line 41 of file ActorDynamicState.h.

References brake, gear, hand_brake, manual_gear_shift, reverse, steer, and throttle.

Member Data Documentation

◆ brake

float carla::sensor::data::detail::PackedVehicleControl::brake
private

Definition at line 49 of file ActorDynamicState.h.

Referenced by operator rpc::VehicleControl().

◆ gear

int32_t carla::sensor::data::detail::PackedVehicleControl::gear
private

Definition at line 53 of file ActorDynamicState.h.

Referenced by operator rpc::VehicleControl().

◆ hand_brake

bool carla::sensor::data::detail::PackedVehicleControl::hand_brake
private

Definition at line 50 of file ActorDynamicState.h.

Referenced by operator rpc::VehicleControl().

◆ manual_gear_shift

bool carla::sensor::data::detail::PackedVehicleControl::manual_gear_shift
private

Definition at line 52 of file ActorDynamicState.h.

Referenced by operator rpc::VehicleControl().

◆ reverse

bool carla::sensor::data::detail::PackedVehicleControl::reverse
private

Definition at line 51 of file ActorDynamicState.h.

Referenced by operator rpc::VehicleControl().

◆ steer

float carla::sensor::data::detail::PackedVehicleControl::steer
private

Definition at line 48 of file ActorDynamicState.h.

Referenced by operator rpc::VehicleControl().

◆ throttle

float carla::sensor::data::detail::PackedVehicleControl::throttle
private

Definition at line 47 of file ActorDynamicState.h.

Referenced by operator rpc::VehicleControl().


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