45 template <
class VEH_DYNAMICS>
56 static bool isRecording =
false;
62 isRecording = !isRecording;
63 setLogRecording(isRecording);
86 "Toggle logging [L]. Clear logs[C]. New log session [N]. " 88 std::string(isRecording ?
"logging" :
"not logging") +
94 virtual void control_step(
95 const typename VEH_DYNAMICS::TControllerInput& ci,
96 typename VEH_DYNAMICS::TControllerOutput& co) = 0;
105 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)