|
CARLA
|
#include <VehiclePhysicsControl.h>
Public Member Functions | |
| MSGPACK_DEFINE_ARRAY (torque_curve, max_torque, max_rpm, idle_rpm, brake_effect, rev_up_moi, rev_down_rate, differential_type, front_rear_split, use_automatic_gears, gear_change_time, final_ratio, forward_gear_ratios, reverse_gear_ratios, change_up_rpm, change_down_rpm, transmission_efficiency, mass, drag_coefficient, center_of_mass, chassis_width, chassis_height, downforce_coefficient, drag_area, inertia_tensor_scale, sleep_threshold, sleep_slope_limit, steering_curve, wheels, use_sweep_wheel_collision) | |
| operator FVehiclePhysicsControl () const | |
| bool | operator!= (const VehiclePhysicsControl &rhs) const |
| bool | operator== (const VehiclePhysicsControl &rhs) const |
Static Public Member Functions | |
| static VehiclePhysicsControl | FromFVehiclePhysicsControl (const FVehiclePhysicsControl &Control) |
Public Attributes | |
| float | brake_effect = 1.0f |
| geom::Location | center_of_mass = geom::Location(0, 0, 0) |
| float | change_down_rpm = 2000.0f |
| float | change_up_rpm = 4500.0f |
| float | chassis_height = 140.f |
| float | chassis_width = 180.f |
| uint8_t | differential_type = 0 |
| float | downforce_coefficient = 0.3f |
| float | drag_area = 0.0f |
| float | drag_coefficient = 0.3f |
| float | final_ratio = 4.0f |
| std::vector< float > | forward_gear_ratios = { 2.85, 2.02, 1.35, 1.0, 2.85, 2.02, 1.35, 1.0 } |
| float | front_rear_split = 0.5f |
| float | gear_change_time = 0.5f |
| float | idle_rpm = 1.0f |
| geom::Vector3D | inertia_tensor_scale = geom::Vector3D(1, 1, 1) |
| float | mass = 1000.0f |
| float | max_rpm = 5000.0f |
| float | max_torque = 300.0f |
| float | rev_down_rate = 600.0f |
| float | rev_up_moi = 1.0f |
| std::vector< float > | reverse_gear_ratios = { 2.86, 2.86 } |
| float | sleep_slope_limit = 0.866f |
| float | sleep_threshold = 10.0f |
| std::vector< geom::Vector2D > | steering_curve |
| std::vector< geom::Vector2D > | torque_curve |
| float | transmission_efficiency = 0.9f |
| bool | use_automatic_gears = true |
| bool | use_sweep_wheel_collision = false |
| std::vector< WheelPhysicsControl > | wheels |
Definition at line 20 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
|
inlinestatic |
Definition at line 113 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
References brake_effect, FVehiclePhysicsControl::BrakeEffect, FVehiclePhysicsControl::bUseAutomaticGears, center_of_mass, FVehiclePhysicsControl::CenterOfMass, change_down_rpm, change_up_rpm, FVehiclePhysicsControl::ChangeDownRPM, FVehiclePhysicsControl::ChangeUpRPM, chassis_height, chassis_width, FVehiclePhysicsControl::ChassisHeight, FVehiclePhysicsControl::ChassisWidth, differential_type, FVehiclePhysicsControl::DifferentialType, downforce_coefficient, FVehiclePhysicsControl::DownforceCoefficient, drag_area, drag_coefficient, FVehiclePhysicsControl::DragArea, FVehiclePhysicsControl::DragCoefficient, final_ratio, FVehiclePhysicsControl::FinalRatio, forward_gear_ratios, FVehiclePhysicsControl::ForwardGearRatios, carla::rpc::WheelPhysicsControl::FromFWheelPhysicsControl(), front_rear_split, FVehiclePhysicsControl::FrontRearSplit, gear_change_time, FVehiclePhysicsControl::GearChangeTime, idle_rpm, FVehiclePhysicsControl::IdleRPM, inertia_tensor_scale, FVehiclePhysicsControl::InertiaTensorScale, mass, FVehiclePhysicsControl::Mass, max_rpm, max_torque, FVehiclePhysicsControl::MaxRPM, FVehiclePhysicsControl::MaxTorque, rev_down_rate, rev_up_moi, FVehiclePhysicsControl::RevDownRate, reverse_gear_ratios, FVehiclePhysicsControl::ReverseGearRatios, FVehiclePhysicsControl::RevUpMOI, sleep_slope_limit, sleep_threshold, FVehiclePhysicsControl::SleepSlopeLimit, FVehiclePhysicsControl::SleepThreshold, steering_curve, FVehiclePhysicsControl::SteeringCurve, torque_curve, FVehiclePhysicsControl::TorqueCurve, transmission_efficiency, FVehiclePhysicsControl::TransmissionEfficiency, use_automatic_gears, use_sweep_wheel_collision, FVehiclePhysicsControl::UseSweepWheelCollision, wheels, and FVehiclePhysicsControl::Wheels.
Referenced by CarlaRecorderQuery::QueryInfo(), and CarlaRecorderPhysicsControl::Write().
| carla::rpc::VehiclePhysicsControl::MSGPACK_DEFINE_ARRAY | ( | torque_curve | , |
| max_torque | , | ||
| max_rpm | , | ||
| idle_rpm | , | ||
| brake_effect | , | ||
| rev_up_moi | , | ||
| rev_down_rate | , | ||
| differential_type | , | ||
| front_rear_split | , | ||
| use_automatic_gears | , | ||
| gear_change_time | , | ||
| final_ratio | , | ||
| forward_gear_ratios | , | ||
| reverse_gear_ratios | , | ||
| change_up_rpm | , | ||
| change_down_rpm | , | ||
| transmission_efficiency | , | ||
| mass | , | ||
| drag_coefficient | , | ||
| center_of_mass | , | ||
| chassis_width | , | ||
| chassis_height | , | ||
| downforce_coefficient | , | ||
| drag_area | , | ||
| inertia_tensor_scale | , | ||
| sleep_threshold | , | ||
| sleep_slope_limit | , | ||
| steering_curve | , | ||
| wheels | , | ||
| use_sweep_wheel_collision | |||
| ) |
|
inline |
Definition at line 167 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
References brake_effect, FVehiclePhysicsControl::BrakeEffect, FVehiclePhysicsControl::bUseAutomaticGears, center_of_mass, FVehiclePhysicsControl::CenterOfMass, change_down_rpm, change_up_rpm, FVehiclePhysicsControl::ChangeDownRPM, FVehiclePhysicsControl::ChangeUpRPM, chassis_height, chassis_width, FVehiclePhysicsControl::ChassisHeight, FVehiclePhysicsControl::ChassisWidth, differential_type, FVehiclePhysicsControl::DifferentialType, downforce_coefficient, FVehiclePhysicsControl::DownforceCoefficient, drag_area, drag_coefficient, FVehiclePhysicsControl::DragArea, FVehiclePhysicsControl::DragCoefficient, final_ratio, FVehiclePhysicsControl::FinalRatio, forward_gear_ratios, FVehiclePhysicsControl::ForwardGearRatios, front_rear_split, FVehiclePhysicsControl::FrontRearSplit, gear_change_time, FVehiclePhysicsControl::GearChangeTime, idle_rpm, FVehiclePhysicsControl::IdleRPM, inertia_tensor_scale, FVehiclePhysicsControl::InertiaTensorScale, mass, FVehiclePhysicsControl::Mass, max_rpm, max_torque, FVehiclePhysicsControl::MaxRPM, FVehiclePhysicsControl::MaxTorque, rev_down_rate, rev_up_moi, FVehiclePhysicsControl::RevDownRate, reverse_gear_ratios, FVehiclePhysicsControl::ReverseGearRatios, FVehiclePhysicsControl::RevUpMOI, sleep_slope_limit, sleep_threshold, FVehiclePhysicsControl::SleepSlopeLimit, FVehiclePhysicsControl::SleepThreshold, steering_curve, FVehiclePhysicsControl::SteeringCurve, torque_curve, FVehiclePhysicsControl::TorqueCurve, transmission_efficiency, FVehiclePhysicsControl::TransmissionEfficiency, use_automatic_gears, use_sweep_wheel_collision, FVehiclePhysicsControl::UseSweepWheelCollision, wheels, FVehiclePhysicsControl::Wheels, carla::geom::Vector3D::x, x, carla::geom::Vector3D::y, y, and carla::geom::Vector3D::z.
|
inline |
Definition at line 107 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
|
inline |
Definition at line 67 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
References brake_effect, center_of_mass, change_down_rpm, change_up_rpm, chassis_height, chassis_width, differential_type, downforce_coefficient, drag_area, drag_coefficient, final_ratio, forward_gear_ratios, front_rear_split, gear_change_time, idle_rpm, inertia_tensor_scale, mass, max_rpm, max_torque, rev_down_rate, rev_up_moi, reverse_gear_ratios, sleep_slope_limit, sleep_threshold, steering_curve, torque_curve, transmission_efficiency, use_automatic_gears, use_sweep_wheel_collision, and wheels.
| float carla::rpc::VehiclePhysicsControl::brake_effect = 1.0f |
Definition at line 31 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| geom::Location carla::rpc::VehiclePhysicsControl::center_of_mass = geom::Location(0, 0, 0) |
Definition at line 50 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::change_down_rpm = 2000.0f |
Definition at line 45 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::change_up_rpm = 4500.0f |
Definition at line 44 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::chassis_height = 140.f |
Definition at line 52 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::chassis_width = 180.f |
Definition at line 51 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| uint8_t carla::rpc::VehiclePhysicsControl::differential_type = 0 |
Definition at line 36 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::downforce_coefficient = 0.3f |
Definition at line 53 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::drag_area = 0.0f |
Definition at line 54 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::drag_coefficient = 0.3f |
Definition at line 49 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::final_ratio = 4.0f |
Definition at line 41 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| std::vector<float> carla::rpc::VehiclePhysicsControl::forward_gear_ratios = { 2.85, 2.02, 1.35, 1.0, 2.85, 2.02, 1.35, 1.0 } |
Definition at line 42 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::front_rear_split = 0.5f |
Definition at line 37 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::gear_change_time = 0.5f |
Definition at line 40 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::idle_rpm = 1.0f |
Definition at line 30 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| geom::Vector3D carla::rpc::VehiclePhysicsControl::inertia_tensor_scale = geom::Vector3D(1, 1, 1) |
Definition at line 55 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::mass = 1000.0f |
Definition at line 48 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), CarlaRecorderPhysicsControl::Read(), and carla::rss::RssRestrictor::RestrictVehicleControl().
| float carla::rpc::VehiclePhysicsControl::max_rpm = 5000.0f |
Definition at line 29 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::max_torque = 300.0f |
Definition at line 28 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::rev_down_rate = 600.0f |
Definition at line 33 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::rev_up_moi = 1.0f |
Definition at line 32 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| std::vector<float> carla::rpc::VehiclePhysicsControl::reverse_gear_ratios = { 2.86, 2.86 } |
Definition at line 43 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::sleep_slope_limit = 0.866f |
Definition at line 57 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::sleep_threshold = 10.0f |
Definition at line 56 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| std::vector<geom::Vector2D> carla::rpc::VehiclePhysicsControl::steering_curve |
Definition at line 59 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| std::vector<geom::Vector2D> carla::rpc::VehiclePhysicsControl::torque_curve |
Definition at line 23 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| float carla::rpc::VehiclePhysicsControl::transmission_efficiency = 0.9f |
Definition at line 46 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| bool carla::rpc::VehiclePhysicsControl::use_automatic_gears = true |
Definition at line 39 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| bool carla::rpc::VehiclePhysicsControl::use_sweep_wheel_collision = false |
Definition at line 65 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), and CarlaRecorderPhysicsControl::Read().
| std::vector<WheelPhysicsControl> carla::rpc::VehiclePhysicsControl::wheels |
Definition at line 63 of file LibCarla/source/carla/rpc/VehiclePhysicsControl.h.
Referenced by FromFVehiclePhysicsControl(), operator FVehiclePhysicsControl(), operator==(), CarlaRecorderPhysicsControl::Read(), and carla::rss::RssRestrictor::RestrictVehicleControl().