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

#include <VehicleTelemetryData.h>

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

Public 成员函数

const std::vector< WheelTelemetryData > & GetWheels () const
 
 MSGPACK_DEFINE_ARRAY (speed, steer, throttle, brake, engine_rpm, gear, drag, wheels)
 
 operator FVehicleTelemetryData () const
 
bool operator!= (const VehicleTelemetryData &rhs) const
 
bool operator== (const VehicleTelemetryData &rhs) const
 
void SetWheels (std::vector< WheelTelemetryData > &in_wheels)
 
 VehicleTelemetryData ()=default
 
 VehicleTelemetryData (const FVehicleTelemetryData &TelemetryData)
 
 VehicleTelemetryData (float speed, float steer, float throttle, float brake, float engine_rpm, int32_t gear, float drag, std::vector< WheelTelemetryData > wheels)
 

Public 属性

float brake = 0.0f
 
float drag = 0.0f
 
float engine_rpm = 0.0f
 
int32_t gear = 0.0f
 
float speed = 0.0f
 
float steer = 0.0f
 
float throttle = 0.0f
 
std::vector< WheelTelemetryDatawheels
 

详细描述

在文件 LibCarla/source/carla/rpc/VehicleTelemetryData.h16 行定义.

构造及析构函数说明

◆ VehicleTelemetryData() [1/3]

carla::rpc::VehicleTelemetryData::VehicleTelemetryData ( )
default

◆ VehicleTelemetryData() [2/3]

carla::rpc::VehicleTelemetryData::VehicleTelemetryData ( float speed,
float steer,
float throttle,
float brake,
float engine_rpm,
int32_t gear,
float drag,
std::vector< WheelTelemetryData > wheels )
inline

◆ VehicleTelemetryData() [3/3]

carla::rpc::VehicleTelemetryData::VehicleTelemetryData ( const FVehicleTelemetryData & TelemetryData)
inline

成员函数说明

◆ GetWheels()

const std::vector< WheelTelemetryData > & carla::rpc::VehicleTelemetryData::GetWheels ( ) const
inline

在文件 LibCarla/source/carla/rpc/VehicleTelemetryData.h39 行定义.

引用了 wheels.

◆ MSGPACK_DEFINE_ARRAY()

carla::rpc::VehicleTelemetryData::MSGPACK_DEFINE_ARRAY ( speed ,
steer ,
throttle ,
brake ,
engine_rpm ,
gear ,
drag ,
wheels  )

◆ operator FVehicleTelemetryData()

carla::rpc::VehicleTelemetryData::operator FVehicleTelemetryData ( ) const
inline

◆ operator!=()

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

◆ operator==()

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

◆ SetWheels()

void carla::rpc::VehicleTelemetryData::SetWheels ( std::vector< WheelTelemetryData > & in_wheels)
inline

在文件 LibCarla/source/carla/rpc/VehicleTelemetryData.h43 行定义.

引用了 wheels.

类成员变量说明

◆ brake

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

◆ drag

float carla::rpc::VehicleTelemetryData::drag = 0.0f

◆ engine_rpm

float carla::rpc::VehicleTelemetryData::engine_rpm = 0.0f

◆ gear

int32_t carla::rpc::VehicleTelemetryData::gear = 0.0f

◆ speed

float carla::rpc::VehicleTelemetryData::speed = 0.0f

◆ steer

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

◆ throttle

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

◆ wheels

std::vector<WheelTelemetryData> carla::rpc::VehicleTelemetryData::wheels

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