29 std::vector<WheelTelemetryData>
wheels)
39 const std::vector<WheelTelemetryData> &
GetWheels()
const {
43 void SetWheels(std::vector<WheelTelemetryData> &in_wheels) {
54 std::vector<WheelTelemetryData>
wheels;
69 return !(*
this != rhs);
72#ifdef LIBCARLA_INCLUDED_FROM_UE4
84 wheels = std::vector<WheelTelemetryData>();
85 for (
const auto &Wheel : TelemetryData.
Wheels) {
101 TArray<FWheelTelemetryData> Wheels;
102 for (
const auto &wheel :
wheels) {
105 TelemetryData.
Wheels = Wheels;
107 return TelemetryData;
const std::vector< WheelTelemetryData > & GetWheels() const
void SetWheels(std::vector< WheelTelemetryData > &in_wheels)
MSGPACK_DEFINE_ARRAY(speed, steer, throttle, brake, engine_rpm, gear, drag, wheels)
bool operator==(const VehicleTelemetryData &rhs) const
VehicleTelemetryData(float speed, float steer, float throttle, float brake, float engine_rpm, int32_t gear, float drag, std::vector< WheelTelemetryData > wheels)
VehicleTelemetryData()=default
bool operator!=(const VehicleTelemetryData &rhs) const
std::vector< WheelTelemetryData > wheels
VehicleTelemetryData(const FVehicleTelemetryData &TelemetryData)
This file contains definitions of common data structures used in traffic manager.
TArray< FWheelTelemetryData > Wheels