13 using namespace mvsim;
19 setpoint_lin_speed(0),
20 setpoint_steer_ang(0),
114 "] Teleop keys: w/s=incr/decr lin speed. " 115 "a/d=left/right steering. spacebar=stop.\n";
virtual void teleop_interface(const TeleopInput &in, TeleopOutput &out) override
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.
GLubyte GLubyte GLubyte GLubyte w
double max_torque
Maximum abs. value torque (for clamp) [Nm].
static const char * class_name()
double setpoint_ang_speed
desired velocities (m/s) and (rad/s)
ControllerFrontSteerPID(DynamicsAckermannDrivetrain &veh)
double setpoint_steer_ang
virtual void control_step(const DynamicsAckermannDrivetrain::TControllerInput &ci, DynamicsAckermannDrivetrain::TControllerOutput &co) override
ControllerTwistFrontSteerPID m_twist_control
virtual void teleop_interface(const TeleopInput &in, TeleopOutput &out) override
std::string BASE_IMPEXP format(const char *fmt,...) MRPT_printf_format_check(1
double setpoint_lin_speed
double KD
PID controller parameters.
GLsizei const GLcharARB ** string
double steer_ang
Equivalent ackerman steering angle.
virtual void load_config(const rapidxml::xml_node< char > &node) override
virtual void control_step(const DynamicsAckermannDrivetrain::TControllerInput &ci, DynamicsAckermannDrivetrain::TControllerOutput &co) override
std::string append_gui_lines
double max_torque
Maximum abs. value torque (for clamp) [Nm].