#include <VehicleControl.h>
Public Member Functions | |
MSGPACK_DEFINE_ARRAY (throttle, steer, brake, hand_brake, reverse, manual_gear_shift, gear) | |
bool | operator!= (const VehicleControl &rhs) const |
bool | operator== (const VehicleControl &rhs) const |
VehicleControl ()=default | |
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 Attributes | |
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 |
Definition at line 20 of file LibCarla/source/carla/rpc/VehicleControl.h.
|
default |
|
inline |
Definition at line 25 of file LibCarla/source/carla/rpc/VehicleControl.h.
carla::rpc::VehicleControl::MSGPACK_DEFINE_ARRAY | ( | throttle | , |
steer | , | ||
brake | , | ||
hand_brake | , | ||
reverse | , | ||
manual_gear_shift | , | ||
gear | |||
) |
|
inline |
Definition at line 74 of file LibCarla/source/carla/rpc/VehicleControl.h.
References brake, gear, hand_brake, manual_gear_shift, reverse, steer, and throttle.
|
inline |
Definition at line 85 of file LibCarla/source/carla/rpc/VehicleControl.h.
References MSGPACK_DEFINE_ARRAY().
float carla::rpc::VehicleControl::brake = 0.0f |
Definition at line 43 of file LibCarla/source/carla/rpc/VehicleControl.h.
Referenced by operator!=(), carla::rss::RssRestrictor::RestrictVehicleControl(), carla::traffic_manager::VehicleLightStage::Update(), and carla::traffic_manager::MotionPlanStage::Update().
int32_t carla::rpc::VehicleControl::gear = 0 |
Definition at line 47 of file LibCarla/source/carla/rpc/VehicleControl.h.
Referenced by operator!=().
bool carla::rpc::VehicleControl::hand_brake = false |
Definition at line 44 of file LibCarla/source/carla/rpc/VehicleControl.h.
Referenced by operator!=().
bool carla::rpc::VehicleControl::manual_gear_shift = false |
Definition at line 46 of file LibCarla/source/carla/rpc/VehicleControl.h.
Referenced by operator!=().
bool carla::rpc::VehicleControl::reverse = false |
Definition at line 45 of file LibCarla/source/carla/rpc/VehicleControl.h.
Referenced by operator!=(), and carla::rss::RssRestrictor::RestrictVehicleControl().
float carla::rpc::VehicleControl::steer = 0.0f |
Definition at line 42 of file LibCarla/source/carla/rpc/VehicleControl.h.
Referenced by carla::rss::RssCheck::GetSteeringAngle(), operator!=(), carla::rss::RssRestrictor::RestrictVehicleControl(), and carla::traffic_manager::MotionPlanStage::Update().
float carla::rpc::VehicleControl::throttle = 0.0f |
Definition at line 41 of file LibCarla/source/carla/rpc/VehicleControl.h.
Referenced by operator!=(), carla::rss::RssRestrictor::RestrictVehicleControl(), and carla::traffic_manager::MotionPlanStage::Update().