53 : ControllerBase(veh),
54 setpoint_wheel_torque_l(0),
55 setpoint_wheel_torque_r(0)
62 virtual void control_step(
65 virtual void teleop_interface(
80 virtual void control_step(
84 virtual void teleop_interface(
92 setpoint_lin_speed = vx;
93 setpoint_ang_speed = wz;
120 std::vector<double>& out_force_per_wheel)
override;
double setpoint_wheel_torque_r
virtual void dynamics_load_params_from_xml(const rapidxml::xml_node< char > *xml_node) override
const ControllerBasePtr & getController() const
virtual bool setTwistCommand(const double vx, const double wz) override
DynamicsDifferential(World *parent)
static const char * class_name()
virtual void invoke_motor_controllers(const TSimulContext &context, std::vector< double > &out_force_per_wheel) override
ControllerBaseTempl< DynamicsDifferential > ControllerBase
virtual ControllerBaseInterface * getControllerInterface() override
std::shared_ptr< ControllerBase > ControllerBasePtr
ControllerRawForces(DynamicsDifferential &veh)
#define DECLARES_REGISTER_VEHICLE_DYNAMICS(CLASS_NAME)
ControllerBasePtr m_controller
The installed controller.
static const char * class_name()
virtual mrpt::math::TTwist2D getVelocityLocalOdoEstimate() const override
double max_torque
Maximum abs. value torque (for clamp) [Nm].
ControllerBasePtr & getController()
double setpoint_lin_speed