7 #include <argos3/core/control_interface/ci_controller.h>
8 #include <argos3/core/utility/math/rng.h>
39 virtual void SetLuaScript(
const std::string& str_script);
55 lua_State* m_ptLuaState;
56 std::string m_strScriptFileName;
The namespace containing all the ARGoS related code.
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
The basic interface for a robot controller.
virtual void SetLuaScript(const std::string &str_script, TConfigurationNode &t_tree)
virtual void ParametersToLuaState(TConfigurationNode &t_tree)
virtual void Destroy()
The default implementation of this method does nothing.
virtual void Init(TConfigurationNode &t_tree)
Initializes the controller.
std::string GetErrorMessage()
virtual void Reset()
Resets the state of the controller to what it was right after Init() was executed.
lua_State * GetLuaState()
virtual void ControlStep()
Executes a control step.
virtual ~CLuaController()
virtual void SensorReadingsToLuaState()
virtual void CreateLuaState()