13 using namespace mvsim;
19 setpoint_lin_speed(0),
20 setpoint_ang_speed(0),
56 const double vel_act =
m_veh.getVelocityLocalOdoEstimate().vx;
112 "] Teleop keys: w/s=incr/decr lin speed. " 113 "a/d=left/right steering. spacebar=stop.\n";
double setpoint_lin_speed
std::map< std::string, TParamEntry > TParameterDefinitions
void parse_xmlnode_children_as_param(const rapidxml::xml_node< char > &xml_node, const TParameterDefinitions ¶ms, const std::map< std::string, std::string > &variableNamesValues={}, const char *functionNameContext="")
double KD
PID controller parameters.
double max_torque
Maximum abs. value torque (for clamp) [Nm].
double setpoint_ang_speed
desired velocities (m/s) and (rad/s)
ControllerTwistFrontSteerPID(DynamicsAckermannDrivetrain &veh)
virtual void teleop_interface(const TeleopInput &in, TeleopOutput &out) override
virtual void teleop_interface(const TeleopInput &in, TeleopOutput &out) override
std::string BASE_IMPEXP format(const char *fmt,...) MRPT_printf_format_check(1
virtual void load_config(const rapidxml::xml_node< char > &node) override
static const char * class_name()
GLsizei const GLcharARB ** string
double steer_ang
Equivalent ackerman steering angle.
double max_out
For clamping (0=no clamp)
double compute(double err, double dt)
virtual void control_step(const DynamicsAckermannDrivetrain::TControllerInput &ci, DynamicsAckermannDrivetrain::TControllerOutput &co) override
std::string append_gui_lines