CARLA
 
载入中...
搜索中...
未找到
Public 成员函数 | Public 属性 | 所有成员列表
carla::rpc::VehicleControl类 参考

#include <VehicleControl.h>

+ carla::rpc::VehicleControl 的协作图:

Public 成员函数

 MSGPACK_DEFINE_ARRAY (throttle, steer, brake, hand_brake, reverse, manual_gear_shift, gear)
 
 operator FVehicleControl () const
 
bool operator!= (const VehicleControl &rhs) const
 
bool operator== (const VehicleControl &rhs) const
 
 VehicleControl ()=default
 
 VehicleControl (const FVehicleControl &Control)
 
 VehicleControl (float in_throttle, float in_steer, float in_brake, bool in_hand_brake, bool in_reverse, bool in_manual_gear_shift, int32_t in_gear)
 

Public 属性

float brake = 0.0f
 
int32_t gear = 0
 
bool hand_brake = false
 
bool manual_gear_shift = false
 
bool reverse = false
 
float steer = 0.0f
 
float throttle = 0.0f
 

详细描述

在文件 LibCarla/source/carla/rpc/VehicleControl.h20 行定义.

构造及析构函数说明

◆ VehicleControl() [1/3]

carla::rpc::VehicleControl::VehicleControl ( )
default

◆ VehicleControl() [2/3]

carla::rpc::VehicleControl::VehicleControl ( float in_throttle,
float in_steer,
float in_brake,
bool in_hand_brake,
bool in_reverse,
bool in_manual_gear_shift,
int32_t in_gear )
inline

◆ VehicleControl() [3/3]

carla::rpc::VehicleControl::VehicleControl ( const FVehicleControl & Control)
inline

成员函数说明

◆ MSGPACK_DEFINE_ARRAY()

carla::rpc::VehicleControl::MSGPACK_DEFINE_ARRAY ( throttle ,
steer ,
brake ,
hand_brake ,
reverse ,
manual_gear_shift ,
gear  )

◆ operator FVehicleControl()

carla::rpc::VehicleControl::operator FVehicleControl ( ) const
inline

◆ operator!=()

bool carla::rpc::VehicleControl::operator!= ( const VehicleControl & rhs) const
inline

◆ operator==()

bool carla::rpc::VehicleControl::operator== ( const VehicleControl & rhs) const
inline

类成员变量说明

◆ brake

float carla::rpc::VehicleControl::brake = 0.0f

◆ gear

int32_t carla::rpc::VehicleControl::gear = 0

在文件 LibCarla/source/carla/rpc/VehicleControl.h47 行定义.

被这些函数引用 operator FVehicleControl() , 以及 operator!=().

◆ hand_brake

bool carla::rpc::VehicleControl::hand_brake = false

在文件 LibCarla/source/carla/rpc/VehicleControl.h44 行定义.

被这些函数引用 operator FVehicleControl() , 以及 operator!=().

◆ manual_gear_shift

bool carla::rpc::VehicleControl::manual_gear_shift = false

在文件 LibCarla/source/carla/rpc/VehicleControl.h46 行定义.

被这些函数引用 operator FVehicleControl() , 以及 operator!=().

◆ reverse

bool carla::rpc::VehicleControl::reverse = false

◆ steer

float carla::rpc::VehicleControl::steer = 0.0f

◆ throttle

float carla::rpc::VehicleControl::throttle = 0.0f

该类的文档由以下文件生成: