ARGoS
3
A parallel, multi-engine simulator for swarm robotics
|
Go to the documentation of this file.
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.
lua_State * GetLuaState()
std::string GetErrorMessage()
ticpp::Element TConfigurationNode
The ARGoS configuration XML node.
virtual void Destroy()
The default implementation of this method does nothing.
virtual void Reset()
Resets the state of the controller to what it was right after Init() was executed.
virtual void CreateLuaState()
virtual void SetLuaScript(const std::string &str_script, TConfigurationNode &t_tree)
virtual ~CLuaController()
virtual void ParametersToLuaState(TConfigurationNode &t_tree)
virtual void ControlStep()
Executes a control step.
virtual void Init(TConfigurationNode &t_tree)
Initializes the controller.
virtual void SensorReadingsToLuaState()
The basic interface for a robot controller.