#include <VehiclePhysicsControl.h>
Public 成员函数 | |
const std::vector< GearPhysicsControl > & | GetForwardGears () const |
const std::vector< geom::Vector2D > & | GetSteeringCurve () const |
const std::vector< geom::Vector2D > & | GetTorqueCurve () const |
bool | GetUseSweepWheelCollision () |
const std::vector< WheelPhysicsControl > & | GetWheels () const |
MSGPACK_DEFINE_ARRAY (torque_curve, max_rpm, moi, damping_rate_full_throttle, damping_rate_zero_throttle_clutch_engaged, damping_rate_zero_throttle_clutch_disengaged, use_gear_autobox, gear_switch_time, clutch_strength, final_ratio, forward_gears, mass, drag_coefficient, center_of_mass, steering_curve, wheels, use_sweep_wheel_collision) | |
operator FVehiclePhysicsControl () const | |
bool | operator!= (const VehiclePhysicsControl &rhs) const |
bool | operator== (const VehiclePhysicsControl &rhs) const |
void | SetForwardGears (std::vector< GearPhysicsControl > &in_forward_gears) |
void | SetSteeringCurve (std::vector< geom::Vector2D > &in_steering_curve) |
void | SetTorqueCurve (std::vector< geom::Vector2D > &in_torque_curve) |
void | SetUseSweepWheelCollision (bool in_sweep) |
void | SetWheels (std::vector< WheelPhysicsControl > &in_wheels) |
VehiclePhysicsControl ()=default | |
VehiclePhysicsControl (const FVehiclePhysicsControl &Control) | |
VehiclePhysicsControl (const std::vector< carla::geom::Vector2D > &in_torque_curve, float in_max_rpm, float in_moi, float in_damping_rate_full_throttle, float in_damping_rate_zero_throttle_clutch_engaged, float in_damping_rate_zero_throttle_clutch_disengaged, bool in_use_gear_autobox, float in_gear_switch_time, float in_clutch_strength, float in_final_ratio, std::vector< GearPhysicsControl > &in_forward_gears, float in_mass, float in_drag_coefficient, geom::Location in_center_of_mass, const std::vector< carla::geom::Vector2D > &in_steering_curve, std::vector< WheelPhysicsControl > &in_wheels, bool in_use_sweep_wheel_collision) | |
Public 属性 | |
geom::Location | center_of_mass |
float | clutch_strength = 10.0f |
float | damping_rate_full_throttle = 0.15f |
float | damping_rate_zero_throttle_clutch_disengaged = 0.35f |
float | damping_rate_zero_throttle_clutch_engaged = 2.0f |
float | drag_coefficient = 0.3f |
float | final_ratio = 4.0f |
std::vector< GearPhysicsControl > | forward_gears |
float | gear_switch_time = 0.5f |
float | mass = 1000.0f |
float | max_rpm = 5000.0f |
float | moi = 1.0f |
std::vector< geom::Vector2D > | steering_curve = {geom::Vector2D(0.0f, 1.0f), geom::Vector2D(10.0f, 0.5f)} |
std::vector< geom::Vector2D > | torque_curve = {geom::Vector2D(0.0f, 500.0f), geom::Vector2D(5000.0f, 500.0f)} |
bool | use_gear_autobox = true |
bool | use_sweep_wheel_collision = false |
std::vector< WheelPhysicsControl > | wheels |
|
default |
|
inline |
|
inline |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 154 行定义.
引用了 FVehiclePhysicsControl::bUseGearAutoBox, center_of_mass, FVehiclePhysicsControl::CenterOfMass, clutch_strength, FVehiclePhysicsControl::ClutchStrength, damping_rate_full_throttle, damping_rate_zero_throttle_clutch_disengaged, damping_rate_zero_throttle_clutch_engaged, FVehiclePhysicsControl::DampingRateFullThrottle, FVehiclePhysicsControl::DampingRateZeroThrottleClutchDisengaged, FVehiclePhysicsControl::DampingRateZeroThrottleClutchEngaged, drag_coefficient, FVehiclePhysicsControl::DragCoefficient, final_ratio, FVehiclePhysicsControl::FinalRatio, forward_gears, FVehiclePhysicsControl::ForwardGears, gear_switch_time, FVehiclePhysicsControl::GearSwitchTime, mass, FVehiclePhysicsControl::Mass, max_rpm, FVehiclePhysicsControl::MaxRPM, moi, FVehiclePhysicsControl::MOI, steering_curve, FVehiclePhysicsControl::SteeringCurve, torque_curve, FVehiclePhysicsControl::TorqueCurve, use_gear_autobox, use_sweep_wheel_collision, FVehiclePhysicsControl::UseSweepWheelCollision, wheels , 以及 FVehiclePhysicsControl::Wheels.
|
inline |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 64 行定义.
引用了 forward_gears.
|
inline |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 88 行定义.
引用了 steering_curve.
|
inline |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 80 行定义.
引用了 torque_curve.
|
inline |
|
inline |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 72 行定义.
引用了 wheels.
carla::rpc::VehiclePhysicsControl::MSGPACK_DEFINE_ARRAY | ( | torque_curve | , |
max_rpm | , | ||
moi | , | ||
damping_rate_full_throttle | , | ||
damping_rate_zero_throttle_clutch_engaged | , | ||
damping_rate_zero_throttle_clutch_disengaged | , | ||
use_gear_autobox | , | ||
gear_switch_time | , | ||
clutch_strength | , | ||
final_ratio | , | ||
forward_gears | , | ||
mass | , | ||
drag_coefficient | , | ||
center_of_mass | , | ||
steering_curve | , | ||
wheels | , | ||
use_sweep_wheel_collision | ) |
|
inline |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 200 行定义.
引用了 FVehiclePhysicsControl::bUseGearAutoBox, center_of_mass, FVehiclePhysicsControl::CenterOfMass, clutch_strength, FVehiclePhysicsControl::ClutchStrength, damping_rate_full_throttle, damping_rate_zero_throttle_clutch_disengaged, damping_rate_zero_throttle_clutch_engaged, FVehiclePhysicsControl::DampingRateFullThrottle, FVehiclePhysicsControl::DampingRateZeroThrottleClutchDisengaged, FVehiclePhysicsControl::DampingRateZeroThrottleClutchEngaged, drag_coefficient, FVehiclePhysicsControl::DragCoefficient, final_ratio, FVehiclePhysicsControl::FinalRatio, forward_gears, FVehiclePhysicsControl::ForwardGears, gear_switch_time, FVehiclePhysicsControl::GearSwitchTime, mass, FVehiclePhysicsControl::Mass, max_rpm, FVehiclePhysicsControl::MaxRPM, moi, FVehiclePhysicsControl::MOI, steering_curve, FVehiclePhysicsControl::SteeringCurve, torque_curve, FVehiclePhysicsControl::TorqueCurve, use_gear_autobox, use_sweep_wheel_collision, FVehiclePhysicsControl::UseSweepWheelCollision, wheels , 以及 FVehiclePhysicsControl::Wheels.
|
inline |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 126 行定义.
引用了 center_of_mass, clutch_strength, damping_rate_full_throttle, damping_rate_zero_throttle_clutch_disengaged, damping_rate_zero_throttle_clutch_engaged, drag_coefficient, final_ratio, forward_gears, gear_switch_time, mass, max_rpm, moi, steering_curve, use_gear_autobox, use_sweep_wheel_collision , 以及 wheels.
|
inline |
|
inline |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 68 行定义.
引用了 forward_gears.
|
inline |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 92 行定义.
引用了 steering_curve.
|
inline |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 84 行定义.
引用了 torque_curve.
|
inline |
|
inline |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 76 行定义.
引用了 wheels.
geom::Location carla::rpc::VehiclePhysicsControl::center_of_mass |
float carla::rpc::VehiclePhysicsControl::clutch_strength = 10.0f |
float carla::rpc::VehiclePhysicsControl::damping_rate_full_throttle = 0.15f |
float carla::rpc::VehiclePhysicsControl::damping_rate_zero_throttle_clutch_disengaged = 0.35f |
float carla::rpc::VehiclePhysicsControl::damping_rate_zero_throttle_clutch_engaged = 2.0f |
float carla::rpc::VehiclePhysicsControl::drag_coefficient = 0.3f |
float carla::rpc::VehiclePhysicsControl::final_ratio = 4.0f |
std::vector<GearPhysicsControl> carla::rpc::VehiclePhysicsControl::forward_gears |
float carla::rpc::VehiclePhysicsControl::gear_switch_time = 0.5f |
float carla::rpc::VehiclePhysicsControl::mass = 1000.0f |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 117 行定义.
被这些函数引用 operator FVehiclePhysicsControl(), operator!=(), CarlaRecorderQuery::QueryInfo(), CarlaRecorderPhysicsControl::Read(), carla::rss::RssRestrictor::RestrictVehicleControl(), VehiclePhysicsControl() , 以及 CarlaRecorderPhysicsControl::Write().
float carla::rpc::VehiclePhysicsControl::max_rpm = 5000.0f |
float carla::rpc::VehiclePhysicsControl::moi = 1.0f |
std::vector<geom::Vector2D> carla::rpc::VehiclePhysicsControl::steering_curve = {geom::Vector2D(0.0f, 1.0f), geom::Vector2D(10.0f, 0.5f)} |
std::vector<geom::Vector2D> carla::rpc::VehiclePhysicsControl::torque_curve = {geom::Vector2D(0.0f, 500.0f), geom::Vector2D(5000.0f, 500.0f)} |
bool carla::rpc::VehiclePhysicsControl::use_gear_autobox = true |
bool carla::rpc::VehiclePhysicsControl::use_sweep_wheel_collision = false |
std::vector<WheelPhysicsControl> carla::rpc::VehiclePhysicsControl::wheels |
在文件 LibCarla/source/carla/rpc/VehiclePhysicsControl.h 第 122 行定义.
被这些函数引用 GetWheels(), operator FVehiclePhysicsControl(), operator!=(), CarlaRecorderQuery::QueryInfo(), CarlaRecorderPhysicsControl::Read(), carla::rss::RssRestrictor::RestrictVehicleControl(), SetWheels(), VehiclePhysicsControl() , 以及 CarlaRecorderPhysicsControl::Write().