#include <VehicleDifferential.h>

Public Member Functions | |
| void | control_step (const DynamicsDifferential::TControllerInput &ci, DynamicsDifferential::TControllerOutput &co) override |
| ControllerTwistIdeal (DynamicsDifferential &veh) | |
| void | on_post_step (const TSimulContext &context) override |
| mrpt::math::TTwist2D | setpoint () const |
| bool | setTwistCommand (const mrpt::math::TTwist2D &t) override |
| virtual void | teleop_interface (const TeleopInput &in, TeleopOutput &out) override |
Public Member Functions inherited from mvsim::ControllerBaseTempl< VEH_DYNAMICS > | |
| virtual void | clearLogs () |
| virtual void | control_step (const typename VEH_DYNAMICS::TControllerInput &ci, typename VEH_DYNAMICS::TControllerOutput &co)=0 |
| ControllerBaseTempl (VEH_DYNAMICS &veh) | |
| virtual void | load_config ([[maybe_unused]] const rapidxml::xml_node< char > &node) |
| virtual void | newLogSession () |
| virtual void | on_post_step ([[maybe_unused]] const TSimulContext &context) |
| virtual void | setLogRecording (bool recording) |
| virtual | ~ControllerBaseTempl () |
Public Member Functions inherited from mvsim::ControllerBaseInterface | |
| virtual bool | setTwistCommand ([[maybe_unused]] const mrpt::math::TTwist2D &t) |
| virtual void | teleop_interface ([[maybe_unused]] const TeleopInput &in, [[maybe_unused]] TeleopOutput &out) |
Static Public Member Functions | |
| static const char * | class_name () |
Private Attributes | |
| double | distWheels_ = 0 |
| double | joyMaxAngSpeed = 0.5 |
| double | joyMaxLinSpeed = 1.0 |
| mrpt::math::TTwist2D | setpoint_ {0, 0, 0} |
| "vx" and "omega" only More... | |
| std::mutex | setpointMtx_ |
Additional Inherited Members | |
Public Types inherited from mvsim::ControllerBaseTempl< VEH_DYNAMICS > | |
| using | Ptr = std::shared_ptr< ControllerBaseTempl< VEH_DYNAMICS > > |
Protected Attributes inherited from mvsim::ControllerBaseTempl< VEH_DYNAMICS > | |
| VEH_DYNAMICS & | veh_ |
Ideal ("fake") controller, which perfectly and instantaneously sets the vehicle twist setpoint as vehicle twist.
Definition at line 161 of file VehicleDifferential.h.
| DynamicsDifferential::ControllerTwistIdeal::ControllerTwistIdeal | ( | DynamicsDifferential & | veh | ) |
Definition at line 14 of file VehicleDifferential_ControllerTwistIdeal.cpp.
|
inlinestatic |
Definition at line 165 of file VehicleDifferential.h.
|
override |
Definition at line 24 of file VehicleDifferential_ControllerTwistIdeal.cpp.
|
override |
Definition at line 32 of file VehicleDifferential_ControllerTwistIdeal.cpp.
|
inline |
Returns the current setpoint of the controller
Definition at line 184 of file VehicleDifferential.h.
|
inlineoverride |
Definition at line 175 of file VehicleDifferential.h.
|
overridevirtual |
This is to handle basic need of all the controllers.
Reimplemented from mvsim::ControllerBaseTempl< VEH_DYNAMICS >.
Definition at line 40 of file VehicleDifferential_ControllerTwistIdeal.cpp.
|
private |
Definition at line 193 of file VehicleDifferential.h.
|
private |
Definition at line 198 of file VehicleDifferential.h.
|
private |
Definition at line 197 of file VehicleDifferential.h.
|
private |
"vx" and "omega" only
Definition at line 194 of file VehicleDifferential.h.
|
mutableprivate |
Definition at line 195 of file VehicleDifferential.h.