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";
virtual void load_config(const rapidxml::xml_node< char > &node)
double setpoint_lin_speed
double KD
PID controller parameters.
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
ControllerTwistFrontSteerPID m_twist_control
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="")
virtual void control_step(const DynamicsAckermannDrivetrain::TControllerInput &ci, DynamicsAckermannDrivetrain::TControllerOutput &co)
double setpoint_lin_speed
virtual void teleop_interface(const TeleopInput &in, TeleopOutput &out)
double KD
PID controller parameters.
double steer_ang
Equivalent ackerman steering angle.
TFSIMD_FORCE_INLINE const tfScalar & w() const
std::string append_gui_lines
virtual void control_step(const DynamicsAckermannDrivetrain::TControllerInput &ci, DynamicsAckermannDrivetrain::TControllerOutput &co)
double max_torque
Maximum abs. value torque (for clamp) [Nm].