12 #include <argos3/core/wrappers/lua/lua_utility.h>
28 void CCI_CameraSensor::CreateLuaState(lua_State* pt_lua_state) {
34 pc_algorithm->CreateLuaState(pt_lua_state);
47 void CCI_CameraSensor::ReadingsToLuaState(lua_State* pt_lua_state) {
51 for(CCI_CameraSensorAlgorithm* pc_algorithm : s_interface.Algorithms) {
53 pc_algorithm->ReadingsToLuaState(pt_lua_state);
The namespace containing all the ARGoS related code.
static void EndTable(lua_State *pt_state)
Adds a table to the Lua stack.
static void StartTable(lua_State *pt_state, const std::string &str_key)
Adds a table with the given string key to the table located at the top of the stack.
static void OpenRobotStateTable(lua_State *pt_state, const std::string &str_key)
Opens a table in the robot state, creating it if it does not exist.
static void CloseRobotStateTable(lua_State *pt_state)
Closes a table in the robot state.
const SInterface::TVector & GetInterfaces() const
Returns a const reference to the camera interfaces.
SInterface::TVector m_vecInterfaces
std::vector< SInterface > TVector