13 using namespace mvsim;
19 setpoint_lin_speed(0),
20 setpoint_steer_ang(0),
68 std::map<std::string, TParamEntry> params;
116 "] Teleop keys: w/s=incr/decr lin speed. " 117 "a/d=left/right steering. spacebar=stop.\n";
ControllerFrontSteerPID(DynamicsAckermann &veh)
virtual void load_config(const rapidxml::xml_node< char > &node)
double max_torque
Maximum abs. value torque (for clamp) [Nm].
virtual void control_step(const DynamicsAckermann::TControllerInput &ci, DynamicsAckermann::TControllerOutput &co)
double setpoint_ang_speed
desired velocities (m/s) and (rad/s)
double KD
PID controller parameters.
virtual void teleop_interface(const TeleopInput &in, TeleopOutput &out) override
void parse_xmlnode_children_as_param(const rapidxml::xml_node< char > &xml_node, const std::map< std::string, TParamEntry > ¶ms, const char *function_name_context="")
double KD
PID controller parameters.
double setpoint_lin_speed
double setpoint_steer_ang
TFSIMD_FORCE_INLINE const tfScalar & w() const
double steer_ang
Equivalent ackerman steering angle.
std::string append_gui_lines
virtual void control_step(const DynamicsAckermann::TControllerInput &ci, DynamicsAckermann::TControllerOutput &co)
double max_torque
Maximum abs. value torque (for clamp) [Nm].
double setpoint_lin_speed
virtual void teleop_interface(const TeleopInput &in, TeleopOutput &out)
ControllerTwistFrontSteerPID m_twist_control
static const char * class_name()