44 template <
class VEH_DYNAMICS>
55 static bool isRecording =
false;
61 isRecording = !isRecording;
62 setLogRecording(isRecording);
85 "Toggle logging [L]. Clear logs[C]. New log session [N]. " 87 std::string(isRecording ?
"logging" :
"not logging") +
93 virtual void control_step(
94 const typename VEH_DYNAMICS::TControllerInput& ci,
95 typename VEH_DYNAMICS::TControllerOutput& co) = 0;
103 m_veh.setRecording(recording);
virtual void load_config(const rapidxml::xml_node< char > &node)
virtual void teleop_interface(const TeleopInput &in, TeleopOutput &out)
virtual void teleop_interface(const TeleopInput &in, TeleopOutput &out) override
virtual void newLogSession()
virtual ~ControllerBaseTempl()
virtual void setLogRecording(bool recording)
virtual bool setTwistCommand(const double vx, const double wz)
std::string append_gui_lines
ControllerBaseTempl(VEH_DYNAMICS &veh)