10 #include <argos3/core/wrappers/lua/lua_utility.h>
19 void CCI_AltitudeSensor::CreateLuaState(lua_State* pt_lua_state) {
28 void CCI_AltitudeSensor::ReadingsToLuaState(lua_State* pt_lua_state) {
30 lua_setfield(pt_lua_state, -2,
"altitude");
float Real
Collects all ARGoS code.
The namespace containing all the ARGoS related code.
static void AddToTable(lua_State *pt_state, const std::string &str_key, void *pt_data)
Adds a pointer to a chunk of data with the given string key to the table located at the top of the st...
Real GetReading() const
Returns the current altitude.