14 using namespace mvsim;
29 ControllerBase::teleop_interface(in, out);
35 setpoint_wheel_torque_l -= 0.5;
36 setpoint_wheel_torque_r -= 0.5;
41 setpoint_wheel_torque_l += 0.5;
42 setpoint_wheel_torque_r += 0.5;
47 setpoint_wheel_torque_l += 0.5;
48 setpoint_wheel_torque_r -= 0.5;
53 setpoint_wheel_torque_l -= 0.5;
54 setpoint_wheel_torque_r += 0.5;
58 setpoint_wheel_torque_l = setpoint_wheel_torque_r = 0.0;
62 "] Teleop keys: w/s=incr/decr both torques. " 63 "a/d=left/right. spacebar=stop.\n";
65 "setpoint: tl=%.03f tr=%.03f deg\n", setpoint_wheel_torque_l,
66 setpoint_wheel_torque_r);
virtual void control_step(const DynamicsDifferential::TControllerInput &ci, DynamicsDifferential::TControllerOutput &co)
virtual void teleop_interface(const TeleopInput &in, TeleopOutput &out)
std::string append_gui_lines