Fawkes API
Fawkes Development Version
|
00001 /* 00002 ** Lua binding: interfaces_HumanoidMotionInterface 00003 ** Generated automatically by tolua++-1.0.92 00004 */ 00005 /* This program is free software; you can redistribute it and/or modify 00006 * it under the terms of the GNU General Public License as published by 00007 * the Free Software Foundation; either version 2 of the License, or 00008 * (at your option) any later version. A runtime exception applies to 00009 * this software (see LICENSE.GPL_WRE file mentioned below for details). 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU Library General Public License for more details. 00015 * 00016 * Read the full text in the LICENSE.GPL_WRE file in the doc directory. 00017 */ 00018 00019 #ifndef __cplusplus 00020 #include "stdlib.h" 00021 #endif 00022 #include "string.h" 00023 00024 #include "tolua++.h" 00025 00026 /* Exported function */ 00027 TOLUA_API int tolua_interfaces_HumanoidMotionInterface_open (lua_State* tolua_S); 00028 00029 #include <interfaces/HumanoidMotionInterface.h> 00030 using namespace fawkes; 00031 00032 /* function to release collected object via destructor */ 00033 #ifdef __cplusplus 00034 00035 static int tolua_collect_fawkes__HumanoidMotionInterface__SetStiffnessParamsMessage (lua_State* tolua_S) 00036 { 00037 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 00038 Mtolua_delete(self); 00039 return 0; 00040 } 00041 00042 static int tolua_collect_fawkes__HumanoidMotionInterface__GetUpMessage (lua_State* tolua_S) 00043 { 00044 fawkes::HumanoidMotionInterface::GetUpMessage* self = (fawkes::HumanoidMotionInterface::GetUpMessage*) tolua_tousertype(tolua_S,1,0); 00045 Mtolua_delete(self); 00046 return 0; 00047 } 00048 00049 static int tolua_collect_fawkes__HumanoidMotionInterface__StopMessage (lua_State* tolua_S) 00050 { 00051 fawkes::HumanoidMotionInterface::StopMessage* self = (fawkes::HumanoidMotionInterface::StopMessage*) tolua_tousertype(tolua_S,1,0); 00052 Mtolua_delete(self); 00053 return 0; 00054 } 00055 00056 static int tolua_collect_fawkes__HumanoidMotionInterface__WalkStraightMessage (lua_State* tolua_S) 00057 { 00058 fawkes::HumanoidMotionInterface::WalkStraightMessage* self = (fawkes::HumanoidMotionInterface::WalkStraightMessage*) tolua_tousertype(tolua_S,1,0); 00059 Mtolua_delete(self); 00060 return 0; 00061 } 00062 00063 static int tolua_collect_fawkes__HumanoidMotionInterface__SetWalkParamsMessage (lua_State* tolua_S) 00064 { 00065 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00066 Mtolua_delete(self); 00067 return 0; 00068 } 00069 00070 static int tolua_collect_fawkes__HumanoidMotionInterface__SetWalkArmsParamsMessage (lua_State* tolua_S) 00071 { 00072 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 00073 Mtolua_delete(self); 00074 return 0; 00075 } 00076 00077 static int tolua_collect_fawkes__HumanoidMotionInterface__StandupMessage (lua_State* tolua_S) 00078 { 00079 fawkes::HumanoidMotionInterface::StandupMessage* self = (fawkes::HumanoidMotionInterface::StandupMessage*) tolua_tousertype(tolua_S,1,0); 00080 Mtolua_delete(self); 00081 return 0; 00082 } 00083 00084 static int tolua_collect_fawkes__HumanoidMotionInterface__YawPitchHeadMessage (lua_State* tolua_S) 00085 { 00086 fawkes::HumanoidMotionInterface::YawPitchHeadMessage* self = (fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) tolua_tousertype(tolua_S,1,0); 00087 Mtolua_delete(self); 00088 return 0; 00089 } 00090 00091 static int tolua_collect_fawkes__HumanoidMotionInterface__WalkSidewaysMessage (lua_State* tolua_S) 00092 { 00093 fawkes::HumanoidMotionInterface::WalkSidewaysMessage* self = (fawkes::HumanoidMotionInterface::WalkSidewaysMessage*) tolua_tousertype(tolua_S,1,0); 00094 Mtolua_delete(self); 00095 return 0; 00096 } 00097 00098 static int tolua_collect_fawkes__HumanoidMotionInterface__WalkMessage (lua_State* tolua_S) 00099 { 00100 fawkes::HumanoidMotionInterface::WalkMessage* self = (fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 00101 Mtolua_delete(self); 00102 return 0; 00103 } 00104 00105 static int tolua_collect_fawkes__HumanoidMotionInterface__ParkMessage (lua_State* tolua_S) 00106 { 00107 fawkes::HumanoidMotionInterface::ParkMessage* self = (fawkes::HumanoidMotionInterface::ParkMessage*) tolua_tousertype(tolua_S,1,0); 00108 Mtolua_delete(self); 00109 return 0; 00110 } 00111 00112 static int tolua_collect_fawkes__HumanoidMotionInterface__WalkArcMessage (lua_State* tolua_S) 00113 { 00114 fawkes::HumanoidMotionInterface::WalkArcMessage* self = (fawkes::HumanoidMotionInterface::WalkArcMessage*) tolua_tousertype(tolua_S,1,0); 00115 Mtolua_delete(self); 00116 return 0; 00117 } 00118 00119 static int tolua_collect_fawkes__HumanoidMotionInterface__KickMessage (lua_State* tolua_S) 00120 { 00121 fawkes::HumanoidMotionInterface::KickMessage* self = (fawkes::HumanoidMotionInterface::KickMessage*) tolua_tousertype(tolua_S,1,0); 00122 Mtolua_delete(self); 00123 return 0; 00124 } 00125 00126 static int tolua_collect_fawkes__HumanoidMotionInterface__TurnMessage (lua_State* tolua_S) 00127 { 00128 fawkes::HumanoidMotionInterface::TurnMessage* self = (fawkes::HumanoidMotionInterface::TurnMessage*) tolua_tousertype(tolua_S,1,0); 00129 Mtolua_delete(self); 00130 return 0; 00131 } 00132 #endif 00133 00134 00135 /* function to register type */ 00136 static void tolua_reg_types (lua_State* tolua_S) 00137 { 00138 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage"); 00139 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::StopMessage"); 00140 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::WalkArcMessage"); 00141 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage"); 00142 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage"); 00143 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::WalkMessage"); 00144 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::KickMessage"); 00145 tolua_usertype(tolua_S,"Interface"); 00146 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::WalkStraightMessage"); 00147 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage"); 00148 tolua_usertype(tolua_S,"Message"); 00149 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage"); 00150 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface"); 00151 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::ParkMessage"); 00152 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::TurnMessage"); 00153 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::GetUpMessage"); 00154 tolua_usertype(tolua_S,"fawkes::HumanoidMotionInterface::StandupMessage"); 00155 } 00156 00157 /* method: new of class SetWalkParamsMessage */ 00158 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new00 00159 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new00(lua_State* tolua_S) 00160 { 00161 #ifndef TOLUA_RELEASE 00162 tolua_Error tolua_err; 00163 if ( 00164 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00165 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00166 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 00167 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 00168 !tolua_isnumber(tolua_S,5,0,&tolua_err) || 00169 !tolua_isnumber(tolua_S,6,0,&tolua_err) || 00170 !tolua_isnumber(tolua_S,7,0,&tolua_err) || 00171 !tolua_isnumber(tolua_S,8,0,&tolua_err) || 00172 !tolua_isnumber(tolua_S,9,0,&tolua_err) || 00173 !tolua_isnumber(tolua_S,10,0,&tolua_err) || 00174 !tolua_isnumber(tolua_S,11,0,&tolua_err) || 00175 !tolua_isnoobj(tolua_S,12,&tolua_err) 00176 ) 00177 goto tolua_lerror; 00178 else 00179 #endif 00180 { 00181 float ini_max_step_length = ((float) tolua_tonumber(tolua_S,2,0)); 00182 float ini_max_step_height = ((float) tolua_tonumber(tolua_S,3,0)); 00183 float ini_max_step_side = ((float) tolua_tonumber(tolua_S,4,0)); 00184 float ini_max_step_turn = ((float) tolua_tonumber(tolua_S,5,0)); 00185 float ini_zmp_offset_forward = ((float) tolua_tonumber(tolua_S,6,0)); 00186 float ini_zmp_offset_sideward = ((float) tolua_tonumber(tolua_S,7,0)); 00187 float ini_l_hip_roll_compensation = ((float) tolua_tonumber(tolua_S,8,0)); 00188 float ini_r_hip_roll_compensation = ((float) tolua_tonumber(tolua_S,9,0)); 00189 float ini_hip_height = ((float) tolua_tonumber(tolua_S,10,0)); 00190 float ini_torso_sideward_orientation = ((float) tolua_tonumber(tolua_S,11,0)); 00191 { 00192 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* tolua_ret = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::SetWalkParamsMessage)(ini_max_step_length,ini_max_step_height,ini_max_step_side,ini_max_step_turn,ini_zmp_offset_forward,ini_zmp_offset_sideward,ini_l_hip_roll_compensation,ini_r_hip_roll_compensation,ini_hip_height,ini_torso_sideward_orientation)); 00193 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage"); 00194 } 00195 } 00196 return 1; 00197 #ifndef TOLUA_RELEASE 00198 tolua_lerror: 00199 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 00200 return 0; 00201 #endif 00202 } 00203 #endif //#ifndef TOLUA_DISABLE 00204 00205 /* method: new_local of class SetWalkParamsMessage */ 00206 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new00_local 00207 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new00_local(lua_State* tolua_S) 00208 { 00209 #ifndef TOLUA_RELEASE 00210 tolua_Error tolua_err; 00211 if ( 00212 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00213 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00214 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 00215 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 00216 !tolua_isnumber(tolua_S,5,0,&tolua_err) || 00217 !tolua_isnumber(tolua_S,6,0,&tolua_err) || 00218 !tolua_isnumber(tolua_S,7,0,&tolua_err) || 00219 !tolua_isnumber(tolua_S,8,0,&tolua_err) || 00220 !tolua_isnumber(tolua_S,9,0,&tolua_err) || 00221 !tolua_isnumber(tolua_S,10,0,&tolua_err) || 00222 !tolua_isnumber(tolua_S,11,0,&tolua_err) || 00223 !tolua_isnoobj(tolua_S,12,&tolua_err) 00224 ) 00225 goto tolua_lerror; 00226 else 00227 #endif 00228 { 00229 float ini_max_step_length = ((float) tolua_tonumber(tolua_S,2,0)); 00230 float ini_max_step_height = ((float) tolua_tonumber(tolua_S,3,0)); 00231 float ini_max_step_side = ((float) tolua_tonumber(tolua_S,4,0)); 00232 float ini_max_step_turn = ((float) tolua_tonumber(tolua_S,5,0)); 00233 float ini_zmp_offset_forward = ((float) tolua_tonumber(tolua_S,6,0)); 00234 float ini_zmp_offset_sideward = ((float) tolua_tonumber(tolua_S,7,0)); 00235 float ini_l_hip_roll_compensation = ((float) tolua_tonumber(tolua_S,8,0)); 00236 float ini_r_hip_roll_compensation = ((float) tolua_tonumber(tolua_S,9,0)); 00237 float ini_hip_height = ((float) tolua_tonumber(tolua_S,10,0)); 00238 float ini_torso_sideward_orientation = ((float) tolua_tonumber(tolua_S,11,0)); 00239 { 00240 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* tolua_ret = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::SetWalkParamsMessage)(ini_max_step_length,ini_max_step_height,ini_max_step_side,ini_max_step_turn,ini_zmp_offset_forward,ini_zmp_offset_sideward,ini_l_hip_roll_compensation,ini_r_hip_roll_compensation,ini_hip_height,ini_torso_sideward_orientation)); 00241 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage"); 00242 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 00243 } 00244 } 00245 return 1; 00246 #ifndef TOLUA_RELEASE 00247 tolua_lerror: 00248 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 00249 return 0; 00250 #endif 00251 } 00252 #endif //#ifndef TOLUA_DISABLE 00253 00254 /* method: new of class SetWalkParamsMessage */ 00255 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new01 00256 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new01(lua_State* tolua_S) 00257 { 00258 tolua_Error tolua_err; 00259 if ( 00260 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00261 !tolua_isnoobj(tolua_S,2,&tolua_err) 00262 ) 00263 goto tolua_lerror; 00264 else 00265 { 00266 { 00267 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* tolua_ret = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::SetWalkParamsMessage)()); 00268 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage"); 00269 } 00270 } 00271 return 1; 00272 tolua_lerror: 00273 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new00(tolua_S); 00274 } 00275 #endif //#ifndef TOLUA_DISABLE 00276 00277 /* method: new_local of class SetWalkParamsMessage */ 00278 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new01_local 00279 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new01_local(lua_State* tolua_S) 00280 { 00281 tolua_Error tolua_err; 00282 if ( 00283 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00284 !tolua_isnoobj(tolua_S,2,&tolua_err) 00285 ) 00286 goto tolua_lerror; 00287 else 00288 { 00289 { 00290 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* tolua_ret = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::SetWalkParamsMessage)()); 00291 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage"); 00292 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 00293 } 00294 } 00295 return 1; 00296 tolua_lerror: 00297 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new00_local(tolua_S); 00298 } 00299 #endif //#ifndef TOLUA_DISABLE 00300 00301 /* method: delete of class SetWalkParamsMessage */ 00302 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_delete00 00303 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_delete00(lua_State* tolua_S) 00304 { 00305 #ifndef TOLUA_RELEASE 00306 tolua_Error tolua_err; 00307 if ( 00308 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00309 !tolua_isnoobj(tolua_S,2,&tolua_err) 00310 ) 00311 goto tolua_lerror; 00312 else 00313 #endif 00314 { 00315 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00316 #ifndef TOLUA_RELEASE 00317 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 00318 #endif 00319 Mtolua_delete(self); 00320 } 00321 return 0; 00322 #ifndef TOLUA_RELEASE 00323 tolua_lerror: 00324 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 00325 return 0; 00326 #endif 00327 } 00328 #endif //#ifndef TOLUA_DISABLE 00329 00330 /* method: max_step_length of class SetWalkParamsMessage */ 00331 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_max_step_length00 00332 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_max_step_length00(lua_State* tolua_S) 00333 { 00334 #ifndef TOLUA_RELEASE 00335 tolua_Error tolua_err; 00336 if ( 00337 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00338 !tolua_isnoobj(tolua_S,2,&tolua_err) 00339 ) 00340 goto tolua_lerror; 00341 else 00342 #endif 00343 { 00344 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00345 #ifndef TOLUA_RELEASE 00346 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'max_step_length'", NULL); 00347 #endif 00348 { 00349 float tolua_ret = (float) self->max_step_length(); 00350 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00351 } 00352 } 00353 return 1; 00354 #ifndef TOLUA_RELEASE 00355 tolua_lerror: 00356 tolua_error(tolua_S,"#ferror in function 'max_step_length'.",&tolua_err); 00357 return 0; 00358 #endif 00359 } 00360 #endif //#ifndef TOLUA_DISABLE 00361 00362 /* method: set_max_step_length of class SetWalkParamsMessage */ 00363 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_max_step_length00 00364 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_max_step_length00(lua_State* tolua_S) 00365 { 00366 #ifndef TOLUA_RELEASE 00367 tolua_Error tolua_err; 00368 if ( 00369 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00370 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00371 !tolua_isnoobj(tolua_S,3,&tolua_err) 00372 ) 00373 goto tolua_lerror; 00374 else 00375 #endif 00376 { 00377 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00378 const float new_max_step_length = ((const float) tolua_tonumber(tolua_S,2,0)); 00379 #ifndef TOLUA_RELEASE 00380 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_max_step_length'", NULL); 00381 #endif 00382 { 00383 self->set_max_step_length(new_max_step_length); 00384 } 00385 } 00386 return 0; 00387 #ifndef TOLUA_RELEASE 00388 tolua_lerror: 00389 tolua_error(tolua_S,"#ferror in function 'set_max_step_length'.",&tolua_err); 00390 return 0; 00391 #endif 00392 } 00393 #endif //#ifndef TOLUA_DISABLE 00394 00395 /* method: maxlenof_max_step_length of class SetWalkParamsMessage */ 00396 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_max_step_length00 00397 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_max_step_length00(lua_State* tolua_S) 00398 { 00399 #ifndef TOLUA_RELEASE 00400 tolua_Error tolua_err; 00401 if ( 00402 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00403 !tolua_isnoobj(tolua_S,2,&tolua_err) 00404 ) 00405 goto tolua_lerror; 00406 else 00407 #endif 00408 { 00409 const fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00410 #ifndef TOLUA_RELEASE 00411 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_max_step_length'", NULL); 00412 #endif 00413 { 00414 int tolua_ret = (int) self->maxlenof_max_step_length(); 00415 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00416 } 00417 } 00418 return 1; 00419 #ifndef TOLUA_RELEASE 00420 tolua_lerror: 00421 tolua_error(tolua_S,"#ferror in function 'maxlenof_max_step_length'.",&tolua_err); 00422 return 0; 00423 #endif 00424 } 00425 #endif //#ifndef TOLUA_DISABLE 00426 00427 /* method: max_step_height of class SetWalkParamsMessage */ 00428 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_max_step_height00 00429 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_max_step_height00(lua_State* tolua_S) 00430 { 00431 #ifndef TOLUA_RELEASE 00432 tolua_Error tolua_err; 00433 if ( 00434 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00435 !tolua_isnoobj(tolua_S,2,&tolua_err) 00436 ) 00437 goto tolua_lerror; 00438 else 00439 #endif 00440 { 00441 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00442 #ifndef TOLUA_RELEASE 00443 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'max_step_height'", NULL); 00444 #endif 00445 { 00446 float tolua_ret = (float) self->max_step_height(); 00447 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00448 } 00449 } 00450 return 1; 00451 #ifndef TOLUA_RELEASE 00452 tolua_lerror: 00453 tolua_error(tolua_S,"#ferror in function 'max_step_height'.",&tolua_err); 00454 return 0; 00455 #endif 00456 } 00457 #endif //#ifndef TOLUA_DISABLE 00458 00459 /* method: set_max_step_height of class SetWalkParamsMessage */ 00460 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_max_step_height00 00461 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_max_step_height00(lua_State* tolua_S) 00462 { 00463 #ifndef TOLUA_RELEASE 00464 tolua_Error tolua_err; 00465 if ( 00466 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00467 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00468 !tolua_isnoobj(tolua_S,3,&tolua_err) 00469 ) 00470 goto tolua_lerror; 00471 else 00472 #endif 00473 { 00474 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00475 const float new_max_step_height = ((const float) tolua_tonumber(tolua_S,2,0)); 00476 #ifndef TOLUA_RELEASE 00477 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_max_step_height'", NULL); 00478 #endif 00479 { 00480 self->set_max_step_height(new_max_step_height); 00481 } 00482 } 00483 return 0; 00484 #ifndef TOLUA_RELEASE 00485 tolua_lerror: 00486 tolua_error(tolua_S,"#ferror in function 'set_max_step_height'.",&tolua_err); 00487 return 0; 00488 #endif 00489 } 00490 #endif //#ifndef TOLUA_DISABLE 00491 00492 /* method: maxlenof_max_step_height of class SetWalkParamsMessage */ 00493 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_max_step_height00 00494 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_max_step_height00(lua_State* tolua_S) 00495 { 00496 #ifndef TOLUA_RELEASE 00497 tolua_Error tolua_err; 00498 if ( 00499 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00500 !tolua_isnoobj(tolua_S,2,&tolua_err) 00501 ) 00502 goto tolua_lerror; 00503 else 00504 #endif 00505 { 00506 const fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00507 #ifndef TOLUA_RELEASE 00508 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_max_step_height'", NULL); 00509 #endif 00510 { 00511 int tolua_ret = (int) self->maxlenof_max_step_height(); 00512 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00513 } 00514 } 00515 return 1; 00516 #ifndef TOLUA_RELEASE 00517 tolua_lerror: 00518 tolua_error(tolua_S,"#ferror in function 'maxlenof_max_step_height'.",&tolua_err); 00519 return 0; 00520 #endif 00521 } 00522 #endif //#ifndef TOLUA_DISABLE 00523 00524 /* method: max_step_side of class SetWalkParamsMessage */ 00525 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_max_step_side00 00526 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_max_step_side00(lua_State* tolua_S) 00527 { 00528 #ifndef TOLUA_RELEASE 00529 tolua_Error tolua_err; 00530 if ( 00531 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00532 !tolua_isnoobj(tolua_S,2,&tolua_err) 00533 ) 00534 goto tolua_lerror; 00535 else 00536 #endif 00537 { 00538 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00539 #ifndef TOLUA_RELEASE 00540 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'max_step_side'", NULL); 00541 #endif 00542 { 00543 float tolua_ret = (float) self->max_step_side(); 00544 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00545 } 00546 } 00547 return 1; 00548 #ifndef TOLUA_RELEASE 00549 tolua_lerror: 00550 tolua_error(tolua_S,"#ferror in function 'max_step_side'.",&tolua_err); 00551 return 0; 00552 #endif 00553 } 00554 #endif //#ifndef TOLUA_DISABLE 00555 00556 /* method: set_max_step_side of class SetWalkParamsMessage */ 00557 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_max_step_side00 00558 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_max_step_side00(lua_State* tolua_S) 00559 { 00560 #ifndef TOLUA_RELEASE 00561 tolua_Error tolua_err; 00562 if ( 00563 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00564 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00565 !tolua_isnoobj(tolua_S,3,&tolua_err) 00566 ) 00567 goto tolua_lerror; 00568 else 00569 #endif 00570 { 00571 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00572 const float new_max_step_side = ((const float) tolua_tonumber(tolua_S,2,0)); 00573 #ifndef TOLUA_RELEASE 00574 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_max_step_side'", NULL); 00575 #endif 00576 { 00577 self->set_max_step_side(new_max_step_side); 00578 } 00579 } 00580 return 0; 00581 #ifndef TOLUA_RELEASE 00582 tolua_lerror: 00583 tolua_error(tolua_S,"#ferror in function 'set_max_step_side'.",&tolua_err); 00584 return 0; 00585 #endif 00586 } 00587 #endif //#ifndef TOLUA_DISABLE 00588 00589 /* method: maxlenof_max_step_side of class SetWalkParamsMessage */ 00590 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_max_step_side00 00591 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_max_step_side00(lua_State* tolua_S) 00592 { 00593 #ifndef TOLUA_RELEASE 00594 tolua_Error tolua_err; 00595 if ( 00596 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00597 !tolua_isnoobj(tolua_S,2,&tolua_err) 00598 ) 00599 goto tolua_lerror; 00600 else 00601 #endif 00602 { 00603 const fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00604 #ifndef TOLUA_RELEASE 00605 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_max_step_side'", NULL); 00606 #endif 00607 { 00608 int tolua_ret = (int) self->maxlenof_max_step_side(); 00609 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00610 } 00611 } 00612 return 1; 00613 #ifndef TOLUA_RELEASE 00614 tolua_lerror: 00615 tolua_error(tolua_S,"#ferror in function 'maxlenof_max_step_side'.",&tolua_err); 00616 return 0; 00617 #endif 00618 } 00619 #endif //#ifndef TOLUA_DISABLE 00620 00621 /* method: max_step_turn of class SetWalkParamsMessage */ 00622 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_max_step_turn00 00623 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_max_step_turn00(lua_State* tolua_S) 00624 { 00625 #ifndef TOLUA_RELEASE 00626 tolua_Error tolua_err; 00627 if ( 00628 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00629 !tolua_isnoobj(tolua_S,2,&tolua_err) 00630 ) 00631 goto tolua_lerror; 00632 else 00633 #endif 00634 { 00635 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00636 #ifndef TOLUA_RELEASE 00637 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'max_step_turn'", NULL); 00638 #endif 00639 { 00640 float tolua_ret = (float) self->max_step_turn(); 00641 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00642 } 00643 } 00644 return 1; 00645 #ifndef TOLUA_RELEASE 00646 tolua_lerror: 00647 tolua_error(tolua_S,"#ferror in function 'max_step_turn'.",&tolua_err); 00648 return 0; 00649 #endif 00650 } 00651 #endif //#ifndef TOLUA_DISABLE 00652 00653 /* method: set_max_step_turn of class SetWalkParamsMessage */ 00654 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_max_step_turn00 00655 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_max_step_turn00(lua_State* tolua_S) 00656 { 00657 #ifndef TOLUA_RELEASE 00658 tolua_Error tolua_err; 00659 if ( 00660 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00661 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00662 !tolua_isnoobj(tolua_S,3,&tolua_err) 00663 ) 00664 goto tolua_lerror; 00665 else 00666 #endif 00667 { 00668 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00669 const float new_max_step_turn = ((const float) tolua_tonumber(tolua_S,2,0)); 00670 #ifndef TOLUA_RELEASE 00671 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_max_step_turn'", NULL); 00672 #endif 00673 { 00674 self->set_max_step_turn(new_max_step_turn); 00675 } 00676 } 00677 return 0; 00678 #ifndef TOLUA_RELEASE 00679 tolua_lerror: 00680 tolua_error(tolua_S,"#ferror in function 'set_max_step_turn'.",&tolua_err); 00681 return 0; 00682 #endif 00683 } 00684 #endif //#ifndef TOLUA_DISABLE 00685 00686 /* method: maxlenof_max_step_turn of class SetWalkParamsMessage */ 00687 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_max_step_turn00 00688 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_max_step_turn00(lua_State* tolua_S) 00689 { 00690 #ifndef TOLUA_RELEASE 00691 tolua_Error tolua_err; 00692 if ( 00693 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00694 !tolua_isnoobj(tolua_S,2,&tolua_err) 00695 ) 00696 goto tolua_lerror; 00697 else 00698 #endif 00699 { 00700 const fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00701 #ifndef TOLUA_RELEASE 00702 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_max_step_turn'", NULL); 00703 #endif 00704 { 00705 int tolua_ret = (int) self->maxlenof_max_step_turn(); 00706 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00707 } 00708 } 00709 return 1; 00710 #ifndef TOLUA_RELEASE 00711 tolua_lerror: 00712 tolua_error(tolua_S,"#ferror in function 'maxlenof_max_step_turn'.",&tolua_err); 00713 return 0; 00714 #endif 00715 } 00716 #endif //#ifndef TOLUA_DISABLE 00717 00718 /* method: zmp_offset_forward of class SetWalkParamsMessage */ 00719 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_zmp_offset_forward00 00720 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_zmp_offset_forward00(lua_State* tolua_S) 00721 { 00722 #ifndef TOLUA_RELEASE 00723 tolua_Error tolua_err; 00724 if ( 00725 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00726 !tolua_isnoobj(tolua_S,2,&tolua_err) 00727 ) 00728 goto tolua_lerror; 00729 else 00730 #endif 00731 { 00732 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00733 #ifndef TOLUA_RELEASE 00734 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'zmp_offset_forward'", NULL); 00735 #endif 00736 { 00737 float tolua_ret = (float) self->zmp_offset_forward(); 00738 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00739 } 00740 } 00741 return 1; 00742 #ifndef TOLUA_RELEASE 00743 tolua_lerror: 00744 tolua_error(tolua_S,"#ferror in function 'zmp_offset_forward'.",&tolua_err); 00745 return 0; 00746 #endif 00747 } 00748 #endif //#ifndef TOLUA_DISABLE 00749 00750 /* method: set_zmp_offset_forward of class SetWalkParamsMessage */ 00751 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_zmp_offset_forward00 00752 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_zmp_offset_forward00(lua_State* tolua_S) 00753 { 00754 #ifndef TOLUA_RELEASE 00755 tolua_Error tolua_err; 00756 if ( 00757 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00758 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00759 !tolua_isnoobj(tolua_S,3,&tolua_err) 00760 ) 00761 goto tolua_lerror; 00762 else 00763 #endif 00764 { 00765 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00766 const float new_zmp_offset_forward = ((const float) tolua_tonumber(tolua_S,2,0)); 00767 #ifndef TOLUA_RELEASE 00768 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_zmp_offset_forward'", NULL); 00769 #endif 00770 { 00771 self->set_zmp_offset_forward(new_zmp_offset_forward); 00772 } 00773 } 00774 return 0; 00775 #ifndef TOLUA_RELEASE 00776 tolua_lerror: 00777 tolua_error(tolua_S,"#ferror in function 'set_zmp_offset_forward'.",&tolua_err); 00778 return 0; 00779 #endif 00780 } 00781 #endif //#ifndef TOLUA_DISABLE 00782 00783 /* method: maxlenof_zmp_offset_forward of class SetWalkParamsMessage */ 00784 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_zmp_offset_forward00 00785 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_zmp_offset_forward00(lua_State* tolua_S) 00786 { 00787 #ifndef TOLUA_RELEASE 00788 tolua_Error tolua_err; 00789 if ( 00790 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00791 !tolua_isnoobj(tolua_S,2,&tolua_err) 00792 ) 00793 goto tolua_lerror; 00794 else 00795 #endif 00796 { 00797 const fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00798 #ifndef TOLUA_RELEASE 00799 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_zmp_offset_forward'", NULL); 00800 #endif 00801 { 00802 int tolua_ret = (int) self->maxlenof_zmp_offset_forward(); 00803 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00804 } 00805 } 00806 return 1; 00807 #ifndef TOLUA_RELEASE 00808 tolua_lerror: 00809 tolua_error(tolua_S,"#ferror in function 'maxlenof_zmp_offset_forward'.",&tolua_err); 00810 return 0; 00811 #endif 00812 } 00813 #endif //#ifndef TOLUA_DISABLE 00814 00815 /* method: zmp_offset_sideward of class SetWalkParamsMessage */ 00816 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_zmp_offset_sideward00 00817 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_zmp_offset_sideward00(lua_State* tolua_S) 00818 { 00819 #ifndef TOLUA_RELEASE 00820 tolua_Error tolua_err; 00821 if ( 00822 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00823 !tolua_isnoobj(tolua_S,2,&tolua_err) 00824 ) 00825 goto tolua_lerror; 00826 else 00827 #endif 00828 { 00829 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00830 #ifndef TOLUA_RELEASE 00831 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'zmp_offset_sideward'", NULL); 00832 #endif 00833 { 00834 float tolua_ret = (float) self->zmp_offset_sideward(); 00835 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00836 } 00837 } 00838 return 1; 00839 #ifndef TOLUA_RELEASE 00840 tolua_lerror: 00841 tolua_error(tolua_S,"#ferror in function 'zmp_offset_sideward'.",&tolua_err); 00842 return 0; 00843 #endif 00844 } 00845 #endif //#ifndef TOLUA_DISABLE 00846 00847 /* method: set_zmp_offset_sideward of class SetWalkParamsMessage */ 00848 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_zmp_offset_sideward00 00849 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_zmp_offset_sideward00(lua_State* tolua_S) 00850 { 00851 #ifndef TOLUA_RELEASE 00852 tolua_Error tolua_err; 00853 if ( 00854 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00855 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00856 !tolua_isnoobj(tolua_S,3,&tolua_err) 00857 ) 00858 goto tolua_lerror; 00859 else 00860 #endif 00861 { 00862 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00863 const float new_zmp_offset_sideward = ((const float) tolua_tonumber(tolua_S,2,0)); 00864 #ifndef TOLUA_RELEASE 00865 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_zmp_offset_sideward'", NULL); 00866 #endif 00867 { 00868 self->set_zmp_offset_sideward(new_zmp_offset_sideward); 00869 } 00870 } 00871 return 0; 00872 #ifndef TOLUA_RELEASE 00873 tolua_lerror: 00874 tolua_error(tolua_S,"#ferror in function 'set_zmp_offset_sideward'.",&tolua_err); 00875 return 0; 00876 #endif 00877 } 00878 #endif //#ifndef TOLUA_DISABLE 00879 00880 /* method: maxlenof_zmp_offset_sideward of class SetWalkParamsMessage */ 00881 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_zmp_offset_sideward00 00882 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_zmp_offset_sideward00(lua_State* tolua_S) 00883 { 00884 #ifndef TOLUA_RELEASE 00885 tolua_Error tolua_err; 00886 if ( 00887 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00888 !tolua_isnoobj(tolua_S,2,&tolua_err) 00889 ) 00890 goto tolua_lerror; 00891 else 00892 #endif 00893 { 00894 const fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00895 #ifndef TOLUA_RELEASE 00896 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_zmp_offset_sideward'", NULL); 00897 #endif 00898 { 00899 int tolua_ret = (int) self->maxlenof_zmp_offset_sideward(); 00900 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00901 } 00902 } 00903 return 1; 00904 #ifndef TOLUA_RELEASE 00905 tolua_lerror: 00906 tolua_error(tolua_S,"#ferror in function 'maxlenof_zmp_offset_sideward'.",&tolua_err); 00907 return 0; 00908 #endif 00909 } 00910 #endif //#ifndef TOLUA_DISABLE 00911 00912 /* method: l_hip_roll_compensation of class SetWalkParamsMessage */ 00913 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_l_hip_roll_compensation00 00914 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_l_hip_roll_compensation00(lua_State* tolua_S) 00915 { 00916 #ifndef TOLUA_RELEASE 00917 tolua_Error tolua_err; 00918 if ( 00919 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00920 !tolua_isnoobj(tolua_S,2,&tolua_err) 00921 ) 00922 goto tolua_lerror; 00923 else 00924 #endif 00925 { 00926 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00927 #ifndef TOLUA_RELEASE 00928 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hip_roll_compensation'", NULL); 00929 #endif 00930 { 00931 float tolua_ret = (float) self->l_hip_roll_compensation(); 00932 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00933 } 00934 } 00935 return 1; 00936 #ifndef TOLUA_RELEASE 00937 tolua_lerror: 00938 tolua_error(tolua_S,"#ferror in function 'l_hip_roll_compensation'.",&tolua_err); 00939 return 0; 00940 #endif 00941 } 00942 #endif //#ifndef TOLUA_DISABLE 00943 00944 /* method: set_l_hip_roll_compensation of class SetWalkParamsMessage */ 00945 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_l_hip_roll_compensation00 00946 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_l_hip_roll_compensation00(lua_State* tolua_S) 00947 { 00948 #ifndef TOLUA_RELEASE 00949 tolua_Error tolua_err; 00950 if ( 00951 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00952 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00953 !tolua_isnoobj(tolua_S,3,&tolua_err) 00954 ) 00955 goto tolua_lerror; 00956 else 00957 #endif 00958 { 00959 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00960 const float new_l_hip_roll_compensation = ((const float) tolua_tonumber(tolua_S,2,0)); 00961 #ifndef TOLUA_RELEASE 00962 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hip_roll_compensation'", NULL); 00963 #endif 00964 { 00965 self->set_l_hip_roll_compensation(new_l_hip_roll_compensation); 00966 } 00967 } 00968 return 0; 00969 #ifndef TOLUA_RELEASE 00970 tolua_lerror: 00971 tolua_error(tolua_S,"#ferror in function 'set_l_hip_roll_compensation'.",&tolua_err); 00972 return 0; 00973 #endif 00974 } 00975 #endif //#ifndef TOLUA_DISABLE 00976 00977 /* method: maxlenof_l_hip_roll_compensation of class SetWalkParamsMessage */ 00978 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_l_hip_roll_compensation00 00979 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_l_hip_roll_compensation00(lua_State* tolua_S) 00980 { 00981 #ifndef TOLUA_RELEASE 00982 tolua_Error tolua_err; 00983 if ( 00984 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 00985 !tolua_isnoobj(tolua_S,2,&tolua_err) 00986 ) 00987 goto tolua_lerror; 00988 else 00989 #endif 00990 { 00991 const fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 00992 #ifndef TOLUA_RELEASE 00993 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hip_roll_compensation'", NULL); 00994 #endif 00995 { 00996 int tolua_ret = (int) self->maxlenof_l_hip_roll_compensation(); 00997 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00998 } 00999 } 01000 return 1; 01001 #ifndef TOLUA_RELEASE 01002 tolua_lerror: 01003 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hip_roll_compensation'.",&tolua_err); 01004 return 0; 01005 #endif 01006 } 01007 #endif //#ifndef TOLUA_DISABLE 01008 01009 /* method: r_hip_roll_compensation of class SetWalkParamsMessage */ 01010 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_r_hip_roll_compensation00 01011 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_r_hip_roll_compensation00(lua_State* tolua_S) 01012 { 01013 #ifndef TOLUA_RELEASE 01014 tolua_Error tolua_err; 01015 if ( 01016 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 01017 !tolua_isnoobj(tolua_S,2,&tolua_err) 01018 ) 01019 goto tolua_lerror; 01020 else 01021 #endif 01022 { 01023 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 01024 #ifndef TOLUA_RELEASE 01025 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hip_roll_compensation'", NULL); 01026 #endif 01027 { 01028 float tolua_ret = (float) self->r_hip_roll_compensation(); 01029 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01030 } 01031 } 01032 return 1; 01033 #ifndef TOLUA_RELEASE 01034 tolua_lerror: 01035 tolua_error(tolua_S,"#ferror in function 'r_hip_roll_compensation'.",&tolua_err); 01036 return 0; 01037 #endif 01038 } 01039 #endif //#ifndef TOLUA_DISABLE 01040 01041 /* method: set_r_hip_roll_compensation of class SetWalkParamsMessage */ 01042 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_r_hip_roll_compensation00 01043 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_r_hip_roll_compensation00(lua_State* tolua_S) 01044 { 01045 #ifndef TOLUA_RELEASE 01046 tolua_Error tolua_err; 01047 if ( 01048 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 01049 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01050 !tolua_isnoobj(tolua_S,3,&tolua_err) 01051 ) 01052 goto tolua_lerror; 01053 else 01054 #endif 01055 { 01056 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 01057 const float new_r_hip_roll_compensation = ((const float) tolua_tonumber(tolua_S,2,0)); 01058 #ifndef TOLUA_RELEASE 01059 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hip_roll_compensation'", NULL); 01060 #endif 01061 { 01062 self->set_r_hip_roll_compensation(new_r_hip_roll_compensation); 01063 } 01064 } 01065 return 0; 01066 #ifndef TOLUA_RELEASE 01067 tolua_lerror: 01068 tolua_error(tolua_S,"#ferror in function 'set_r_hip_roll_compensation'.",&tolua_err); 01069 return 0; 01070 #endif 01071 } 01072 #endif //#ifndef TOLUA_DISABLE 01073 01074 /* method: maxlenof_r_hip_roll_compensation of class SetWalkParamsMessage */ 01075 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_r_hip_roll_compensation00 01076 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_r_hip_roll_compensation00(lua_State* tolua_S) 01077 { 01078 #ifndef TOLUA_RELEASE 01079 tolua_Error tolua_err; 01080 if ( 01081 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 01082 !tolua_isnoobj(tolua_S,2,&tolua_err) 01083 ) 01084 goto tolua_lerror; 01085 else 01086 #endif 01087 { 01088 const fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 01089 #ifndef TOLUA_RELEASE 01090 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hip_roll_compensation'", NULL); 01091 #endif 01092 { 01093 int tolua_ret = (int) self->maxlenof_r_hip_roll_compensation(); 01094 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01095 } 01096 } 01097 return 1; 01098 #ifndef TOLUA_RELEASE 01099 tolua_lerror: 01100 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hip_roll_compensation'.",&tolua_err); 01101 return 0; 01102 #endif 01103 } 01104 #endif //#ifndef TOLUA_DISABLE 01105 01106 /* method: hip_height of class SetWalkParamsMessage */ 01107 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_hip_height00 01108 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_hip_height00(lua_State* tolua_S) 01109 { 01110 #ifndef TOLUA_RELEASE 01111 tolua_Error tolua_err; 01112 if ( 01113 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 01114 !tolua_isnoobj(tolua_S,2,&tolua_err) 01115 ) 01116 goto tolua_lerror; 01117 else 01118 #endif 01119 { 01120 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 01121 #ifndef TOLUA_RELEASE 01122 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hip_height'", NULL); 01123 #endif 01124 { 01125 float tolua_ret = (float) self->hip_height(); 01126 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01127 } 01128 } 01129 return 1; 01130 #ifndef TOLUA_RELEASE 01131 tolua_lerror: 01132 tolua_error(tolua_S,"#ferror in function 'hip_height'.",&tolua_err); 01133 return 0; 01134 #endif 01135 } 01136 #endif //#ifndef TOLUA_DISABLE 01137 01138 /* method: set_hip_height of class SetWalkParamsMessage */ 01139 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_hip_height00 01140 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_hip_height00(lua_State* tolua_S) 01141 { 01142 #ifndef TOLUA_RELEASE 01143 tolua_Error tolua_err; 01144 if ( 01145 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 01146 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01147 !tolua_isnoobj(tolua_S,3,&tolua_err) 01148 ) 01149 goto tolua_lerror; 01150 else 01151 #endif 01152 { 01153 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 01154 const float new_hip_height = ((const float) tolua_tonumber(tolua_S,2,0)); 01155 #ifndef TOLUA_RELEASE 01156 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_hip_height'", NULL); 01157 #endif 01158 { 01159 self->set_hip_height(new_hip_height); 01160 } 01161 } 01162 return 0; 01163 #ifndef TOLUA_RELEASE 01164 tolua_lerror: 01165 tolua_error(tolua_S,"#ferror in function 'set_hip_height'.",&tolua_err); 01166 return 0; 01167 #endif 01168 } 01169 #endif //#ifndef TOLUA_DISABLE 01170 01171 /* method: maxlenof_hip_height of class SetWalkParamsMessage */ 01172 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_hip_height00 01173 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_hip_height00(lua_State* tolua_S) 01174 { 01175 #ifndef TOLUA_RELEASE 01176 tolua_Error tolua_err; 01177 if ( 01178 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 01179 !tolua_isnoobj(tolua_S,2,&tolua_err) 01180 ) 01181 goto tolua_lerror; 01182 else 01183 #endif 01184 { 01185 const fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 01186 #ifndef TOLUA_RELEASE 01187 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_hip_height'", NULL); 01188 #endif 01189 { 01190 int tolua_ret = (int) self->maxlenof_hip_height(); 01191 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01192 } 01193 } 01194 return 1; 01195 #ifndef TOLUA_RELEASE 01196 tolua_lerror: 01197 tolua_error(tolua_S,"#ferror in function 'maxlenof_hip_height'.",&tolua_err); 01198 return 0; 01199 #endif 01200 } 01201 #endif //#ifndef TOLUA_DISABLE 01202 01203 /* method: torso_sideward_orientation of class SetWalkParamsMessage */ 01204 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_torso_sideward_orientation00 01205 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_torso_sideward_orientation00(lua_State* tolua_S) 01206 { 01207 #ifndef TOLUA_RELEASE 01208 tolua_Error tolua_err; 01209 if ( 01210 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 01211 !tolua_isnoobj(tolua_S,2,&tolua_err) 01212 ) 01213 goto tolua_lerror; 01214 else 01215 #endif 01216 { 01217 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 01218 #ifndef TOLUA_RELEASE 01219 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'torso_sideward_orientation'", NULL); 01220 #endif 01221 { 01222 float tolua_ret = (float) self->torso_sideward_orientation(); 01223 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01224 } 01225 } 01226 return 1; 01227 #ifndef TOLUA_RELEASE 01228 tolua_lerror: 01229 tolua_error(tolua_S,"#ferror in function 'torso_sideward_orientation'.",&tolua_err); 01230 return 0; 01231 #endif 01232 } 01233 #endif //#ifndef TOLUA_DISABLE 01234 01235 /* method: set_torso_sideward_orientation of class SetWalkParamsMessage */ 01236 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_torso_sideward_orientation00 01237 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_torso_sideward_orientation00(lua_State* tolua_S) 01238 { 01239 #ifndef TOLUA_RELEASE 01240 tolua_Error tolua_err; 01241 if ( 01242 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 01243 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01244 !tolua_isnoobj(tolua_S,3,&tolua_err) 01245 ) 01246 goto tolua_lerror; 01247 else 01248 #endif 01249 { 01250 fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 01251 const float new_torso_sideward_orientation = ((const float) tolua_tonumber(tolua_S,2,0)); 01252 #ifndef TOLUA_RELEASE 01253 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_torso_sideward_orientation'", NULL); 01254 #endif 01255 { 01256 self->set_torso_sideward_orientation(new_torso_sideward_orientation); 01257 } 01258 } 01259 return 0; 01260 #ifndef TOLUA_RELEASE 01261 tolua_lerror: 01262 tolua_error(tolua_S,"#ferror in function 'set_torso_sideward_orientation'.",&tolua_err); 01263 return 0; 01264 #endif 01265 } 01266 #endif //#ifndef TOLUA_DISABLE 01267 01268 /* method: maxlenof_torso_sideward_orientation of class SetWalkParamsMessage */ 01269 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_torso_sideward_orientation00 01270 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_torso_sideward_orientation00(lua_State* tolua_S) 01271 { 01272 #ifndef TOLUA_RELEASE 01273 tolua_Error tolua_err; 01274 if ( 01275 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkParamsMessage",0,&tolua_err) || 01276 !tolua_isnoobj(tolua_S,2,&tolua_err) 01277 ) 01278 goto tolua_lerror; 01279 else 01280 #endif 01281 { 01282 const fawkes::HumanoidMotionInterface::SetWalkParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkParamsMessage*) tolua_tousertype(tolua_S,1,0); 01283 #ifndef TOLUA_RELEASE 01284 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_torso_sideward_orientation'", NULL); 01285 #endif 01286 { 01287 int tolua_ret = (int) self->maxlenof_torso_sideward_orientation(); 01288 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01289 } 01290 } 01291 return 1; 01292 #ifndef TOLUA_RELEASE 01293 tolua_lerror: 01294 tolua_error(tolua_S,"#ferror in function 'maxlenof_torso_sideward_orientation'.",&tolua_err); 01295 return 0; 01296 #endif 01297 } 01298 #endif //#ifndef TOLUA_DISABLE 01299 01300 /* method: new of class SetWalkArmsParamsMessage */ 01301 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new00 01302 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new00(lua_State* tolua_S) 01303 { 01304 #ifndef TOLUA_RELEASE 01305 tolua_Error tolua_err; 01306 if ( 01307 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01308 !tolua_isboolean(tolua_S,2,0,&tolua_err) || 01309 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 01310 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 01311 !tolua_isnumber(tolua_S,5,0,&tolua_err) || 01312 !tolua_isnumber(tolua_S,6,0,&tolua_err) || 01313 !tolua_isnoobj(tolua_S,7,&tolua_err) 01314 ) 01315 goto tolua_lerror; 01316 else 01317 #endif 01318 { 01319 bool ini_arms_enabled = ((bool) tolua_toboolean(tolua_S,2,0)); 01320 float ini_shoulder_pitch_median = ((float) tolua_tonumber(tolua_S,3,0)); 01321 float ini_shoulder_pitch_amplitude = ((float) tolua_tonumber(tolua_S,4,0)); 01322 float ini_elbow_roll_median = ((float) tolua_tonumber(tolua_S,5,0)); 01323 float ini_elbow_roll_amplitude = ((float) tolua_tonumber(tolua_S,6,0)); 01324 { 01325 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* tolua_ret = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage)(ini_arms_enabled,ini_shoulder_pitch_median,ini_shoulder_pitch_amplitude,ini_elbow_roll_median,ini_elbow_roll_amplitude)); 01326 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage"); 01327 } 01328 } 01329 return 1; 01330 #ifndef TOLUA_RELEASE 01331 tolua_lerror: 01332 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 01333 return 0; 01334 #endif 01335 } 01336 #endif //#ifndef TOLUA_DISABLE 01337 01338 /* method: new_local of class SetWalkArmsParamsMessage */ 01339 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new00_local 01340 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new00_local(lua_State* tolua_S) 01341 { 01342 #ifndef TOLUA_RELEASE 01343 tolua_Error tolua_err; 01344 if ( 01345 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01346 !tolua_isboolean(tolua_S,2,0,&tolua_err) || 01347 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 01348 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 01349 !tolua_isnumber(tolua_S,5,0,&tolua_err) || 01350 !tolua_isnumber(tolua_S,6,0,&tolua_err) || 01351 !tolua_isnoobj(tolua_S,7,&tolua_err) 01352 ) 01353 goto tolua_lerror; 01354 else 01355 #endif 01356 { 01357 bool ini_arms_enabled = ((bool) tolua_toboolean(tolua_S,2,0)); 01358 float ini_shoulder_pitch_median = ((float) tolua_tonumber(tolua_S,3,0)); 01359 float ini_shoulder_pitch_amplitude = ((float) tolua_tonumber(tolua_S,4,0)); 01360 float ini_elbow_roll_median = ((float) tolua_tonumber(tolua_S,5,0)); 01361 float ini_elbow_roll_amplitude = ((float) tolua_tonumber(tolua_S,6,0)); 01362 { 01363 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* tolua_ret = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage)(ini_arms_enabled,ini_shoulder_pitch_median,ini_shoulder_pitch_amplitude,ini_elbow_roll_median,ini_elbow_roll_amplitude)); 01364 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage"); 01365 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 01366 } 01367 } 01368 return 1; 01369 #ifndef TOLUA_RELEASE 01370 tolua_lerror: 01371 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 01372 return 0; 01373 #endif 01374 } 01375 #endif //#ifndef TOLUA_DISABLE 01376 01377 /* method: new of class SetWalkArmsParamsMessage */ 01378 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new01 01379 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new01(lua_State* tolua_S) 01380 { 01381 tolua_Error tolua_err; 01382 if ( 01383 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01384 !tolua_isnoobj(tolua_S,2,&tolua_err) 01385 ) 01386 goto tolua_lerror; 01387 else 01388 { 01389 { 01390 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* tolua_ret = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage)()); 01391 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage"); 01392 } 01393 } 01394 return 1; 01395 tolua_lerror: 01396 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new00(tolua_S); 01397 } 01398 #endif //#ifndef TOLUA_DISABLE 01399 01400 /* method: new_local of class SetWalkArmsParamsMessage */ 01401 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new01_local 01402 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new01_local(lua_State* tolua_S) 01403 { 01404 tolua_Error tolua_err; 01405 if ( 01406 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01407 !tolua_isnoobj(tolua_S,2,&tolua_err) 01408 ) 01409 goto tolua_lerror; 01410 else 01411 { 01412 { 01413 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* tolua_ret = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage)()); 01414 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage"); 01415 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 01416 } 01417 } 01418 return 1; 01419 tolua_lerror: 01420 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new00_local(tolua_S); 01421 } 01422 #endif //#ifndef TOLUA_DISABLE 01423 01424 /* method: delete of class SetWalkArmsParamsMessage */ 01425 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_delete00 01426 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_delete00(lua_State* tolua_S) 01427 { 01428 #ifndef TOLUA_RELEASE 01429 tolua_Error tolua_err; 01430 if ( 01431 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01432 !tolua_isnoobj(tolua_S,2,&tolua_err) 01433 ) 01434 goto tolua_lerror; 01435 else 01436 #endif 01437 { 01438 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01439 #ifndef TOLUA_RELEASE 01440 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 01441 #endif 01442 Mtolua_delete(self); 01443 } 01444 return 0; 01445 #ifndef TOLUA_RELEASE 01446 tolua_lerror: 01447 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 01448 return 0; 01449 #endif 01450 } 01451 #endif //#ifndef TOLUA_DISABLE 01452 01453 /* method: is_arms_enabled of class SetWalkArmsParamsMessage */ 01454 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_is_arms_enabled00 01455 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_is_arms_enabled00(lua_State* tolua_S) 01456 { 01457 #ifndef TOLUA_RELEASE 01458 tolua_Error tolua_err; 01459 if ( 01460 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01461 !tolua_isnoobj(tolua_S,2,&tolua_err) 01462 ) 01463 goto tolua_lerror; 01464 else 01465 #endif 01466 { 01467 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01468 #ifndef TOLUA_RELEASE 01469 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_arms_enabled'", NULL); 01470 #endif 01471 { 01472 bool tolua_ret = (bool) self->is_arms_enabled(); 01473 tolua_pushboolean(tolua_S,(bool)tolua_ret); 01474 } 01475 } 01476 return 1; 01477 #ifndef TOLUA_RELEASE 01478 tolua_lerror: 01479 tolua_error(tolua_S,"#ferror in function 'is_arms_enabled'.",&tolua_err); 01480 return 0; 01481 #endif 01482 } 01483 #endif //#ifndef TOLUA_DISABLE 01484 01485 /* method: set_arms_enabled of class SetWalkArmsParamsMessage */ 01486 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_arms_enabled00 01487 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_arms_enabled00(lua_State* tolua_S) 01488 { 01489 #ifndef TOLUA_RELEASE 01490 tolua_Error tolua_err; 01491 if ( 01492 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01493 !tolua_isboolean(tolua_S,2,0,&tolua_err) || 01494 !tolua_isnoobj(tolua_S,3,&tolua_err) 01495 ) 01496 goto tolua_lerror; 01497 else 01498 #endif 01499 { 01500 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01501 const bool new_arms_enabled = ((const bool) tolua_toboolean(tolua_S,2,0)); 01502 #ifndef TOLUA_RELEASE 01503 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_arms_enabled'", NULL); 01504 #endif 01505 { 01506 self->set_arms_enabled(new_arms_enabled); 01507 } 01508 } 01509 return 0; 01510 #ifndef TOLUA_RELEASE 01511 tolua_lerror: 01512 tolua_error(tolua_S,"#ferror in function 'set_arms_enabled'.",&tolua_err); 01513 return 0; 01514 #endif 01515 } 01516 #endif //#ifndef TOLUA_DISABLE 01517 01518 /* method: maxlenof_arms_enabled of class SetWalkArmsParamsMessage */ 01519 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_arms_enabled00 01520 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_arms_enabled00(lua_State* tolua_S) 01521 { 01522 #ifndef TOLUA_RELEASE 01523 tolua_Error tolua_err; 01524 if ( 01525 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01526 !tolua_isnoobj(tolua_S,2,&tolua_err) 01527 ) 01528 goto tolua_lerror; 01529 else 01530 #endif 01531 { 01532 const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01533 #ifndef TOLUA_RELEASE 01534 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_arms_enabled'", NULL); 01535 #endif 01536 { 01537 int tolua_ret = (int) self->maxlenof_arms_enabled(); 01538 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01539 } 01540 } 01541 return 1; 01542 #ifndef TOLUA_RELEASE 01543 tolua_lerror: 01544 tolua_error(tolua_S,"#ferror in function 'maxlenof_arms_enabled'.",&tolua_err); 01545 return 0; 01546 #endif 01547 } 01548 #endif //#ifndef TOLUA_DISABLE 01549 01550 /* method: shoulder_pitch_median of class SetWalkArmsParamsMessage */ 01551 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_shoulder_pitch_median00 01552 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_shoulder_pitch_median00(lua_State* tolua_S) 01553 { 01554 #ifndef TOLUA_RELEASE 01555 tolua_Error tolua_err; 01556 if ( 01557 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01558 !tolua_isnoobj(tolua_S,2,&tolua_err) 01559 ) 01560 goto tolua_lerror; 01561 else 01562 #endif 01563 { 01564 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01565 #ifndef TOLUA_RELEASE 01566 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'shoulder_pitch_median'", NULL); 01567 #endif 01568 { 01569 float tolua_ret = (float) self->shoulder_pitch_median(); 01570 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01571 } 01572 } 01573 return 1; 01574 #ifndef TOLUA_RELEASE 01575 tolua_lerror: 01576 tolua_error(tolua_S,"#ferror in function 'shoulder_pitch_median'.",&tolua_err); 01577 return 0; 01578 #endif 01579 } 01580 #endif //#ifndef TOLUA_DISABLE 01581 01582 /* method: set_shoulder_pitch_median of class SetWalkArmsParamsMessage */ 01583 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_shoulder_pitch_median00 01584 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_shoulder_pitch_median00(lua_State* tolua_S) 01585 { 01586 #ifndef TOLUA_RELEASE 01587 tolua_Error tolua_err; 01588 if ( 01589 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01590 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01591 !tolua_isnoobj(tolua_S,3,&tolua_err) 01592 ) 01593 goto tolua_lerror; 01594 else 01595 #endif 01596 { 01597 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01598 const float new_shoulder_pitch_median = ((const float) tolua_tonumber(tolua_S,2,0)); 01599 #ifndef TOLUA_RELEASE 01600 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_shoulder_pitch_median'", NULL); 01601 #endif 01602 { 01603 self->set_shoulder_pitch_median(new_shoulder_pitch_median); 01604 } 01605 } 01606 return 0; 01607 #ifndef TOLUA_RELEASE 01608 tolua_lerror: 01609 tolua_error(tolua_S,"#ferror in function 'set_shoulder_pitch_median'.",&tolua_err); 01610 return 0; 01611 #endif 01612 } 01613 #endif //#ifndef TOLUA_DISABLE 01614 01615 /* method: maxlenof_shoulder_pitch_median of class SetWalkArmsParamsMessage */ 01616 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_shoulder_pitch_median00 01617 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_shoulder_pitch_median00(lua_State* tolua_S) 01618 { 01619 #ifndef TOLUA_RELEASE 01620 tolua_Error tolua_err; 01621 if ( 01622 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01623 !tolua_isnoobj(tolua_S,2,&tolua_err) 01624 ) 01625 goto tolua_lerror; 01626 else 01627 #endif 01628 { 01629 const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01630 #ifndef TOLUA_RELEASE 01631 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_shoulder_pitch_median'", NULL); 01632 #endif 01633 { 01634 int tolua_ret = (int) self->maxlenof_shoulder_pitch_median(); 01635 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01636 } 01637 } 01638 return 1; 01639 #ifndef TOLUA_RELEASE 01640 tolua_lerror: 01641 tolua_error(tolua_S,"#ferror in function 'maxlenof_shoulder_pitch_median'.",&tolua_err); 01642 return 0; 01643 #endif 01644 } 01645 #endif //#ifndef TOLUA_DISABLE 01646 01647 /* method: shoulder_pitch_amplitude of class SetWalkArmsParamsMessage */ 01648 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_shoulder_pitch_amplitude00 01649 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_shoulder_pitch_amplitude00(lua_State* tolua_S) 01650 { 01651 #ifndef TOLUA_RELEASE 01652 tolua_Error tolua_err; 01653 if ( 01654 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01655 !tolua_isnoobj(tolua_S,2,&tolua_err) 01656 ) 01657 goto tolua_lerror; 01658 else 01659 #endif 01660 { 01661 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01662 #ifndef TOLUA_RELEASE 01663 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'shoulder_pitch_amplitude'", NULL); 01664 #endif 01665 { 01666 float tolua_ret = (float) self->shoulder_pitch_amplitude(); 01667 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01668 } 01669 } 01670 return 1; 01671 #ifndef TOLUA_RELEASE 01672 tolua_lerror: 01673 tolua_error(tolua_S,"#ferror in function 'shoulder_pitch_amplitude'.",&tolua_err); 01674 return 0; 01675 #endif 01676 } 01677 #endif //#ifndef TOLUA_DISABLE 01678 01679 /* method: set_shoulder_pitch_amplitude of class SetWalkArmsParamsMessage */ 01680 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_shoulder_pitch_amplitude00 01681 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_shoulder_pitch_amplitude00(lua_State* tolua_S) 01682 { 01683 #ifndef TOLUA_RELEASE 01684 tolua_Error tolua_err; 01685 if ( 01686 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01687 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01688 !tolua_isnoobj(tolua_S,3,&tolua_err) 01689 ) 01690 goto tolua_lerror; 01691 else 01692 #endif 01693 { 01694 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01695 const float new_shoulder_pitch_amplitude = ((const float) tolua_tonumber(tolua_S,2,0)); 01696 #ifndef TOLUA_RELEASE 01697 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_shoulder_pitch_amplitude'", NULL); 01698 #endif 01699 { 01700 self->set_shoulder_pitch_amplitude(new_shoulder_pitch_amplitude); 01701 } 01702 } 01703 return 0; 01704 #ifndef TOLUA_RELEASE 01705 tolua_lerror: 01706 tolua_error(tolua_S,"#ferror in function 'set_shoulder_pitch_amplitude'.",&tolua_err); 01707 return 0; 01708 #endif 01709 } 01710 #endif //#ifndef TOLUA_DISABLE 01711 01712 /* method: maxlenof_shoulder_pitch_amplitude of class SetWalkArmsParamsMessage */ 01713 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_shoulder_pitch_amplitude00 01714 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_shoulder_pitch_amplitude00(lua_State* tolua_S) 01715 { 01716 #ifndef TOLUA_RELEASE 01717 tolua_Error tolua_err; 01718 if ( 01719 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01720 !tolua_isnoobj(tolua_S,2,&tolua_err) 01721 ) 01722 goto tolua_lerror; 01723 else 01724 #endif 01725 { 01726 const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01727 #ifndef TOLUA_RELEASE 01728 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_shoulder_pitch_amplitude'", NULL); 01729 #endif 01730 { 01731 int tolua_ret = (int) self->maxlenof_shoulder_pitch_amplitude(); 01732 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01733 } 01734 } 01735 return 1; 01736 #ifndef TOLUA_RELEASE 01737 tolua_lerror: 01738 tolua_error(tolua_S,"#ferror in function 'maxlenof_shoulder_pitch_amplitude'.",&tolua_err); 01739 return 0; 01740 #endif 01741 } 01742 #endif //#ifndef TOLUA_DISABLE 01743 01744 /* method: elbow_roll_median of class SetWalkArmsParamsMessage */ 01745 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_elbow_roll_median00 01746 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_elbow_roll_median00(lua_State* tolua_S) 01747 { 01748 #ifndef TOLUA_RELEASE 01749 tolua_Error tolua_err; 01750 if ( 01751 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01752 !tolua_isnoobj(tolua_S,2,&tolua_err) 01753 ) 01754 goto tolua_lerror; 01755 else 01756 #endif 01757 { 01758 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01759 #ifndef TOLUA_RELEASE 01760 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'elbow_roll_median'", NULL); 01761 #endif 01762 { 01763 float tolua_ret = (float) self->elbow_roll_median(); 01764 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01765 } 01766 } 01767 return 1; 01768 #ifndef TOLUA_RELEASE 01769 tolua_lerror: 01770 tolua_error(tolua_S,"#ferror in function 'elbow_roll_median'.",&tolua_err); 01771 return 0; 01772 #endif 01773 } 01774 #endif //#ifndef TOLUA_DISABLE 01775 01776 /* method: set_elbow_roll_median of class SetWalkArmsParamsMessage */ 01777 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_elbow_roll_median00 01778 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_elbow_roll_median00(lua_State* tolua_S) 01779 { 01780 #ifndef TOLUA_RELEASE 01781 tolua_Error tolua_err; 01782 if ( 01783 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01784 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01785 !tolua_isnoobj(tolua_S,3,&tolua_err) 01786 ) 01787 goto tolua_lerror; 01788 else 01789 #endif 01790 { 01791 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01792 const float new_elbow_roll_median = ((const float) tolua_tonumber(tolua_S,2,0)); 01793 #ifndef TOLUA_RELEASE 01794 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_elbow_roll_median'", NULL); 01795 #endif 01796 { 01797 self->set_elbow_roll_median(new_elbow_roll_median); 01798 } 01799 } 01800 return 0; 01801 #ifndef TOLUA_RELEASE 01802 tolua_lerror: 01803 tolua_error(tolua_S,"#ferror in function 'set_elbow_roll_median'.",&tolua_err); 01804 return 0; 01805 #endif 01806 } 01807 #endif //#ifndef TOLUA_DISABLE 01808 01809 /* method: maxlenof_elbow_roll_median of class SetWalkArmsParamsMessage */ 01810 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_elbow_roll_median00 01811 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_elbow_roll_median00(lua_State* tolua_S) 01812 { 01813 #ifndef TOLUA_RELEASE 01814 tolua_Error tolua_err; 01815 if ( 01816 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01817 !tolua_isnoobj(tolua_S,2,&tolua_err) 01818 ) 01819 goto tolua_lerror; 01820 else 01821 #endif 01822 { 01823 const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01824 #ifndef TOLUA_RELEASE 01825 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_elbow_roll_median'", NULL); 01826 #endif 01827 { 01828 int tolua_ret = (int) self->maxlenof_elbow_roll_median(); 01829 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01830 } 01831 } 01832 return 1; 01833 #ifndef TOLUA_RELEASE 01834 tolua_lerror: 01835 tolua_error(tolua_S,"#ferror in function 'maxlenof_elbow_roll_median'.",&tolua_err); 01836 return 0; 01837 #endif 01838 } 01839 #endif //#ifndef TOLUA_DISABLE 01840 01841 /* method: elbow_roll_amplitude of class SetWalkArmsParamsMessage */ 01842 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_elbow_roll_amplitude00 01843 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_elbow_roll_amplitude00(lua_State* tolua_S) 01844 { 01845 #ifndef TOLUA_RELEASE 01846 tolua_Error tolua_err; 01847 if ( 01848 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01849 !tolua_isnoobj(tolua_S,2,&tolua_err) 01850 ) 01851 goto tolua_lerror; 01852 else 01853 #endif 01854 { 01855 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01856 #ifndef TOLUA_RELEASE 01857 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'elbow_roll_amplitude'", NULL); 01858 #endif 01859 { 01860 float tolua_ret = (float) self->elbow_roll_amplitude(); 01861 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01862 } 01863 } 01864 return 1; 01865 #ifndef TOLUA_RELEASE 01866 tolua_lerror: 01867 tolua_error(tolua_S,"#ferror in function 'elbow_roll_amplitude'.",&tolua_err); 01868 return 0; 01869 #endif 01870 } 01871 #endif //#ifndef TOLUA_DISABLE 01872 01873 /* method: set_elbow_roll_amplitude of class SetWalkArmsParamsMessage */ 01874 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_elbow_roll_amplitude00 01875 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_elbow_roll_amplitude00(lua_State* tolua_S) 01876 { 01877 #ifndef TOLUA_RELEASE 01878 tolua_Error tolua_err; 01879 if ( 01880 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01881 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01882 !tolua_isnoobj(tolua_S,3,&tolua_err) 01883 ) 01884 goto tolua_lerror; 01885 else 01886 #endif 01887 { 01888 fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01889 const float new_elbow_roll_amplitude = ((const float) tolua_tonumber(tolua_S,2,0)); 01890 #ifndef TOLUA_RELEASE 01891 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_elbow_roll_amplitude'", NULL); 01892 #endif 01893 { 01894 self->set_elbow_roll_amplitude(new_elbow_roll_amplitude); 01895 } 01896 } 01897 return 0; 01898 #ifndef TOLUA_RELEASE 01899 tolua_lerror: 01900 tolua_error(tolua_S,"#ferror in function 'set_elbow_roll_amplitude'.",&tolua_err); 01901 return 0; 01902 #endif 01903 } 01904 #endif //#ifndef TOLUA_DISABLE 01905 01906 /* method: maxlenof_elbow_roll_amplitude of class SetWalkArmsParamsMessage */ 01907 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_elbow_roll_amplitude00 01908 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_elbow_roll_amplitude00(lua_State* tolua_S) 01909 { 01910 #ifndef TOLUA_RELEASE 01911 tolua_Error tolua_err; 01912 if ( 01913 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage",0,&tolua_err) || 01914 !tolua_isnoobj(tolua_S,2,&tolua_err) 01915 ) 01916 goto tolua_lerror; 01917 else 01918 #endif 01919 { 01920 const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage*) tolua_tousertype(tolua_S,1,0); 01921 #ifndef TOLUA_RELEASE 01922 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_elbow_roll_amplitude'", NULL); 01923 #endif 01924 { 01925 int tolua_ret = (int) self->maxlenof_elbow_roll_amplitude(); 01926 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01927 } 01928 } 01929 return 1; 01930 #ifndef TOLUA_RELEASE 01931 tolua_lerror: 01932 tolua_error(tolua_S,"#ferror in function 'maxlenof_elbow_roll_amplitude'.",&tolua_err); 01933 return 0; 01934 #endif 01935 } 01936 #endif //#ifndef TOLUA_DISABLE 01937 01938 /* method: new of class StopMessage */ 01939 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StopMessage_new00 01940 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StopMessage_new00(lua_State* tolua_S) 01941 { 01942 #ifndef TOLUA_RELEASE 01943 tolua_Error tolua_err; 01944 if ( 01945 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::StopMessage",0,&tolua_err) || 01946 !tolua_isnoobj(tolua_S,2,&tolua_err) 01947 ) 01948 goto tolua_lerror; 01949 else 01950 #endif 01951 { 01952 { 01953 fawkes::HumanoidMotionInterface::StopMessage* tolua_ret = (fawkes::HumanoidMotionInterface::StopMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::StopMessage)()); 01954 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::StopMessage"); 01955 } 01956 } 01957 return 1; 01958 #ifndef TOLUA_RELEASE 01959 tolua_lerror: 01960 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 01961 return 0; 01962 #endif 01963 } 01964 #endif //#ifndef TOLUA_DISABLE 01965 01966 /* method: new_local of class StopMessage */ 01967 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StopMessage_new00_local 01968 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StopMessage_new00_local(lua_State* tolua_S) 01969 { 01970 #ifndef TOLUA_RELEASE 01971 tolua_Error tolua_err; 01972 if ( 01973 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::StopMessage",0,&tolua_err) || 01974 !tolua_isnoobj(tolua_S,2,&tolua_err) 01975 ) 01976 goto tolua_lerror; 01977 else 01978 #endif 01979 { 01980 { 01981 fawkes::HumanoidMotionInterface::StopMessage* tolua_ret = (fawkes::HumanoidMotionInterface::StopMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::StopMessage)()); 01982 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::StopMessage"); 01983 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 01984 } 01985 } 01986 return 1; 01987 #ifndef TOLUA_RELEASE 01988 tolua_lerror: 01989 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 01990 return 0; 01991 #endif 01992 } 01993 #endif //#ifndef TOLUA_DISABLE 01994 01995 /* method: delete of class StopMessage */ 01996 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StopMessage_delete00 01997 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StopMessage_delete00(lua_State* tolua_S) 01998 { 01999 #ifndef TOLUA_RELEASE 02000 tolua_Error tolua_err; 02001 if ( 02002 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::StopMessage",0,&tolua_err) || 02003 !tolua_isnoobj(tolua_S,2,&tolua_err) 02004 ) 02005 goto tolua_lerror; 02006 else 02007 #endif 02008 { 02009 fawkes::HumanoidMotionInterface::StopMessage* self = (fawkes::HumanoidMotionInterface::StopMessage*) tolua_tousertype(tolua_S,1,0); 02010 #ifndef TOLUA_RELEASE 02011 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 02012 #endif 02013 Mtolua_delete(self); 02014 } 02015 return 0; 02016 #ifndef TOLUA_RELEASE 02017 tolua_lerror: 02018 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 02019 return 0; 02020 #endif 02021 } 02022 #endif //#ifndef TOLUA_DISABLE 02023 02024 /* method: new of class WalkStraightMessage */ 02025 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new00 02026 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new00(lua_State* tolua_S) 02027 { 02028 #ifndef TOLUA_RELEASE 02029 tolua_Error tolua_err; 02030 if ( 02031 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkStraightMessage",0,&tolua_err) || 02032 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02033 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 02034 !tolua_isnoobj(tolua_S,4,&tolua_err) 02035 ) 02036 goto tolua_lerror; 02037 else 02038 #endif 02039 { 02040 float ini_distance = ((float) tolua_tonumber(tolua_S,2,0)); 02041 unsigned int ini_num_samples = ((unsigned int) tolua_tonumber(tolua_S,3,0)); 02042 { 02043 fawkes::HumanoidMotionInterface::WalkStraightMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkStraightMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkStraightMessage)(ini_distance,ini_num_samples)); 02044 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkStraightMessage"); 02045 } 02046 } 02047 return 1; 02048 #ifndef TOLUA_RELEASE 02049 tolua_lerror: 02050 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 02051 return 0; 02052 #endif 02053 } 02054 #endif //#ifndef TOLUA_DISABLE 02055 02056 /* method: new_local of class WalkStraightMessage */ 02057 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new00_local 02058 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new00_local(lua_State* tolua_S) 02059 { 02060 #ifndef TOLUA_RELEASE 02061 tolua_Error tolua_err; 02062 if ( 02063 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkStraightMessage",0,&tolua_err) || 02064 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02065 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 02066 !tolua_isnoobj(tolua_S,4,&tolua_err) 02067 ) 02068 goto tolua_lerror; 02069 else 02070 #endif 02071 { 02072 float ini_distance = ((float) tolua_tonumber(tolua_S,2,0)); 02073 unsigned int ini_num_samples = ((unsigned int) tolua_tonumber(tolua_S,3,0)); 02074 { 02075 fawkes::HumanoidMotionInterface::WalkStraightMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkStraightMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkStraightMessage)(ini_distance,ini_num_samples)); 02076 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkStraightMessage"); 02077 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 02078 } 02079 } 02080 return 1; 02081 #ifndef TOLUA_RELEASE 02082 tolua_lerror: 02083 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 02084 return 0; 02085 #endif 02086 } 02087 #endif //#ifndef TOLUA_DISABLE 02088 02089 /* method: new of class WalkStraightMessage */ 02090 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new01 02091 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new01(lua_State* tolua_S) 02092 { 02093 tolua_Error tolua_err; 02094 if ( 02095 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkStraightMessage",0,&tolua_err) || 02096 !tolua_isnoobj(tolua_S,2,&tolua_err) 02097 ) 02098 goto tolua_lerror; 02099 else 02100 { 02101 { 02102 fawkes::HumanoidMotionInterface::WalkStraightMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkStraightMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkStraightMessage)()); 02103 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkStraightMessage"); 02104 } 02105 } 02106 return 1; 02107 tolua_lerror: 02108 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new00(tolua_S); 02109 } 02110 #endif //#ifndef TOLUA_DISABLE 02111 02112 /* method: new_local of class WalkStraightMessage */ 02113 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new01_local 02114 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new01_local(lua_State* tolua_S) 02115 { 02116 tolua_Error tolua_err; 02117 if ( 02118 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkStraightMessage",0,&tolua_err) || 02119 !tolua_isnoobj(tolua_S,2,&tolua_err) 02120 ) 02121 goto tolua_lerror; 02122 else 02123 { 02124 { 02125 fawkes::HumanoidMotionInterface::WalkStraightMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkStraightMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkStraightMessage)()); 02126 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkStraightMessage"); 02127 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 02128 } 02129 } 02130 return 1; 02131 tolua_lerror: 02132 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new00_local(tolua_S); 02133 } 02134 #endif //#ifndef TOLUA_DISABLE 02135 02136 /* method: delete of class WalkStraightMessage */ 02137 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_delete00 02138 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_delete00(lua_State* tolua_S) 02139 { 02140 #ifndef TOLUA_RELEASE 02141 tolua_Error tolua_err; 02142 if ( 02143 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkStraightMessage",0,&tolua_err) || 02144 !tolua_isnoobj(tolua_S,2,&tolua_err) 02145 ) 02146 goto tolua_lerror; 02147 else 02148 #endif 02149 { 02150 fawkes::HumanoidMotionInterface::WalkStraightMessage* self = (fawkes::HumanoidMotionInterface::WalkStraightMessage*) tolua_tousertype(tolua_S,1,0); 02151 #ifndef TOLUA_RELEASE 02152 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 02153 #endif 02154 Mtolua_delete(self); 02155 } 02156 return 0; 02157 #ifndef TOLUA_RELEASE 02158 tolua_lerror: 02159 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 02160 return 0; 02161 #endif 02162 } 02163 #endif //#ifndef TOLUA_DISABLE 02164 02165 /* method: distance of class WalkStraightMessage */ 02166 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_distance00 02167 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_distance00(lua_State* tolua_S) 02168 { 02169 #ifndef TOLUA_RELEASE 02170 tolua_Error tolua_err; 02171 if ( 02172 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkStraightMessage",0,&tolua_err) || 02173 !tolua_isnoobj(tolua_S,2,&tolua_err) 02174 ) 02175 goto tolua_lerror; 02176 else 02177 #endif 02178 { 02179 fawkes::HumanoidMotionInterface::WalkStraightMessage* self = (fawkes::HumanoidMotionInterface::WalkStraightMessage*) tolua_tousertype(tolua_S,1,0); 02180 #ifndef TOLUA_RELEASE 02181 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'distance'", NULL); 02182 #endif 02183 { 02184 float tolua_ret = (float) self->distance(); 02185 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02186 } 02187 } 02188 return 1; 02189 #ifndef TOLUA_RELEASE 02190 tolua_lerror: 02191 tolua_error(tolua_S,"#ferror in function 'distance'.",&tolua_err); 02192 return 0; 02193 #endif 02194 } 02195 #endif //#ifndef TOLUA_DISABLE 02196 02197 /* method: set_distance of class WalkStraightMessage */ 02198 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_set_distance00 02199 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_set_distance00(lua_State* tolua_S) 02200 { 02201 #ifndef TOLUA_RELEASE 02202 tolua_Error tolua_err; 02203 if ( 02204 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkStraightMessage",0,&tolua_err) || 02205 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02206 !tolua_isnoobj(tolua_S,3,&tolua_err) 02207 ) 02208 goto tolua_lerror; 02209 else 02210 #endif 02211 { 02212 fawkes::HumanoidMotionInterface::WalkStraightMessage* self = (fawkes::HumanoidMotionInterface::WalkStraightMessage*) tolua_tousertype(tolua_S,1,0); 02213 const float new_distance = ((const float) tolua_tonumber(tolua_S,2,0)); 02214 #ifndef TOLUA_RELEASE 02215 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_distance'", NULL); 02216 #endif 02217 { 02218 self->set_distance(new_distance); 02219 } 02220 } 02221 return 0; 02222 #ifndef TOLUA_RELEASE 02223 tolua_lerror: 02224 tolua_error(tolua_S,"#ferror in function 'set_distance'.",&tolua_err); 02225 return 0; 02226 #endif 02227 } 02228 #endif //#ifndef TOLUA_DISABLE 02229 02230 /* method: maxlenof_distance of class WalkStraightMessage */ 02231 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_maxlenof_distance00 02232 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_maxlenof_distance00(lua_State* tolua_S) 02233 { 02234 #ifndef TOLUA_RELEASE 02235 tolua_Error tolua_err; 02236 if ( 02237 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::WalkStraightMessage",0,&tolua_err) || 02238 !tolua_isnoobj(tolua_S,2,&tolua_err) 02239 ) 02240 goto tolua_lerror; 02241 else 02242 #endif 02243 { 02244 const fawkes::HumanoidMotionInterface::WalkStraightMessage* self = (const fawkes::HumanoidMotionInterface::WalkStraightMessage*) tolua_tousertype(tolua_S,1,0); 02245 #ifndef TOLUA_RELEASE 02246 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_distance'", NULL); 02247 #endif 02248 { 02249 int tolua_ret = (int) self->maxlenof_distance(); 02250 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02251 } 02252 } 02253 return 1; 02254 #ifndef TOLUA_RELEASE 02255 tolua_lerror: 02256 tolua_error(tolua_S,"#ferror in function 'maxlenof_distance'.",&tolua_err); 02257 return 0; 02258 #endif 02259 } 02260 #endif //#ifndef TOLUA_DISABLE 02261 02262 /* method: num_samples of class WalkStraightMessage */ 02263 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_num_samples00 02264 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_num_samples00(lua_State* tolua_S) 02265 { 02266 #ifndef TOLUA_RELEASE 02267 tolua_Error tolua_err; 02268 if ( 02269 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkStraightMessage",0,&tolua_err) || 02270 !tolua_isnoobj(tolua_S,2,&tolua_err) 02271 ) 02272 goto tolua_lerror; 02273 else 02274 #endif 02275 { 02276 fawkes::HumanoidMotionInterface::WalkStraightMessage* self = (fawkes::HumanoidMotionInterface::WalkStraightMessage*) tolua_tousertype(tolua_S,1,0); 02277 #ifndef TOLUA_RELEASE 02278 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'num_samples'", NULL); 02279 #endif 02280 { 02281 unsigned int tolua_ret = (unsigned int) self->num_samples(); 02282 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02283 } 02284 } 02285 return 1; 02286 #ifndef TOLUA_RELEASE 02287 tolua_lerror: 02288 tolua_error(tolua_S,"#ferror in function 'num_samples'.",&tolua_err); 02289 return 0; 02290 #endif 02291 } 02292 #endif //#ifndef TOLUA_DISABLE 02293 02294 /* method: set_num_samples of class WalkStraightMessage */ 02295 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_set_num_samples00 02296 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_set_num_samples00(lua_State* tolua_S) 02297 { 02298 #ifndef TOLUA_RELEASE 02299 tolua_Error tolua_err; 02300 if ( 02301 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkStraightMessage",0,&tolua_err) || 02302 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02303 !tolua_isnoobj(tolua_S,3,&tolua_err) 02304 ) 02305 goto tolua_lerror; 02306 else 02307 #endif 02308 { 02309 fawkes::HumanoidMotionInterface::WalkStraightMessage* self = (fawkes::HumanoidMotionInterface::WalkStraightMessage*) tolua_tousertype(tolua_S,1,0); 02310 unsigned const int new_num_samples = ((unsigned const int) tolua_tonumber(tolua_S,2,0)); 02311 #ifndef TOLUA_RELEASE 02312 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_num_samples'", NULL); 02313 #endif 02314 { 02315 self->set_num_samples(new_num_samples); 02316 } 02317 } 02318 return 0; 02319 #ifndef TOLUA_RELEASE 02320 tolua_lerror: 02321 tolua_error(tolua_S,"#ferror in function 'set_num_samples'.",&tolua_err); 02322 return 0; 02323 #endif 02324 } 02325 #endif //#ifndef TOLUA_DISABLE 02326 02327 /* method: maxlenof_num_samples of class WalkStraightMessage */ 02328 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_maxlenof_num_samples00 02329 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_maxlenof_num_samples00(lua_State* tolua_S) 02330 { 02331 #ifndef TOLUA_RELEASE 02332 tolua_Error tolua_err; 02333 if ( 02334 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::WalkStraightMessage",0,&tolua_err) || 02335 !tolua_isnoobj(tolua_S,2,&tolua_err) 02336 ) 02337 goto tolua_lerror; 02338 else 02339 #endif 02340 { 02341 const fawkes::HumanoidMotionInterface::WalkStraightMessage* self = (const fawkes::HumanoidMotionInterface::WalkStraightMessage*) tolua_tousertype(tolua_S,1,0); 02342 #ifndef TOLUA_RELEASE 02343 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_num_samples'", NULL); 02344 #endif 02345 { 02346 int tolua_ret = (int) self->maxlenof_num_samples(); 02347 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02348 } 02349 } 02350 return 1; 02351 #ifndef TOLUA_RELEASE 02352 tolua_lerror: 02353 tolua_error(tolua_S,"#ferror in function 'maxlenof_num_samples'.",&tolua_err); 02354 return 0; 02355 #endif 02356 } 02357 #endif //#ifndef TOLUA_DISABLE 02358 02359 /* method: new of class WalkSidewaysMessage */ 02360 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new00 02361 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new00(lua_State* tolua_S) 02362 { 02363 #ifndef TOLUA_RELEASE 02364 tolua_Error tolua_err; 02365 if ( 02366 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage",0,&tolua_err) || 02367 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02368 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 02369 !tolua_isnoobj(tolua_S,4,&tolua_err) 02370 ) 02371 goto tolua_lerror; 02372 else 02373 #endif 02374 { 02375 float ini_distance = ((float) tolua_tonumber(tolua_S,2,0)); 02376 unsigned int ini_num_samples = ((unsigned int) tolua_tonumber(tolua_S,3,0)); 02377 { 02378 fawkes::HumanoidMotionInterface::WalkSidewaysMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkSidewaysMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkSidewaysMessage)(ini_distance,ini_num_samples)); 02379 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage"); 02380 } 02381 } 02382 return 1; 02383 #ifndef TOLUA_RELEASE 02384 tolua_lerror: 02385 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 02386 return 0; 02387 #endif 02388 } 02389 #endif //#ifndef TOLUA_DISABLE 02390 02391 /* method: new_local of class WalkSidewaysMessage */ 02392 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new00_local 02393 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new00_local(lua_State* tolua_S) 02394 { 02395 #ifndef TOLUA_RELEASE 02396 tolua_Error tolua_err; 02397 if ( 02398 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage",0,&tolua_err) || 02399 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02400 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 02401 !tolua_isnoobj(tolua_S,4,&tolua_err) 02402 ) 02403 goto tolua_lerror; 02404 else 02405 #endif 02406 { 02407 float ini_distance = ((float) tolua_tonumber(tolua_S,2,0)); 02408 unsigned int ini_num_samples = ((unsigned int) tolua_tonumber(tolua_S,3,0)); 02409 { 02410 fawkes::HumanoidMotionInterface::WalkSidewaysMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkSidewaysMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkSidewaysMessage)(ini_distance,ini_num_samples)); 02411 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage"); 02412 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 02413 } 02414 } 02415 return 1; 02416 #ifndef TOLUA_RELEASE 02417 tolua_lerror: 02418 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 02419 return 0; 02420 #endif 02421 } 02422 #endif //#ifndef TOLUA_DISABLE 02423 02424 /* method: new of class WalkSidewaysMessage */ 02425 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new01 02426 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new01(lua_State* tolua_S) 02427 { 02428 tolua_Error tolua_err; 02429 if ( 02430 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage",0,&tolua_err) || 02431 !tolua_isnoobj(tolua_S,2,&tolua_err) 02432 ) 02433 goto tolua_lerror; 02434 else 02435 { 02436 { 02437 fawkes::HumanoidMotionInterface::WalkSidewaysMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkSidewaysMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkSidewaysMessage)()); 02438 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage"); 02439 } 02440 } 02441 return 1; 02442 tolua_lerror: 02443 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new00(tolua_S); 02444 } 02445 #endif //#ifndef TOLUA_DISABLE 02446 02447 /* method: new_local of class WalkSidewaysMessage */ 02448 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new01_local 02449 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new01_local(lua_State* tolua_S) 02450 { 02451 tolua_Error tolua_err; 02452 if ( 02453 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage",0,&tolua_err) || 02454 !tolua_isnoobj(tolua_S,2,&tolua_err) 02455 ) 02456 goto tolua_lerror; 02457 else 02458 { 02459 { 02460 fawkes::HumanoidMotionInterface::WalkSidewaysMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkSidewaysMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkSidewaysMessage)()); 02461 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage"); 02462 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 02463 } 02464 } 02465 return 1; 02466 tolua_lerror: 02467 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new00_local(tolua_S); 02468 } 02469 #endif //#ifndef TOLUA_DISABLE 02470 02471 /* method: delete of class WalkSidewaysMessage */ 02472 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_delete00 02473 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_delete00(lua_State* tolua_S) 02474 { 02475 #ifndef TOLUA_RELEASE 02476 tolua_Error tolua_err; 02477 if ( 02478 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage",0,&tolua_err) || 02479 !tolua_isnoobj(tolua_S,2,&tolua_err) 02480 ) 02481 goto tolua_lerror; 02482 else 02483 #endif 02484 { 02485 fawkes::HumanoidMotionInterface::WalkSidewaysMessage* self = (fawkes::HumanoidMotionInterface::WalkSidewaysMessage*) tolua_tousertype(tolua_S,1,0); 02486 #ifndef TOLUA_RELEASE 02487 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 02488 #endif 02489 Mtolua_delete(self); 02490 } 02491 return 0; 02492 #ifndef TOLUA_RELEASE 02493 tolua_lerror: 02494 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 02495 return 0; 02496 #endif 02497 } 02498 #endif //#ifndef TOLUA_DISABLE 02499 02500 /* method: distance of class WalkSidewaysMessage */ 02501 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_distance00 02502 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_distance00(lua_State* tolua_S) 02503 { 02504 #ifndef TOLUA_RELEASE 02505 tolua_Error tolua_err; 02506 if ( 02507 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage",0,&tolua_err) || 02508 !tolua_isnoobj(tolua_S,2,&tolua_err) 02509 ) 02510 goto tolua_lerror; 02511 else 02512 #endif 02513 { 02514 fawkes::HumanoidMotionInterface::WalkSidewaysMessage* self = (fawkes::HumanoidMotionInterface::WalkSidewaysMessage*) tolua_tousertype(tolua_S,1,0); 02515 #ifndef TOLUA_RELEASE 02516 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'distance'", NULL); 02517 #endif 02518 { 02519 float tolua_ret = (float) self->distance(); 02520 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02521 } 02522 } 02523 return 1; 02524 #ifndef TOLUA_RELEASE 02525 tolua_lerror: 02526 tolua_error(tolua_S,"#ferror in function 'distance'.",&tolua_err); 02527 return 0; 02528 #endif 02529 } 02530 #endif //#ifndef TOLUA_DISABLE 02531 02532 /* method: set_distance of class WalkSidewaysMessage */ 02533 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_set_distance00 02534 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_set_distance00(lua_State* tolua_S) 02535 { 02536 #ifndef TOLUA_RELEASE 02537 tolua_Error tolua_err; 02538 if ( 02539 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage",0,&tolua_err) || 02540 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02541 !tolua_isnoobj(tolua_S,3,&tolua_err) 02542 ) 02543 goto tolua_lerror; 02544 else 02545 #endif 02546 { 02547 fawkes::HumanoidMotionInterface::WalkSidewaysMessage* self = (fawkes::HumanoidMotionInterface::WalkSidewaysMessage*) tolua_tousertype(tolua_S,1,0); 02548 const float new_distance = ((const float) tolua_tonumber(tolua_S,2,0)); 02549 #ifndef TOLUA_RELEASE 02550 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_distance'", NULL); 02551 #endif 02552 { 02553 self->set_distance(new_distance); 02554 } 02555 } 02556 return 0; 02557 #ifndef TOLUA_RELEASE 02558 tolua_lerror: 02559 tolua_error(tolua_S,"#ferror in function 'set_distance'.",&tolua_err); 02560 return 0; 02561 #endif 02562 } 02563 #endif //#ifndef TOLUA_DISABLE 02564 02565 /* method: maxlenof_distance of class WalkSidewaysMessage */ 02566 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_maxlenof_distance00 02567 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_maxlenof_distance00(lua_State* tolua_S) 02568 { 02569 #ifndef TOLUA_RELEASE 02570 tolua_Error tolua_err; 02571 if ( 02572 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::WalkSidewaysMessage",0,&tolua_err) || 02573 !tolua_isnoobj(tolua_S,2,&tolua_err) 02574 ) 02575 goto tolua_lerror; 02576 else 02577 #endif 02578 { 02579 const fawkes::HumanoidMotionInterface::WalkSidewaysMessage* self = (const fawkes::HumanoidMotionInterface::WalkSidewaysMessage*) tolua_tousertype(tolua_S,1,0); 02580 #ifndef TOLUA_RELEASE 02581 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_distance'", NULL); 02582 #endif 02583 { 02584 int tolua_ret = (int) self->maxlenof_distance(); 02585 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02586 } 02587 } 02588 return 1; 02589 #ifndef TOLUA_RELEASE 02590 tolua_lerror: 02591 tolua_error(tolua_S,"#ferror in function 'maxlenof_distance'.",&tolua_err); 02592 return 0; 02593 #endif 02594 } 02595 #endif //#ifndef TOLUA_DISABLE 02596 02597 /* method: num_samples of class WalkSidewaysMessage */ 02598 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_num_samples00 02599 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_num_samples00(lua_State* tolua_S) 02600 { 02601 #ifndef TOLUA_RELEASE 02602 tolua_Error tolua_err; 02603 if ( 02604 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage",0,&tolua_err) || 02605 !tolua_isnoobj(tolua_S,2,&tolua_err) 02606 ) 02607 goto tolua_lerror; 02608 else 02609 #endif 02610 { 02611 fawkes::HumanoidMotionInterface::WalkSidewaysMessage* self = (fawkes::HumanoidMotionInterface::WalkSidewaysMessage*) tolua_tousertype(tolua_S,1,0); 02612 #ifndef TOLUA_RELEASE 02613 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'num_samples'", NULL); 02614 #endif 02615 { 02616 unsigned int tolua_ret = (unsigned int) self->num_samples(); 02617 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02618 } 02619 } 02620 return 1; 02621 #ifndef TOLUA_RELEASE 02622 tolua_lerror: 02623 tolua_error(tolua_S,"#ferror in function 'num_samples'.",&tolua_err); 02624 return 0; 02625 #endif 02626 } 02627 #endif //#ifndef TOLUA_DISABLE 02628 02629 /* method: set_num_samples of class WalkSidewaysMessage */ 02630 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_set_num_samples00 02631 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_set_num_samples00(lua_State* tolua_S) 02632 { 02633 #ifndef TOLUA_RELEASE 02634 tolua_Error tolua_err; 02635 if ( 02636 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkSidewaysMessage",0,&tolua_err) || 02637 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02638 !tolua_isnoobj(tolua_S,3,&tolua_err) 02639 ) 02640 goto tolua_lerror; 02641 else 02642 #endif 02643 { 02644 fawkes::HumanoidMotionInterface::WalkSidewaysMessage* self = (fawkes::HumanoidMotionInterface::WalkSidewaysMessage*) tolua_tousertype(tolua_S,1,0); 02645 unsigned const int new_num_samples = ((unsigned const int) tolua_tonumber(tolua_S,2,0)); 02646 #ifndef TOLUA_RELEASE 02647 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_num_samples'", NULL); 02648 #endif 02649 { 02650 self->set_num_samples(new_num_samples); 02651 } 02652 } 02653 return 0; 02654 #ifndef TOLUA_RELEASE 02655 tolua_lerror: 02656 tolua_error(tolua_S,"#ferror in function 'set_num_samples'.",&tolua_err); 02657 return 0; 02658 #endif 02659 } 02660 #endif //#ifndef TOLUA_DISABLE 02661 02662 /* method: maxlenof_num_samples of class WalkSidewaysMessage */ 02663 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_maxlenof_num_samples00 02664 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_maxlenof_num_samples00(lua_State* tolua_S) 02665 { 02666 #ifndef TOLUA_RELEASE 02667 tolua_Error tolua_err; 02668 if ( 02669 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::WalkSidewaysMessage",0,&tolua_err) || 02670 !tolua_isnoobj(tolua_S,2,&tolua_err) 02671 ) 02672 goto tolua_lerror; 02673 else 02674 #endif 02675 { 02676 const fawkes::HumanoidMotionInterface::WalkSidewaysMessage* self = (const fawkes::HumanoidMotionInterface::WalkSidewaysMessage*) tolua_tousertype(tolua_S,1,0); 02677 #ifndef TOLUA_RELEASE 02678 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_num_samples'", NULL); 02679 #endif 02680 { 02681 int tolua_ret = (int) self->maxlenof_num_samples(); 02682 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02683 } 02684 } 02685 return 1; 02686 #ifndef TOLUA_RELEASE 02687 tolua_lerror: 02688 tolua_error(tolua_S,"#ferror in function 'maxlenof_num_samples'.",&tolua_err); 02689 return 0; 02690 #endif 02691 } 02692 #endif //#ifndef TOLUA_DISABLE 02693 02694 /* method: new of class WalkArcMessage */ 02695 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new00 02696 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new00(lua_State* tolua_S) 02697 { 02698 #ifndef TOLUA_RELEASE 02699 tolua_Error tolua_err; 02700 if ( 02701 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 02702 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02703 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 02704 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 02705 !tolua_isnoobj(tolua_S,5,&tolua_err) 02706 ) 02707 goto tolua_lerror; 02708 else 02709 #endif 02710 { 02711 float ini_angle = ((float) tolua_tonumber(tolua_S,2,0)); 02712 float ini_radius = ((float) tolua_tonumber(tolua_S,3,0)); 02713 unsigned int ini_num_samples = ((unsigned int) tolua_tonumber(tolua_S,4,0)); 02714 { 02715 fawkes::HumanoidMotionInterface::WalkArcMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkArcMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkArcMessage)(ini_angle,ini_radius,ini_num_samples)); 02716 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkArcMessage"); 02717 } 02718 } 02719 return 1; 02720 #ifndef TOLUA_RELEASE 02721 tolua_lerror: 02722 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 02723 return 0; 02724 #endif 02725 } 02726 #endif //#ifndef TOLUA_DISABLE 02727 02728 /* method: new_local of class WalkArcMessage */ 02729 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new00_local 02730 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new00_local(lua_State* tolua_S) 02731 { 02732 #ifndef TOLUA_RELEASE 02733 tolua_Error tolua_err; 02734 if ( 02735 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 02736 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02737 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 02738 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 02739 !tolua_isnoobj(tolua_S,5,&tolua_err) 02740 ) 02741 goto tolua_lerror; 02742 else 02743 #endif 02744 { 02745 float ini_angle = ((float) tolua_tonumber(tolua_S,2,0)); 02746 float ini_radius = ((float) tolua_tonumber(tolua_S,3,0)); 02747 unsigned int ini_num_samples = ((unsigned int) tolua_tonumber(tolua_S,4,0)); 02748 { 02749 fawkes::HumanoidMotionInterface::WalkArcMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkArcMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkArcMessage)(ini_angle,ini_radius,ini_num_samples)); 02750 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkArcMessage"); 02751 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 02752 } 02753 } 02754 return 1; 02755 #ifndef TOLUA_RELEASE 02756 tolua_lerror: 02757 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 02758 return 0; 02759 #endif 02760 } 02761 #endif //#ifndef TOLUA_DISABLE 02762 02763 /* method: new of class WalkArcMessage */ 02764 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new01 02765 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new01(lua_State* tolua_S) 02766 { 02767 tolua_Error tolua_err; 02768 if ( 02769 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 02770 !tolua_isnoobj(tolua_S,2,&tolua_err) 02771 ) 02772 goto tolua_lerror; 02773 else 02774 { 02775 { 02776 fawkes::HumanoidMotionInterface::WalkArcMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkArcMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkArcMessage)()); 02777 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkArcMessage"); 02778 } 02779 } 02780 return 1; 02781 tolua_lerror: 02782 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new00(tolua_S); 02783 } 02784 #endif //#ifndef TOLUA_DISABLE 02785 02786 /* method: new_local of class WalkArcMessage */ 02787 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new01_local 02788 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new01_local(lua_State* tolua_S) 02789 { 02790 tolua_Error tolua_err; 02791 if ( 02792 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 02793 !tolua_isnoobj(tolua_S,2,&tolua_err) 02794 ) 02795 goto tolua_lerror; 02796 else 02797 { 02798 { 02799 fawkes::HumanoidMotionInterface::WalkArcMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkArcMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkArcMessage)()); 02800 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkArcMessage"); 02801 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 02802 } 02803 } 02804 return 1; 02805 tolua_lerror: 02806 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new00_local(tolua_S); 02807 } 02808 #endif //#ifndef TOLUA_DISABLE 02809 02810 /* method: delete of class WalkArcMessage */ 02811 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_delete00 02812 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_delete00(lua_State* tolua_S) 02813 { 02814 #ifndef TOLUA_RELEASE 02815 tolua_Error tolua_err; 02816 if ( 02817 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 02818 !tolua_isnoobj(tolua_S,2,&tolua_err) 02819 ) 02820 goto tolua_lerror; 02821 else 02822 #endif 02823 { 02824 fawkes::HumanoidMotionInterface::WalkArcMessage* self = (fawkes::HumanoidMotionInterface::WalkArcMessage*) tolua_tousertype(tolua_S,1,0); 02825 #ifndef TOLUA_RELEASE 02826 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 02827 #endif 02828 Mtolua_delete(self); 02829 } 02830 return 0; 02831 #ifndef TOLUA_RELEASE 02832 tolua_lerror: 02833 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 02834 return 0; 02835 #endif 02836 } 02837 #endif //#ifndef TOLUA_DISABLE 02838 02839 /* method: angle of class WalkArcMessage */ 02840 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_angle00 02841 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_angle00(lua_State* tolua_S) 02842 { 02843 #ifndef TOLUA_RELEASE 02844 tolua_Error tolua_err; 02845 if ( 02846 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 02847 !tolua_isnoobj(tolua_S,2,&tolua_err) 02848 ) 02849 goto tolua_lerror; 02850 else 02851 #endif 02852 { 02853 fawkes::HumanoidMotionInterface::WalkArcMessage* self = (fawkes::HumanoidMotionInterface::WalkArcMessage*) tolua_tousertype(tolua_S,1,0); 02854 #ifndef TOLUA_RELEASE 02855 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'angle'", NULL); 02856 #endif 02857 { 02858 float tolua_ret = (float) self->angle(); 02859 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02860 } 02861 } 02862 return 1; 02863 #ifndef TOLUA_RELEASE 02864 tolua_lerror: 02865 tolua_error(tolua_S,"#ferror in function 'angle'.",&tolua_err); 02866 return 0; 02867 #endif 02868 } 02869 #endif //#ifndef TOLUA_DISABLE 02870 02871 /* method: set_angle of class WalkArcMessage */ 02872 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_set_angle00 02873 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_set_angle00(lua_State* tolua_S) 02874 { 02875 #ifndef TOLUA_RELEASE 02876 tolua_Error tolua_err; 02877 if ( 02878 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 02879 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02880 !tolua_isnoobj(tolua_S,3,&tolua_err) 02881 ) 02882 goto tolua_lerror; 02883 else 02884 #endif 02885 { 02886 fawkes::HumanoidMotionInterface::WalkArcMessage* self = (fawkes::HumanoidMotionInterface::WalkArcMessage*) tolua_tousertype(tolua_S,1,0); 02887 const float new_angle = ((const float) tolua_tonumber(tolua_S,2,0)); 02888 #ifndef TOLUA_RELEASE 02889 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_angle'", NULL); 02890 #endif 02891 { 02892 self->set_angle(new_angle); 02893 } 02894 } 02895 return 0; 02896 #ifndef TOLUA_RELEASE 02897 tolua_lerror: 02898 tolua_error(tolua_S,"#ferror in function 'set_angle'.",&tolua_err); 02899 return 0; 02900 #endif 02901 } 02902 #endif //#ifndef TOLUA_DISABLE 02903 02904 /* method: maxlenof_angle of class WalkArcMessage */ 02905 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_maxlenof_angle00 02906 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_maxlenof_angle00(lua_State* tolua_S) 02907 { 02908 #ifndef TOLUA_RELEASE 02909 tolua_Error tolua_err; 02910 if ( 02911 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 02912 !tolua_isnoobj(tolua_S,2,&tolua_err) 02913 ) 02914 goto tolua_lerror; 02915 else 02916 #endif 02917 { 02918 const fawkes::HumanoidMotionInterface::WalkArcMessage* self = (const fawkes::HumanoidMotionInterface::WalkArcMessage*) tolua_tousertype(tolua_S,1,0); 02919 #ifndef TOLUA_RELEASE 02920 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_angle'", NULL); 02921 #endif 02922 { 02923 int tolua_ret = (int) self->maxlenof_angle(); 02924 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02925 } 02926 } 02927 return 1; 02928 #ifndef TOLUA_RELEASE 02929 tolua_lerror: 02930 tolua_error(tolua_S,"#ferror in function 'maxlenof_angle'.",&tolua_err); 02931 return 0; 02932 #endif 02933 } 02934 #endif //#ifndef TOLUA_DISABLE 02935 02936 /* method: radius of class WalkArcMessage */ 02937 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_radius00 02938 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_radius00(lua_State* tolua_S) 02939 { 02940 #ifndef TOLUA_RELEASE 02941 tolua_Error tolua_err; 02942 if ( 02943 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 02944 !tolua_isnoobj(tolua_S,2,&tolua_err) 02945 ) 02946 goto tolua_lerror; 02947 else 02948 #endif 02949 { 02950 fawkes::HumanoidMotionInterface::WalkArcMessage* self = (fawkes::HumanoidMotionInterface::WalkArcMessage*) tolua_tousertype(tolua_S,1,0); 02951 #ifndef TOLUA_RELEASE 02952 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'radius'", NULL); 02953 #endif 02954 { 02955 float tolua_ret = (float) self->radius(); 02956 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02957 } 02958 } 02959 return 1; 02960 #ifndef TOLUA_RELEASE 02961 tolua_lerror: 02962 tolua_error(tolua_S,"#ferror in function 'radius'.",&tolua_err); 02963 return 0; 02964 #endif 02965 } 02966 #endif //#ifndef TOLUA_DISABLE 02967 02968 /* method: set_radius of class WalkArcMessage */ 02969 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_set_radius00 02970 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_set_radius00(lua_State* tolua_S) 02971 { 02972 #ifndef TOLUA_RELEASE 02973 tolua_Error tolua_err; 02974 if ( 02975 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 02976 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02977 !tolua_isnoobj(tolua_S,3,&tolua_err) 02978 ) 02979 goto tolua_lerror; 02980 else 02981 #endif 02982 { 02983 fawkes::HumanoidMotionInterface::WalkArcMessage* self = (fawkes::HumanoidMotionInterface::WalkArcMessage*) tolua_tousertype(tolua_S,1,0); 02984 const float new_radius = ((const float) tolua_tonumber(tolua_S,2,0)); 02985 #ifndef TOLUA_RELEASE 02986 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_radius'", NULL); 02987 #endif 02988 { 02989 self->set_radius(new_radius); 02990 } 02991 } 02992 return 0; 02993 #ifndef TOLUA_RELEASE 02994 tolua_lerror: 02995 tolua_error(tolua_S,"#ferror in function 'set_radius'.",&tolua_err); 02996 return 0; 02997 #endif 02998 } 02999 #endif //#ifndef TOLUA_DISABLE 03000 03001 /* method: maxlenof_radius of class WalkArcMessage */ 03002 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_maxlenof_radius00 03003 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_maxlenof_radius00(lua_State* tolua_S) 03004 { 03005 #ifndef TOLUA_RELEASE 03006 tolua_Error tolua_err; 03007 if ( 03008 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 03009 !tolua_isnoobj(tolua_S,2,&tolua_err) 03010 ) 03011 goto tolua_lerror; 03012 else 03013 #endif 03014 { 03015 const fawkes::HumanoidMotionInterface::WalkArcMessage* self = (const fawkes::HumanoidMotionInterface::WalkArcMessage*) tolua_tousertype(tolua_S,1,0); 03016 #ifndef TOLUA_RELEASE 03017 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_radius'", NULL); 03018 #endif 03019 { 03020 int tolua_ret = (int) self->maxlenof_radius(); 03021 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03022 } 03023 } 03024 return 1; 03025 #ifndef TOLUA_RELEASE 03026 tolua_lerror: 03027 tolua_error(tolua_S,"#ferror in function 'maxlenof_radius'.",&tolua_err); 03028 return 0; 03029 #endif 03030 } 03031 #endif //#ifndef TOLUA_DISABLE 03032 03033 /* method: num_samples of class WalkArcMessage */ 03034 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_num_samples00 03035 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_num_samples00(lua_State* tolua_S) 03036 { 03037 #ifndef TOLUA_RELEASE 03038 tolua_Error tolua_err; 03039 if ( 03040 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 03041 !tolua_isnoobj(tolua_S,2,&tolua_err) 03042 ) 03043 goto tolua_lerror; 03044 else 03045 #endif 03046 { 03047 fawkes::HumanoidMotionInterface::WalkArcMessage* self = (fawkes::HumanoidMotionInterface::WalkArcMessage*) tolua_tousertype(tolua_S,1,0); 03048 #ifndef TOLUA_RELEASE 03049 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'num_samples'", NULL); 03050 #endif 03051 { 03052 unsigned int tolua_ret = (unsigned int) self->num_samples(); 03053 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03054 } 03055 } 03056 return 1; 03057 #ifndef TOLUA_RELEASE 03058 tolua_lerror: 03059 tolua_error(tolua_S,"#ferror in function 'num_samples'.",&tolua_err); 03060 return 0; 03061 #endif 03062 } 03063 #endif //#ifndef TOLUA_DISABLE 03064 03065 /* method: set_num_samples of class WalkArcMessage */ 03066 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_set_num_samples00 03067 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_set_num_samples00(lua_State* tolua_S) 03068 { 03069 #ifndef TOLUA_RELEASE 03070 tolua_Error tolua_err; 03071 if ( 03072 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 03073 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03074 !tolua_isnoobj(tolua_S,3,&tolua_err) 03075 ) 03076 goto tolua_lerror; 03077 else 03078 #endif 03079 { 03080 fawkes::HumanoidMotionInterface::WalkArcMessage* self = (fawkes::HumanoidMotionInterface::WalkArcMessage*) tolua_tousertype(tolua_S,1,0); 03081 unsigned const int new_num_samples = ((unsigned const int) tolua_tonumber(tolua_S,2,0)); 03082 #ifndef TOLUA_RELEASE 03083 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_num_samples'", NULL); 03084 #endif 03085 { 03086 self->set_num_samples(new_num_samples); 03087 } 03088 } 03089 return 0; 03090 #ifndef TOLUA_RELEASE 03091 tolua_lerror: 03092 tolua_error(tolua_S,"#ferror in function 'set_num_samples'.",&tolua_err); 03093 return 0; 03094 #endif 03095 } 03096 #endif //#ifndef TOLUA_DISABLE 03097 03098 /* method: maxlenof_num_samples of class WalkArcMessage */ 03099 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_maxlenof_num_samples00 03100 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_maxlenof_num_samples00(lua_State* tolua_S) 03101 { 03102 #ifndef TOLUA_RELEASE 03103 tolua_Error tolua_err; 03104 if ( 03105 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::WalkArcMessage",0,&tolua_err) || 03106 !tolua_isnoobj(tolua_S,2,&tolua_err) 03107 ) 03108 goto tolua_lerror; 03109 else 03110 #endif 03111 { 03112 const fawkes::HumanoidMotionInterface::WalkArcMessage* self = (const fawkes::HumanoidMotionInterface::WalkArcMessage*) tolua_tousertype(tolua_S,1,0); 03113 #ifndef TOLUA_RELEASE 03114 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_num_samples'", NULL); 03115 #endif 03116 { 03117 int tolua_ret = (int) self->maxlenof_num_samples(); 03118 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03119 } 03120 } 03121 return 1; 03122 #ifndef TOLUA_RELEASE 03123 tolua_lerror: 03124 tolua_error(tolua_S,"#ferror in function 'maxlenof_num_samples'.",&tolua_err); 03125 return 0; 03126 #endif 03127 } 03128 #endif //#ifndef TOLUA_DISABLE 03129 03130 /* method: new of class WalkMessage */ 03131 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new00 03132 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new00(lua_State* tolua_S) 03133 { 03134 #ifndef TOLUA_RELEASE 03135 tolua_Error tolua_err; 03136 if ( 03137 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03138 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03139 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 03140 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 03141 !tolua_isnumber(tolua_S,5,0,&tolua_err) || 03142 !tolua_isnoobj(tolua_S,6,&tolua_err) 03143 ) 03144 goto tolua_lerror; 03145 else 03146 #endif 03147 { 03148 float ini_x = ((float) tolua_tonumber(tolua_S,2,0)); 03149 float ini_y = ((float) tolua_tonumber(tolua_S,3,0)); 03150 float ini_theta = ((float) tolua_tonumber(tolua_S,4,0)); 03151 float ini_speed = ((float) tolua_tonumber(tolua_S,5,0)); 03152 { 03153 fawkes::HumanoidMotionInterface::WalkMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkMessage)(ini_x,ini_y,ini_theta,ini_speed)); 03154 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkMessage"); 03155 } 03156 } 03157 return 1; 03158 #ifndef TOLUA_RELEASE 03159 tolua_lerror: 03160 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 03161 return 0; 03162 #endif 03163 } 03164 #endif //#ifndef TOLUA_DISABLE 03165 03166 /* method: new_local of class WalkMessage */ 03167 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new00_local 03168 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new00_local(lua_State* tolua_S) 03169 { 03170 #ifndef TOLUA_RELEASE 03171 tolua_Error tolua_err; 03172 if ( 03173 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03174 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03175 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 03176 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 03177 !tolua_isnumber(tolua_S,5,0,&tolua_err) || 03178 !tolua_isnoobj(tolua_S,6,&tolua_err) 03179 ) 03180 goto tolua_lerror; 03181 else 03182 #endif 03183 { 03184 float ini_x = ((float) tolua_tonumber(tolua_S,2,0)); 03185 float ini_y = ((float) tolua_tonumber(tolua_S,3,0)); 03186 float ini_theta = ((float) tolua_tonumber(tolua_S,4,0)); 03187 float ini_speed = ((float) tolua_tonumber(tolua_S,5,0)); 03188 { 03189 fawkes::HumanoidMotionInterface::WalkMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkMessage)(ini_x,ini_y,ini_theta,ini_speed)); 03190 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkMessage"); 03191 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 03192 } 03193 } 03194 return 1; 03195 #ifndef TOLUA_RELEASE 03196 tolua_lerror: 03197 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 03198 return 0; 03199 #endif 03200 } 03201 #endif //#ifndef TOLUA_DISABLE 03202 03203 /* method: new of class WalkMessage */ 03204 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new01 03205 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new01(lua_State* tolua_S) 03206 { 03207 tolua_Error tolua_err; 03208 if ( 03209 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03210 !tolua_isnoobj(tolua_S,2,&tolua_err) 03211 ) 03212 goto tolua_lerror; 03213 else 03214 { 03215 { 03216 fawkes::HumanoidMotionInterface::WalkMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkMessage)()); 03217 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkMessage"); 03218 } 03219 } 03220 return 1; 03221 tolua_lerror: 03222 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new00(tolua_S); 03223 } 03224 #endif //#ifndef TOLUA_DISABLE 03225 03226 /* method: new_local of class WalkMessage */ 03227 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new01_local 03228 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new01_local(lua_State* tolua_S) 03229 { 03230 tolua_Error tolua_err; 03231 if ( 03232 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03233 !tolua_isnoobj(tolua_S,2,&tolua_err) 03234 ) 03235 goto tolua_lerror; 03236 else 03237 { 03238 { 03239 fawkes::HumanoidMotionInterface::WalkMessage* tolua_ret = (fawkes::HumanoidMotionInterface::WalkMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::WalkMessage)()); 03240 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::WalkMessage"); 03241 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 03242 } 03243 } 03244 return 1; 03245 tolua_lerror: 03246 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new00_local(tolua_S); 03247 } 03248 #endif //#ifndef TOLUA_DISABLE 03249 03250 /* method: delete of class WalkMessage */ 03251 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_delete00 03252 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_delete00(lua_State* tolua_S) 03253 { 03254 #ifndef TOLUA_RELEASE 03255 tolua_Error tolua_err; 03256 if ( 03257 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03258 !tolua_isnoobj(tolua_S,2,&tolua_err) 03259 ) 03260 goto tolua_lerror; 03261 else 03262 #endif 03263 { 03264 fawkes::HumanoidMotionInterface::WalkMessage* self = (fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03265 #ifndef TOLUA_RELEASE 03266 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 03267 #endif 03268 Mtolua_delete(self); 03269 } 03270 return 0; 03271 #ifndef TOLUA_RELEASE 03272 tolua_lerror: 03273 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 03274 return 0; 03275 #endif 03276 } 03277 #endif //#ifndef TOLUA_DISABLE 03278 03279 /* method: x of class WalkMessage */ 03280 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_x00 03281 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_x00(lua_State* tolua_S) 03282 { 03283 #ifndef TOLUA_RELEASE 03284 tolua_Error tolua_err; 03285 if ( 03286 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03287 !tolua_isnoobj(tolua_S,2,&tolua_err) 03288 ) 03289 goto tolua_lerror; 03290 else 03291 #endif 03292 { 03293 fawkes::HumanoidMotionInterface::WalkMessage* self = (fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03294 #ifndef TOLUA_RELEASE 03295 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'x'", NULL); 03296 #endif 03297 { 03298 float tolua_ret = (float) self->x(); 03299 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03300 } 03301 } 03302 return 1; 03303 #ifndef TOLUA_RELEASE 03304 tolua_lerror: 03305 tolua_error(tolua_S,"#ferror in function 'x'.",&tolua_err); 03306 return 0; 03307 #endif 03308 } 03309 #endif //#ifndef TOLUA_DISABLE 03310 03311 /* method: set_x of class WalkMessage */ 03312 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_set_x00 03313 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_set_x00(lua_State* tolua_S) 03314 { 03315 #ifndef TOLUA_RELEASE 03316 tolua_Error tolua_err; 03317 if ( 03318 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03319 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03320 !tolua_isnoobj(tolua_S,3,&tolua_err) 03321 ) 03322 goto tolua_lerror; 03323 else 03324 #endif 03325 { 03326 fawkes::HumanoidMotionInterface::WalkMessage* self = (fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03327 const float new_x = ((const float) tolua_tonumber(tolua_S,2,0)); 03328 #ifndef TOLUA_RELEASE 03329 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_x'", NULL); 03330 #endif 03331 { 03332 self->set_x(new_x); 03333 } 03334 } 03335 return 0; 03336 #ifndef TOLUA_RELEASE 03337 tolua_lerror: 03338 tolua_error(tolua_S,"#ferror in function 'set_x'.",&tolua_err); 03339 return 0; 03340 #endif 03341 } 03342 #endif //#ifndef TOLUA_DISABLE 03343 03344 /* method: maxlenof_x of class WalkMessage */ 03345 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_maxlenof_x00 03346 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_maxlenof_x00(lua_State* tolua_S) 03347 { 03348 #ifndef TOLUA_RELEASE 03349 tolua_Error tolua_err; 03350 if ( 03351 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03352 !tolua_isnoobj(tolua_S,2,&tolua_err) 03353 ) 03354 goto tolua_lerror; 03355 else 03356 #endif 03357 { 03358 const fawkes::HumanoidMotionInterface::WalkMessage* self = (const fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03359 #ifndef TOLUA_RELEASE 03360 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_x'", NULL); 03361 #endif 03362 { 03363 int tolua_ret = (int) self->maxlenof_x(); 03364 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03365 } 03366 } 03367 return 1; 03368 #ifndef TOLUA_RELEASE 03369 tolua_lerror: 03370 tolua_error(tolua_S,"#ferror in function 'maxlenof_x'.",&tolua_err); 03371 return 0; 03372 #endif 03373 } 03374 #endif //#ifndef TOLUA_DISABLE 03375 03376 /* method: y of class WalkMessage */ 03377 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_y00 03378 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_y00(lua_State* tolua_S) 03379 { 03380 #ifndef TOLUA_RELEASE 03381 tolua_Error tolua_err; 03382 if ( 03383 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03384 !tolua_isnoobj(tolua_S,2,&tolua_err) 03385 ) 03386 goto tolua_lerror; 03387 else 03388 #endif 03389 { 03390 fawkes::HumanoidMotionInterface::WalkMessage* self = (fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03391 #ifndef TOLUA_RELEASE 03392 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'y'", NULL); 03393 #endif 03394 { 03395 float tolua_ret = (float) self->y(); 03396 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03397 } 03398 } 03399 return 1; 03400 #ifndef TOLUA_RELEASE 03401 tolua_lerror: 03402 tolua_error(tolua_S,"#ferror in function 'y'.",&tolua_err); 03403 return 0; 03404 #endif 03405 } 03406 #endif //#ifndef TOLUA_DISABLE 03407 03408 /* method: set_y of class WalkMessage */ 03409 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_set_y00 03410 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_set_y00(lua_State* tolua_S) 03411 { 03412 #ifndef TOLUA_RELEASE 03413 tolua_Error tolua_err; 03414 if ( 03415 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03416 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03417 !tolua_isnoobj(tolua_S,3,&tolua_err) 03418 ) 03419 goto tolua_lerror; 03420 else 03421 #endif 03422 { 03423 fawkes::HumanoidMotionInterface::WalkMessage* self = (fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03424 const float new_y = ((const float) tolua_tonumber(tolua_S,2,0)); 03425 #ifndef TOLUA_RELEASE 03426 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_y'", NULL); 03427 #endif 03428 { 03429 self->set_y(new_y); 03430 } 03431 } 03432 return 0; 03433 #ifndef TOLUA_RELEASE 03434 tolua_lerror: 03435 tolua_error(tolua_S,"#ferror in function 'set_y'.",&tolua_err); 03436 return 0; 03437 #endif 03438 } 03439 #endif //#ifndef TOLUA_DISABLE 03440 03441 /* method: maxlenof_y of class WalkMessage */ 03442 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_maxlenof_y00 03443 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_maxlenof_y00(lua_State* tolua_S) 03444 { 03445 #ifndef TOLUA_RELEASE 03446 tolua_Error tolua_err; 03447 if ( 03448 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03449 !tolua_isnoobj(tolua_S,2,&tolua_err) 03450 ) 03451 goto tolua_lerror; 03452 else 03453 #endif 03454 { 03455 const fawkes::HumanoidMotionInterface::WalkMessage* self = (const fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03456 #ifndef TOLUA_RELEASE 03457 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_y'", NULL); 03458 #endif 03459 { 03460 int tolua_ret = (int) self->maxlenof_y(); 03461 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03462 } 03463 } 03464 return 1; 03465 #ifndef TOLUA_RELEASE 03466 tolua_lerror: 03467 tolua_error(tolua_S,"#ferror in function 'maxlenof_y'.",&tolua_err); 03468 return 0; 03469 #endif 03470 } 03471 #endif //#ifndef TOLUA_DISABLE 03472 03473 /* method: theta of class WalkMessage */ 03474 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_theta00 03475 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_theta00(lua_State* tolua_S) 03476 { 03477 #ifndef TOLUA_RELEASE 03478 tolua_Error tolua_err; 03479 if ( 03480 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03481 !tolua_isnoobj(tolua_S,2,&tolua_err) 03482 ) 03483 goto tolua_lerror; 03484 else 03485 #endif 03486 { 03487 fawkes::HumanoidMotionInterface::WalkMessage* self = (fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03488 #ifndef TOLUA_RELEASE 03489 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'theta'", NULL); 03490 #endif 03491 { 03492 float tolua_ret = (float) self->theta(); 03493 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03494 } 03495 } 03496 return 1; 03497 #ifndef TOLUA_RELEASE 03498 tolua_lerror: 03499 tolua_error(tolua_S,"#ferror in function 'theta'.",&tolua_err); 03500 return 0; 03501 #endif 03502 } 03503 #endif //#ifndef TOLUA_DISABLE 03504 03505 /* method: set_theta of class WalkMessage */ 03506 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_set_theta00 03507 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_set_theta00(lua_State* tolua_S) 03508 { 03509 #ifndef TOLUA_RELEASE 03510 tolua_Error tolua_err; 03511 if ( 03512 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03513 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03514 !tolua_isnoobj(tolua_S,3,&tolua_err) 03515 ) 03516 goto tolua_lerror; 03517 else 03518 #endif 03519 { 03520 fawkes::HumanoidMotionInterface::WalkMessage* self = (fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03521 const float new_theta = ((const float) tolua_tonumber(tolua_S,2,0)); 03522 #ifndef TOLUA_RELEASE 03523 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_theta'", NULL); 03524 #endif 03525 { 03526 self->set_theta(new_theta); 03527 } 03528 } 03529 return 0; 03530 #ifndef TOLUA_RELEASE 03531 tolua_lerror: 03532 tolua_error(tolua_S,"#ferror in function 'set_theta'.",&tolua_err); 03533 return 0; 03534 #endif 03535 } 03536 #endif //#ifndef TOLUA_DISABLE 03537 03538 /* method: maxlenof_theta of class WalkMessage */ 03539 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_maxlenof_theta00 03540 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_maxlenof_theta00(lua_State* tolua_S) 03541 { 03542 #ifndef TOLUA_RELEASE 03543 tolua_Error tolua_err; 03544 if ( 03545 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03546 !tolua_isnoobj(tolua_S,2,&tolua_err) 03547 ) 03548 goto tolua_lerror; 03549 else 03550 #endif 03551 { 03552 const fawkes::HumanoidMotionInterface::WalkMessage* self = (const fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03553 #ifndef TOLUA_RELEASE 03554 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_theta'", NULL); 03555 #endif 03556 { 03557 int tolua_ret = (int) self->maxlenof_theta(); 03558 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03559 } 03560 } 03561 return 1; 03562 #ifndef TOLUA_RELEASE 03563 tolua_lerror: 03564 tolua_error(tolua_S,"#ferror in function 'maxlenof_theta'.",&tolua_err); 03565 return 0; 03566 #endif 03567 } 03568 #endif //#ifndef TOLUA_DISABLE 03569 03570 /* method: speed of class WalkMessage */ 03571 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_speed00 03572 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_speed00(lua_State* tolua_S) 03573 { 03574 #ifndef TOLUA_RELEASE 03575 tolua_Error tolua_err; 03576 if ( 03577 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03578 !tolua_isnoobj(tolua_S,2,&tolua_err) 03579 ) 03580 goto tolua_lerror; 03581 else 03582 #endif 03583 { 03584 fawkes::HumanoidMotionInterface::WalkMessage* self = (fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03585 #ifndef TOLUA_RELEASE 03586 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'speed'", NULL); 03587 #endif 03588 { 03589 float tolua_ret = (float) self->speed(); 03590 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03591 } 03592 } 03593 return 1; 03594 #ifndef TOLUA_RELEASE 03595 tolua_lerror: 03596 tolua_error(tolua_S,"#ferror in function 'speed'.",&tolua_err); 03597 return 0; 03598 #endif 03599 } 03600 #endif //#ifndef TOLUA_DISABLE 03601 03602 /* method: set_speed of class WalkMessage */ 03603 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_set_speed00 03604 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_set_speed00(lua_State* tolua_S) 03605 { 03606 #ifndef TOLUA_RELEASE 03607 tolua_Error tolua_err; 03608 if ( 03609 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03610 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03611 !tolua_isnoobj(tolua_S,3,&tolua_err) 03612 ) 03613 goto tolua_lerror; 03614 else 03615 #endif 03616 { 03617 fawkes::HumanoidMotionInterface::WalkMessage* self = (fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03618 const float new_speed = ((const float) tolua_tonumber(tolua_S,2,0)); 03619 #ifndef TOLUA_RELEASE 03620 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_speed'", NULL); 03621 #endif 03622 { 03623 self->set_speed(new_speed); 03624 } 03625 } 03626 return 0; 03627 #ifndef TOLUA_RELEASE 03628 tolua_lerror: 03629 tolua_error(tolua_S,"#ferror in function 'set_speed'.",&tolua_err); 03630 return 0; 03631 #endif 03632 } 03633 #endif //#ifndef TOLUA_DISABLE 03634 03635 /* method: maxlenof_speed of class WalkMessage */ 03636 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_maxlenof_speed00 03637 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_maxlenof_speed00(lua_State* tolua_S) 03638 { 03639 #ifndef TOLUA_RELEASE 03640 tolua_Error tolua_err; 03641 if ( 03642 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::WalkMessage",0,&tolua_err) || 03643 !tolua_isnoobj(tolua_S,2,&tolua_err) 03644 ) 03645 goto tolua_lerror; 03646 else 03647 #endif 03648 { 03649 const fawkes::HumanoidMotionInterface::WalkMessage* self = (const fawkes::HumanoidMotionInterface::WalkMessage*) tolua_tousertype(tolua_S,1,0); 03650 #ifndef TOLUA_RELEASE 03651 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_speed'", NULL); 03652 #endif 03653 { 03654 int tolua_ret = (int) self->maxlenof_speed(); 03655 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03656 } 03657 } 03658 return 1; 03659 #ifndef TOLUA_RELEASE 03660 tolua_lerror: 03661 tolua_error(tolua_S,"#ferror in function 'maxlenof_speed'.",&tolua_err); 03662 return 0; 03663 #endif 03664 } 03665 #endif //#ifndef TOLUA_DISABLE 03666 03667 /* method: new of class TurnMessage */ 03668 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new00 03669 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new00(lua_State* tolua_S) 03670 { 03671 #ifndef TOLUA_RELEASE 03672 tolua_Error tolua_err; 03673 if ( 03674 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::TurnMessage",0,&tolua_err) || 03675 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03676 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 03677 !tolua_isnoobj(tolua_S,4,&tolua_err) 03678 ) 03679 goto tolua_lerror; 03680 else 03681 #endif 03682 { 03683 float ini_angle = ((float) tolua_tonumber(tolua_S,2,0)); 03684 unsigned int ini_num_samples = ((unsigned int) tolua_tonumber(tolua_S,3,0)); 03685 { 03686 fawkes::HumanoidMotionInterface::TurnMessage* tolua_ret = (fawkes::HumanoidMotionInterface::TurnMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::TurnMessage)(ini_angle,ini_num_samples)); 03687 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::TurnMessage"); 03688 } 03689 } 03690 return 1; 03691 #ifndef TOLUA_RELEASE 03692 tolua_lerror: 03693 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 03694 return 0; 03695 #endif 03696 } 03697 #endif //#ifndef TOLUA_DISABLE 03698 03699 /* method: new_local of class TurnMessage */ 03700 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new00_local 03701 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new00_local(lua_State* tolua_S) 03702 { 03703 #ifndef TOLUA_RELEASE 03704 tolua_Error tolua_err; 03705 if ( 03706 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::TurnMessage",0,&tolua_err) || 03707 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03708 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 03709 !tolua_isnoobj(tolua_S,4,&tolua_err) 03710 ) 03711 goto tolua_lerror; 03712 else 03713 #endif 03714 { 03715 float ini_angle = ((float) tolua_tonumber(tolua_S,2,0)); 03716 unsigned int ini_num_samples = ((unsigned int) tolua_tonumber(tolua_S,3,0)); 03717 { 03718 fawkes::HumanoidMotionInterface::TurnMessage* tolua_ret = (fawkes::HumanoidMotionInterface::TurnMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::TurnMessage)(ini_angle,ini_num_samples)); 03719 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::TurnMessage"); 03720 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 03721 } 03722 } 03723 return 1; 03724 #ifndef TOLUA_RELEASE 03725 tolua_lerror: 03726 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 03727 return 0; 03728 #endif 03729 } 03730 #endif //#ifndef TOLUA_DISABLE 03731 03732 /* method: new of class TurnMessage */ 03733 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new01 03734 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new01(lua_State* tolua_S) 03735 { 03736 tolua_Error tolua_err; 03737 if ( 03738 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::TurnMessage",0,&tolua_err) || 03739 !tolua_isnoobj(tolua_S,2,&tolua_err) 03740 ) 03741 goto tolua_lerror; 03742 else 03743 { 03744 { 03745 fawkes::HumanoidMotionInterface::TurnMessage* tolua_ret = (fawkes::HumanoidMotionInterface::TurnMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::TurnMessage)()); 03746 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::TurnMessage"); 03747 } 03748 } 03749 return 1; 03750 tolua_lerror: 03751 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new00(tolua_S); 03752 } 03753 #endif //#ifndef TOLUA_DISABLE 03754 03755 /* method: new_local of class TurnMessage */ 03756 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new01_local 03757 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new01_local(lua_State* tolua_S) 03758 { 03759 tolua_Error tolua_err; 03760 if ( 03761 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::TurnMessage",0,&tolua_err) || 03762 !tolua_isnoobj(tolua_S,2,&tolua_err) 03763 ) 03764 goto tolua_lerror; 03765 else 03766 { 03767 { 03768 fawkes::HumanoidMotionInterface::TurnMessage* tolua_ret = (fawkes::HumanoidMotionInterface::TurnMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::TurnMessage)()); 03769 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::TurnMessage"); 03770 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 03771 } 03772 } 03773 return 1; 03774 tolua_lerror: 03775 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new00_local(tolua_S); 03776 } 03777 #endif //#ifndef TOLUA_DISABLE 03778 03779 /* method: delete of class TurnMessage */ 03780 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_delete00 03781 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_delete00(lua_State* tolua_S) 03782 { 03783 #ifndef TOLUA_RELEASE 03784 tolua_Error tolua_err; 03785 if ( 03786 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::TurnMessage",0,&tolua_err) || 03787 !tolua_isnoobj(tolua_S,2,&tolua_err) 03788 ) 03789 goto tolua_lerror; 03790 else 03791 #endif 03792 { 03793 fawkes::HumanoidMotionInterface::TurnMessage* self = (fawkes::HumanoidMotionInterface::TurnMessage*) tolua_tousertype(tolua_S,1,0); 03794 #ifndef TOLUA_RELEASE 03795 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 03796 #endif 03797 Mtolua_delete(self); 03798 } 03799 return 0; 03800 #ifndef TOLUA_RELEASE 03801 tolua_lerror: 03802 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 03803 return 0; 03804 #endif 03805 } 03806 #endif //#ifndef TOLUA_DISABLE 03807 03808 /* method: angle of class TurnMessage */ 03809 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_angle00 03810 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_angle00(lua_State* tolua_S) 03811 { 03812 #ifndef TOLUA_RELEASE 03813 tolua_Error tolua_err; 03814 if ( 03815 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::TurnMessage",0,&tolua_err) || 03816 !tolua_isnoobj(tolua_S,2,&tolua_err) 03817 ) 03818 goto tolua_lerror; 03819 else 03820 #endif 03821 { 03822 fawkes::HumanoidMotionInterface::TurnMessage* self = (fawkes::HumanoidMotionInterface::TurnMessage*) tolua_tousertype(tolua_S,1,0); 03823 #ifndef TOLUA_RELEASE 03824 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'angle'", NULL); 03825 #endif 03826 { 03827 float tolua_ret = (float) self->angle(); 03828 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03829 } 03830 } 03831 return 1; 03832 #ifndef TOLUA_RELEASE 03833 tolua_lerror: 03834 tolua_error(tolua_S,"#ferror in function 'angle'.",&tolua_err); 03835 return 0; 03836 #endif 03837 } 03838 #endif //#ifndef TOLUA_DISABLE 03839 03840 /* method: set_angle of class TurnMessage */ 03841 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_set_angle00 03842 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_set_angle00(lua_State* tolua_S) 03843 { 03844 #ifndef TOLUA_RELEASE 03845 tolua_Error tolua_err; 03846 if ( 03847 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::TurnMessage",0,&tolua_err) || 03848 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03849 !tolua_isnoobj(tolua_S,3,&tolua_err) 03850 ) 03851 goto tolua_lerror; 03852 else 03853 #endif 03854 { 03855 fawkes::HumanoidMotionInterface::TurnMessage* self = (fawkes::HumanoidMotionInterface::TurnMessage*) tolua_tousertype(tolua_S,1,0); 03856 const float new_angle = ((const float) tolua_tonumber(tolua_S,2,0)); 03857 #ifndef TOLUA_RELEASE 03858 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_angle'", NULL); 03859 #endif 03860 { 03861 self->set_angle(new_angle); 03862 } 03863 } 03864 return 0; 03865 #ifndef TOLUA_RELEASE 03866 tolua_lerror: 03867 tolua_error(tolua_S,"#ferror in function 'set_angle'.",&tolua_err); 03868 return 0; 03869 #endif 03870 } 03871 #endif //#ifndef TOLUA_DISABLE 03872 03873 /* method: maxlenof_angle of class TurnMessage */ 03874 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_maxlenof_angle00 03875 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_maxlenof_angle00(lua_State* tolua_S) 03876 { 03877 #ifndef TOLUA_RELEASE 03878 tolua_Error tolua_err; 03879 if ( 03880 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::TurnMessage",0,&tolua_err) || 03881 !tolua_isnoobj(tolua_S,2,&tolua_err) 03882 ) 03883 goto tolua_lerror; 03884 else 03885 #endif 03886 { 03887 const fawkes::HumanoidMotionInterface::TurnMessage* self = (const fawkes::HumanoidMotionInterface::TurnMessage*) tolua_tousertype(tolua_S,1,0); 03888 #ifndef TOLUA_RELEASE 03889 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_angle'", NULL); 03890 #endif 03891 { 03892 int tolua_ret = (int) self->maxlenof_angle(); 03893 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03894 } 03895 } 03896 return 1; 03897 #ifndef TOLUA_RELEASE 03898 tolua_lerror: 03899 tolua_error(tolua_S,"#ferror in function 'maxlenof_angle'.",&tolua_err); 03900 return 0; 03901 #endif 03902 } 03903 #endif //#ifndef TOLUA_DISABLE 03904 03905 /* method: num_samples of class TurnMessage */ 03906 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_num_samples00 03907 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_num_samples00(lua_State* tolua_S) 03908 { 03909 #ifndef TOLUA_RELEASE 03910 tolua_Error tolua_err; 03911 if ( 03912 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::TurnMessage",0,&tolua_err) || 03913 !tolua_isnoobj(tolua_S,2,&tolua_err) 03914 ) 03915 goto tolua_lerror; 03916 else 03917 #endif 03918 { 03919 fawkes::HumanoidMotionInterface::TurnMessage* self = (fawkes::HumanoidMotionInterface::TurnMessage*) tolua_tousertype(tolua_S,1,0); 03920 #ifndef TOLUA_RELEASE 03921 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'num_samples'", NULL); 03922 #endif 03923 { 03924 unsigned int tolua_ret = (unsigned int) self->num_samples(); 03925 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03926 } 03927 } 03928 return 1; 03929 #ifndef TOLUA_RELEASE 03930 tolua_lerror: 03931 tolua_error(tolua_S,"#ferror in function 'num_samples'.",&tolua_err); 03932 return 0; 03933 #endif 03934 } 03935 #endif //#ifndef TOLUA_DISABLE 03936 03937 /* method: set_num_samples of class TurnMessage */ 03938 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_set_num_samples00 03939 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_set_num_samples00(lua_State* tolua_S) 03940 { 03941 #ifndef TOLUA_RELEASE 03942 tolua_Error tolua_err; 03943 if ( 03944 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::TurnMessage",0,&tolua_err) || 03945 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03946 !tolua_isnoobj(tolua_S,3,&tolua_err) 03947 ) 03948 goto tolua_lerror; 03949 else 03950 #endif 03951 { 03952 fawkes::HumanoidMotionInterface::TurnMessage* self = (fawkes::HumanoidMotionInterface::TurnMessage*) tolua_tousertype(tolua_S,1,0); 03953 unsigned const int new_num_samples = ((unsigned const int) tolua_tonumber(tolua_S,2,0)); 03954 #ifndef TOLUA_RELEASE 03955 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_num_samples'", NULL); 03956 #endif 03957 { 03958 self->set_num_samples(new_num_samples); 03959 } 03960 } 03961 return 0; 03962 #ifndef TOLUA_RELEASE 03963 tolua_lerror: 03964 tolua_error(tolua_S,"#ferror in function 'set_num_samples'.",&tolua_err); 03965 return 0; 03966 #endif 03967 } 03968 #endif //#ifndef TOLUA_DISABLE 03969 03970 /* method: maxlenof_num_samples of class TurnMessage */ 03971 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_maxlenof_num_samples00 03972 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_maxlenof_num_samples00(lua_State* tolua_S) 03973 { 03974 #ifndef TOLUA_RELEASE 03975 tolua_Error tolua_err; 03976 if ( 03977 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::TurnMessage",0,&tolua_err) || 03978 !tolua_isnoobj(tolua_S,2,&tolua_err) 03979 ) 03980 goto tolua_lerror; 03981 else 03982 #endif 03983 { 03984 const fawkes::HumanoidMotionInterface::TurnMessage* self = (const fawkes::HumanoidMotionInterface::TurnMessage*) tolua_tousertype(tolua_S,1,0); 03985 #ifndef TOLUA_RELEASE 03986 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_num_samples'", NULL); 03987 #endif 03988 { 03989 int tolua_ret = (int) self->maxlenof_num_samples(); 03990 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03991 } 03992 } 03993 return 1; 03994 #ifndef TOLUA_RELEASE 03995 tolua_lerror: 03996 tolua_error(tolua_S,"#ferror in function 'maxlenof_num_samples'.",&tolua_err); 03997 return 0; 03998 #endif 03999 } 04000 #endif //#ifndef TOLUA_DISABLE 04001 04002 /* method: new of class KickMessage */ 04003 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new00 04004 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new00(lua_State* tolua_S) 04005 { 04006 #ifndef TOLUA_RELEASE 04007 tolua_Error tolua_err; 04008 if ( 04009 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::KickMessage",0,&tolua_err) || 04010 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04011 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 04012 !tolua_isnoobj(tolua_S,4,&tolua_err) 04013 ) 04014 goto tolua_lerror; 04015 else 04016 #endif 04017 { 04018 fawkes::HumanoidMotionInterface::LegEnum ini_leg = ((fawkes::HumanoidMotionInterface::LegEnum) (int) tolua_tonumber(tolua_S,2,0)); 04019 float ini_strength = ((float) tolua_tonumber(tolua_S,3,0)); 04020 { 04021 fawkes::HumanoidMotionInterface::KickMessage* tolua_ret = (fawkes::HumanoidMotionInterface::KickMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::KickMessage)(ini_leg,ini_strength)); 04022 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::KickMessage"); 04023 } 04024 } 04025 return 1; 04026 #ifndef TOLUA_RELEASE 04027 tolua_lerror: 04028 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 04029 return 0; 04030 #endif 04031 } 04032 #endif //#ifndef TOLUA_DISABLE 04033 04034 /* method: new_local of class KickMessage */ 04035 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new00_local 04036 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new00_local(lua_State* tolua_S) 04037 { 04038 #ifndef TOLUA_RELEASE 04039 tolua_Error tolua_err; 04040 if ( 04041 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::KickMessage",0,&tolua_err) || 04042 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04043 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 04044 !tolua_isnoobj(tolua_S,4,&tolua_err) 04045 ) 04046 goto tolua_lerror; 04047 else 04048 #endif 04049 { 04050 fawkes::HumanoidMotionInterface::LegEnum ini_leg = ((fawkes::HumanoidMotionInterface::LegEnum) (int) tolua_tonumber(tolua_S,2,0)); 04051 float ini_strength = ((float) tolua_tonumber(tolua_S,3,0)); 04052 { 04053 fawkes::HumanoidMotionInterface::KickMessage* tolua_ret = (fawkes::HumanoidMotionInterface::KickMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::KickMessage)(ini_leg,ini_strength)); 04054 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::KickMessage"); 04055 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 04056 } 04057 } 04058 return 1; 04059 #ifndef TOLUA_RELEASE 04060 tolua_lerror: 04061 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 04062 return 0; 04063 #endif 04064 } 04065 #endif //#ifndef TOLUA_DISABLE 04066 04067 /* method: new of class KickMessage */ 04068 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new01 04069 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new01(lua_State* tolua_S) 04070 { 04071 tolua_Error tolua_err; 04072 if ( 04073 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::KickMessage",0,&tolua_err) || 04074 !tolua_isnoobj(tolua_S,2,&tolua_err) 04075 ) 04076 goto tolua_lerror; 04077 else 04078 { 04079 { 04080 fawkes::HumanoidMotionInterface::KickMessage* tolua_ret = (fawkes::HumanoidMotionInterface::KickMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::KickMessage)()); 04081 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::KickMessage"); 04082 } 04083 } 04084 return 1; 04085 tolua_lerror: 04086 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new00(tolua_S); 04087 } 04088 #endif //#ifndef TOLUA_DISABLE 04089 04090 /* method: new_local of class KickMessage */ 04091 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new01_local 04092 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new01_local(lua_State* tolua_S) 04093 { 04094 tolua_Error tolua_err; 04095 if ( 04096 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::KickMessage",0,&tolua_err) || 04097 !tolua_isnoobj(tolua_S,2,&tolua_err) 04098 ) 04099 goto tolua_lerror; 04100 else 04101 { 04102 { 04103 fawkes::HumanoidMotionInterface::KickMessage* tolua_ret = (fawkes::HumanoidMotionInterface::KickMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::KickMessage)()); 04104 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::KickMessage"); 04105 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 04106 } 04107 } 04108 return 1; 04109 tolua_lerror: 04110 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new00_local(tolua_S); 04111 } 04112 #endif //#ifndef TOLUA_DISABLE 04113 04114 /* method: delete of class KickMessage */ 04115 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_delete00 04116 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_delete00(lua_State* tolua_S) 04117 { 04118 #ifndef TOLUA_RELEASE 04119 tolua_Error tolua_err; 04120 if ( 04121 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::KickMessage",0,&tolua_err) || 04122 !tolua_isnoobj(tolua_S,2,&tolua_err) 04123 ) 04124 goto tolua_lerror; 04125 else 04126 #endif 04127 { 04128 fawkes::HumanoidMotionInterface::KickMessage* self = (fawkes::HumanoidMotionInterface::KickMessage*) tolua_tousertype(tolua_S,1,0); 04129 #ifndef TOLUA_RELEASE 04130 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 04131 #endif 04132 Mtolua_delete(self); 04133 } 04134 return 0; 04135 #ifndef TOLUA_RELEASE 04136 tolua_lerror: 04137 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 04138 return 0; 04139 #endif 04140 } 04141 #endif //#ifndef TOLUA_DISABLE 04142 04143 /* method: leg of class KickMessage */ 04144 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_leg00 04145 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_leg00(lua_State* tolua_S) 04146 { 04147 #ifndef TOLUA_RELEASE 04148 tolua_Error tolua_err; 04149 if ( 04150 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::KickMessage",0,&tolua_err) || 04151 !tolua_isnoobj(tolua_S,2,&tolua_err) 04152 ) 04153 goto tolua_lerror; 04154 else 04155 #endif 04156 { 04157 fawkes::HumanoidMotionInterface::KickMessage* self = (fawkes::HumanoidMotionInterface::KickMessage*) tolua_tousertype(tolua_S,1,0); 04158 #ifndef TOLUA_RELEASE 04159 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'leg'", NULL); 04160 #endif 04161 { 04162 fawkes::HumanoidMotionInterface::LegEnum tolua_ret = (fawkes::HumanoidMotionInterface::LegEnum) self->leg(); 04163 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04164 } 04165 } 04166 return 1; 04167 #ifndef TOLUA_RELEASE 04168 tolua_lerror: 04169 tolua_error(tolua_S,"#ferror in function 'leg'.",&tolua_err); 04170 return 0; 04171 #endif 04172 } 04173 #endif //#ifndef TOLUA_DISABLE 04174 04175 /* method: set_leg of class KickMessage */ 04176 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_set_leg00 04177 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_set_leg00(lua_State* tolua_S) 04178 { 04179 #ifndef TOLUA_RELEASE 04180 tolua_Error tolua_err; 04181 if ( 04182 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::KickMessage",0,&tolua_err) || 04183 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04184 !tolua_isnoobj(tolua_S,3,&tolua_err) 04185 ) 04186 goto tolua_lerror; 04187 else 04188 #endif 04189 { 04190 fawkes::HumanoidMotionInterface::KickMessage* self = (fawkes::HumanoidMotionInterface::KickMessage*) tolua_tousertype(tolua_S,1,0); 04191 const fawkes::HumanoidMotionInterface::LegEnum new_leg = ((const fawkes::HumanoidMotionInterface::LegEnum) (int) tolua_tonumber(tolua_S,2,0)); 04192 #ifndef TOLUA_RELEASE 04193 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_leg'", NULL); 04194 #endif 04195 { 04196 self->set_leg(new_leg); 04197 } 04198 } 04199 return 0; 04200 #ifndef TOLUA_RELEASE 04201 tolua_lerror: 04202 tolua_error(tolua_S,"#ferror in function 'set_leg'.",&tolua_err); 04203 return 0; 04204 #endif 04205 } 04206 #endif //#ifndef TOLUA_DISABLE 04207 04208 /* method: maxlenof_leg of class KickMessage */ 04209 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_maxlenof_leg00 04210 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_maxlenof_leg00(lua_State* tolua_S) 04211 { 04212 #ifndef TOLUA_RELEASE 04213 tolua_Error tolua_err; 04214 if ( 04215 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::KickMessage",0,&tolua_err) || 04216 !tolua_isnoobj(tolua_S,2,&tolua_err) 04217 ) 04218 goto tolua_lerror; 04219 else 04220 #endif 04221 { 04222 const fawkes::HumanoidMotionInterface::KickMessage* self = (const fawkes::HumanoidMotionInterface::KickMessage*) tolua_tousertype(tolua_S,1,0); 04223 #ifndef TOLUA_RELEASE 04224 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_leg'", NULL); 04225 #endif 04226 { 04227 int tolua_ret = (int) self->maxlenof_leg(); 04228 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04229 } 04230 } 04231 return 1; 04232 #ifndef TOLUA_RELEASE 04233 tolua_lerror: 04234 tolua_error(tolua_S,"#ferror in function 'maxlenof_leg'.",&tolua_err); 04235 return 0; 04236 #endif 04237 } 04238 #endif //#ifndef TOLUA_DISABLE 04239 04240 /* method: strength of class KickMessage */ 04241 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_strength00 04242 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_strength00(lua_State* tolua_S) 04243 { 04244 #ifndef TOLUA_RELEASE 04245 tolua_Error tolua_err; 04246 if ( 04247 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::KickMessage",0,&tolua_err) || 04248 !tolua_isnoobj(tolua_S,2,&tolua_err) 04249 ) 04250 goto tolua_lerror; 04251 else 04252 #endif 04253 { 04254 fawkes::HumanoidMotionInterface::KickMessage* self = (fawkes::HumanoidMotionInterface::KickMessage*) tolua_tousertype(tolua_S,1,0); 04255 #ifndef TOLUA_RELEASE 04256 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'strength'", NULL); 04257 #endif 04258 { 04259 float tolua_ret = (float) self->strength(); 04260 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04261 } 04262 } 04263 return 1; 04264 #ifndef TOLUA_RELEASE 04265 tolua_lerror: 04266 tolua_error(tolua_S,"#ferror in function 'strength'.",&tolua_err); 04267 return 0; 04268 #endif 04269 } 04270 #endif //#ifndef TOLUA_DISABLE 04271 04272 /* method: set_strength of class KickMessage */ 04273 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_set_strength00 04274 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_set_strength00(lua_State* tolua_S) 04275 { 04276 #ifndef TOLUA_RELEASE 04277 tolua_Error tolua_err; 04278 if ( 04279 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::KickMessage",0,&tolua_err) || 04280 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04281 !tolua_isnoobj(tolua_S,3,&tolua_err) 04282 ) 04283 goto tolua_lerror; 04284 else 04285 #endif 04286 { 04287 fawkes::HumanoidMotionInterface::KickMessage* self = (fawkes::HumanoidMotionInterface::KickMessage*) tolua_tousertype(tolua_S,1,0); 04288 const float new_strength = ((const float) tolua_tonumber(tolua_S,2,0)); 04289 #ifndef TOLUA_RELEASE 04290 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_strength'", NULL); 04291 #endif 04292 { 04293 self->set_strength(new_strength); 04294 } 04295 } 04296 return 0; 04297 #ifndef TOLUA_RELEASE 04298 tolua_lerror: 04299 tolua_error(tolua_S,"#ferror in function 'set_strength'.",&tolua_err); 04300 return 0; 04301 #endif 04302 } 04303 #endif //#ifndef TOLUA_DISABLE 04304 04305 /* method: maxlenof_strength of class KickMessage */ 04306 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_maxlenof_strength00 04307 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_maxlenof_strength00(lua_State* tolua_S) 04308 { 04309 #ifndef TOLUA_RELEASE 04310 tolua_Error tolua_err; 04311 if ( 04312 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::KickMessage",0,&tolua_err) || 04313 !tolua_isnoobj(tolua_S,2,&tolua_err) 04314 ) 04315 goto tolua_lerror; 04316 else 04317 #endif 04318 { 04319 const fawkes::HumanoidMotionInterface::KickMessage* self = (const fawkes::HumanoidMotionInterface::KickMessage*) tolua_tousertype(tolua_S,1,0); 04320 #ifndef TOLUA_RELEASE 04321 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_strength'", NULL); 04322 #endif 04323 { 04324 int tolua_ret = (int) self->maxlenof_strength(); 04325 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04326 } 04327 } 04328 return 1; 04329 #ifndef TOLUA_RELEASE 04330 tolua_lerror: 04331 tolua_error(tolua_S,"#ferror in function 'maxlenof_strength'.",&tolua_err); 04332 return 0; 04333 #endif 04334 } 04335 #endif //#ifndef TOLUA_DISABLE 04336 04337 /* method: new of class ParkMessage */ 04338 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new00 04339 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new00(lua_State* tolua_S) 04340 { 04341 #ifndef TOLUA_RELEASE 04342 tolua_Error tolua_err; 04343 if ( 04344 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::ParkMessage",0,&tolua_err) || 04345 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04346 !tolua_isnoobj(tolua_S,3,&tolua_err) 04347 ) 04348 goto tolua_lerror; 04349 else 04350 #endif 04351 { 04352 float ini_time_sec = ((float) tolua_tonumber(tolua_S,2,0)); 04353 { 04354 fawkes::HumanoidMotionInterface::ParkMessage* tolua_ret = (fawkes::HumanoidMotionInterface::ParkMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::ParkMessage)(ini_time_sec)); 04355 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::ParkMessage"); 04356 } 04357 } 04358 return 1; 04359 #ifndef TOLUA_RELEASE 04360 tolua_lerror: 04361 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 04362 return 0; 04363 #endif 04364 } 04365 #endif //#ifndef TOLUA_DISABLE 04366 04367 /* method: new_local of class ParkMessage */ 04368 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new00_local 04369 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new00_local(lua_State* tolua_S) 04370 { 04371 #ifndef TOLUA_RELEASE 04372 tolua_Error tolua_err; 04373 if ( 04374 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::ParkMessage",0,&tolua_err) || 04375 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04376 !tolua_isnoobj(tolua_S,3,&tolua_err) 04377 ) 04378 goto tolua_lerror; 04379 else 04380 #endif 04381 { 04382 float ini_time_sec = ((float) tolua_tonumber(tolua_S,2,0)); 04383 { 04384 fawkes::HumanoidMotionInterface::ParkMessage* tolua_ret = (fawkes::HumanoidMotionInterface::ParkMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::ParkMessage)(ini_time_sec)); 04385 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::ParkMessage"); 04386 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 04387 } 04388 } 04389 return 1; 04390 #ifndef TOLUA_RELEASE 04391 tolua_lerror: 04392 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 04393 return 0; 04394 #endif 04395 } 04396 #endif //#ifndef TOLUA_DISABLE 04397 04398 /* method: new of class ParkMessage */ 04399 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new01 04400 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new01(lua_State* tolua_S) 04401 { 04402 tolua_Error tolua_err; 04403 if ( 04404 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::ParkMessage",0,&tolua_err) || 04405 !tolua_isnoobj(tolua_S,2,&tolua_err) 04406 ) 04407 goto tolua_lerror; 04408 else 04409 { 04410 { 04411 fawkes::HumanoidMotionInterface::ParkMessage* tolua_ret = (fawkes::HumanoidMotionInterface::ParkMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::ParkMessage)()); 04412 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::ParkMessage"); 04413 } 04414 } 04415 return 1; 04416 tolua_lerror: 04417 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new00(tolua_S); 04418 } 04419 #endif //#ifndef TOLUA_DISABLE 04420 04421 /* method: new_local of class ParkMessage */ 04422 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new01_local 04423 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new01_local(lua_State* tolua_S) 04424 { 04425 tolua_Error tolua_err; 04426 if ( 04427 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::ParkMessage",0,&tolua_err) || 04428 !tolua_isnoobj(tolua_S,2,&tolua_err) 04429 ) 04430 goto tolua_lerror; 04431 else 04432 { 04433 { 04434 fawkes::HumanoidMotionInterface::ParkMessage* tolua_ret = (fawkes::HumanoidMotionInterface::ParkMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::ParkMessage)()); 04435 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::ParkMessage"); 04436 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 04437 } 04438 } 04439 return 1; 04440 tolua_lerror: 04441 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new00_local(tolua_S); 04442 } 04443 #endif //#ifndef TOLUA_DISABLE 04444 04445 /* method: delete of class ParkMessage */ 04446 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_delete00 04447 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_delete00(lua_State* tolua_S) 04448 { 04449 #ifndef TOLUA_RELEASE 04450 tolua_Error tolua_err; 04451 if ( 04452 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::ParkMessage",0,&tolua_err) || 04453 !tolua_isnoobj(tolua_S,2,&tolua_err) 04454 ) 04455 goto tolua_lerror; 04456 else 04457 #endif 04458 { 04459 fawkes::HumanoidMotionInterface::ParkMessage* self = (fawkes::HumanoidMotionInterface::ParkMessage*) tolua_tousertype(tolua_S,1,0); 04460 #ifndef TOLUA_RELEASE 04461 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 04462 #endif 04463 Mtolua_delete(self); 04464 } 04465 return 0; 04466 #ifndef TOLUA_RELEASE 04467 tolua_lerror: 04468 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 04469 return 0; 04470 #endif 04471 } 04472 #endif //#ifndef TOLUA_DISABLE 04473 04474 /* method: time_sec of class ParkMessage */ 04475 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_time_sec00 04476 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_time_sec00(lua_State* tolua_S) 04477 { 04478 #ifndef TOLUA_RELEASE 04479 tolua_Error tolua_err; 04480 if ( 04481 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::ParkMessage",0,&tolua_err) || 04482 !tolua_isnoobj(tolua_S,2,&tolua_err) 04483 ) 04484 goto tolua_lerror; 04485 else 04486 #endif 04487 { 04488 fawkes::HumanoidMotionInterface::ParkMessage* self = (fawkes::HumanoidMotionInterface::ParkMessage*) tolua_tousertype(tolua_S,1,0); 04489 #ifndef TOLUA_RELEASE 04490 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'time_sec'", NULL); 04491 #endif 04492 { 04493 float tolua_ret = (float) self->time_sec(); 04494 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04495 } 04496 } 04497 return 1; 04498 #ifndef TOLUA_RELEASE 04499 tolua_lerror: 04500 tolua_error(tolua_S,"#ferror in function 'time_sec'.",&tolua_err); 04501 return 0; 04502 #endif 04503 } 04504 #endif //#ifndef TOLUA_DISABLE 04505 04506 /* method: set_time_sec of class ParkMessage */ 04507 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_set_time_sec00 04508 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_set_time_sec00(lua_State* tolua_S) 04509 { 04510 #ifndef TOLUA_RELEASE 04511 tolua_Error tolua_err; 04512 if ( 04513 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::ParkMessage",0,&tolua_err) || 04514 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04515 !tolua_isnoobj(tolua_S,3,&tolua_err) 04516 ) 04517 goto tolua_lerror; 04518 else 04519 #endif 04520 { 04521 fawkes::HumanoidMotionInterface::ParkMessage* self = (fawkes::HumanoidMotionInterface::ParkMessage*) tolua_tousertype(tolua_S,1,0); 04522 const float new_time_sec = ((const float) tolua_tonumber(tolua_S,2,0)); 04523 #ifndef TOLUA_RELEASE 04524 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_time_sec'", NULL); 04525 #endif 04526 { 04527 self->set_time_sec(new_time_sec); 04528 } 04529 } 04530 return 0; 04531 #ifndef TOLUA_RELEASE 04532 tolua_lerror: 04533 tolua_error(tolua_S,"#ferror in function 'set_time_sec'.",&tolua_err); 04534 return 0; 04535 #endif 04536 } 04537 #endif //#ifndef TOLUA_DISABLE 04538 04539 /* method: maxlenof_time_sec of class ParkMessage */ 04540 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_maxlenof_time_sec00 04541 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_maxlenof_time_sec00(lua_State* tolua_S) 04542 { 04543 #ifndef TOLUA_RELEASE 04544 tolua_Error tolua_err; 04545 if ( 04546 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::ParkMessage",0,&tolua_err) || 04547 !tolua_isnoobj(tolua_S,2,&tolua_err) 04548 ) 04549 goto tolua_lerror; 04550 else 04551 #endif 04552 { 04553 const fawkes::HumanoidMotionInterface::ParkMessage* self = (const fawkes::HumanoidMotionInterface::ParkMessage*) tolua_tousertype(tolua_S,1,0); 04554 #ifndef TOLUA_RELEASE 04555 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_time_sec'", NULL); 04556 #endif 04557 { 04558 int tolua_ret = (int) self->maxlenof_time_sec(); 04559 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04560 } 04561 } 04562 return 1; 04563 #ifndef TOLUA_RELEASE 04564 tolua_lerror: 04565 tolua_error(tolua_S,"#ferror in function 'maxlenof_time_sec'.",&tolua_err); 04566 return 0; 04567 #endif 04568 } 04569 #endif //#ifndef TOLUA_DISABLE 04570 04571 /* method: new of class GetUpMessage */ 04572 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new00 04573 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new00(lua_State* tolua_S) 04574 { 04575 #ifndef TOLUA_RELEASE 04576 tolua_Error tolua_err; 04577 if ( 04578 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::GetUpMessage",0,&tolua_err) || 04579 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04580 !tolua_isnoobj(tolua_S,3,&tolua_err) 04581 ) 04582 goto tolua_lerror; 04583 else 04584 #endif 04585 { 04586 float ini_time_sec = ((float) tolua_tonumber(tolua_S,2,0)); 04587 { 04588 fawkes::HumanoidMotionInterface::GetUpMessage* tolua_ret = (fawkes::HumanoidMotionInterface::GetUpMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::GetUpMessage)(ini_time_sec)); 04589 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::GetUpMessage"); 04590 } 04591 } 04592 return 1; 04593 #ifndef TOLUA_RELEASE 04594 tolua_lerror: 04595 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 04596 return 0; 04597 #endif 04598 } 04599 #endif //#ifndef TOLUA_DISABLE 04600 04601 /* method: new_local of class GetUpMessage */ 04602 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new00_local 04603 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new00_local(lua_State* tolua_S) 04604 { 04605 #ifndef TOLUA_RELEASE 04606 tolua_Error tolua_err; 04607 if ( 04608 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::GetUpMessage",0,&tolua_err) || 04609 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04610 !tolua_isnoobj(tolua_S,3,&tolua_err) 04611 ) 04612 goto tolua_lerror; 04613 else 04614 #endif 04615 { 04616 float ini_time_sec = ((float) tolua_tonumber(tolua_S,2,0)); 04617 { 04618 fawkes::HumanoidMotionInterface::GetUpMessage* tolua_ret = (fawkes::HumanoidMotionInterface::GetUpMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::GetUpMessage)(ini_time_sec)); 04619 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::GetUpMessage"); 04620 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 04621 } 04622 } 04623 return 1; 04624 #ifndef TOLUA_RELEASE 04625 tolua_lerror: 04626 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 04627 return 0; 04628 #endif 04629 } 04630 #endif //#ifndef TOLUA_DISABLE 04631 04632 /* method: new of class GetUpMessage */ 04633 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new01 04634 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new01(lua_State* tolua_S) 04635 { 04636 tolua_Error tolua_err; 04637 if ( 04638 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::GetUpMessage",0,&tolua_err) || 04639 !tolua_isnoobj(tolua_S,2,&tolua_err) 04640 ) 04641 goto tolua_lerror; 04642 else 04643 { 04644 { 04645 fawkes::HumanoidMotionInterface::GetUpMessage* tolua_ret = (fawkes::HumanoidMotionInterface::GetUpMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::GetUpMessage)()); 04646 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::GetUpMessage"); 04647 } 04648 } 04649 return 1; 04650 tolua_lerror: 04651 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new00(tolua_S); 04652 } 04653 #endif //#ifndef TOLUA_DISABLE 04654 04655 /* method: new_local of class GetUpMessage */ 04656 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new01_local 04657 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new01_local(lua_State* tolua_S) 04658 { 04659 tolua_Error tolua_err; 04660 if ( 04661 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::GetUpMessage",0,&tolua_err) || 04662 !tolua_isnoobj(tolua_S,2,&tolua_err) 04663 ) 04664 goto tolua_lerror; 04665 else 04666 { 04667 { 04668 fawkes::HumanoidMotionInterface::GetUpMessage* tolua_ret = (fawkes::HumanoidMotionInterface::GetUpMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::GetUpMessage)()); 04669 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::GetUpMessage"); 04670 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 04671 } 04672 } 04673 return 1; 04674 tolua_lerror: 04675 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new00_local(tolua_S); 04676 } 04677 #endif //#ifndef TOLUA_DISABLE 04678 04679 /* method: delete of class GetUpMessage */ 04680 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_delete00 04681 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_delete00(lua_State* tolua_S) 04682 { 04683 #ifndef TOLUA_RELEASE 04684 tolua_Error tolua_err; 04685 if ( 04686 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::GetUpMessage",0,&tolua_err) || 04687 !tolua_isnoobj(tolua_S,2,&tolua_err) 04688 ) 04689 goto tolua_lerror; 04690 else 04691 #endif 04692 { 04693 fawkes::HumanoidMotionInterface::GetUpMessage* self = (fawkes::HumanoidMotionInterface::GetUpMessage*) tolua_tousertype(tolua_S,1,0); 04694 #ifndef TOLUA_RELEASE 04695 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 04696 #endif 04697 Mtolua_delete(self); 04698 } 04699 return 0; 04700 #ifndef TOLUA_RELEASE 04701 tolua_lerror: 04702 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 04703 return 0; 04704 #endif 04705 } 04706 #endif //#ifndef TOLUA_DISABLE 04707 04708 /* method: time_sec of class GetUpMessage */ 04709 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_time_sec00 04710 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_time_sec00(lua_State* tolua_S) 04711 { 04712 #ifndef TOLUA_RELEASE 04713 tolua_Error tolua_err; 04714 if ( 04715 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::GetUpMessage",0,&tolua_err) || 04716 !tolua_isnoobj(tolua_S,2,&tolua_err) 04717 ) 04718 goto tolua_lerror; 04719 else 04720 #endif 04721 { 04722 fawkes::HumanoidMotionInterface::GetUpMessage* self = (fawkes::HumanoidMotionInterface::GetUpMessage*) tolua_tousertype(tolua_S,1,0); 04723 #ifndef TOLUA_RELEASE 04724 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'time_sec'", NULL); 04725 #endif 04726 { 04727 float tolua_ret = (float) self->time_sec(); 04728 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04729 } 04730 } 04731 return 1; 04732 #ifndef TOLUA_RELEASE 04733 tolua_lerror: 04734 tolua_error(tolua_S,"#ferror in function 'time_sec'.",&tolua_err); 04735 return 0; 04736 #endif 04737 } 04738 #endif //#ifndef TOLUA_DISABLE 04739 04740 /* method: set_time_sec of class GetUpMessage */ 04741 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_set_time_sec00 04742 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_set_time_sec00(lua_State* tolua_S) 04743 { 04744 #ifndef TOLUA_RELEASE 04745 tolua_Error tolua_err; 04746 if ( 04747 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::GetUpMessage",0,&tolua_err) || 04748 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04749 !tolua_isnoobj(tolua_S,3,&tolua_err) 04750 ) 04751 goto tolua_lerror; 04752 else 04753 #endif 04754 { 04755 fawkes::HumanoidMotionInterface::GetUpMessage* self = (fawkes::HumanoidMotionInterface::GetUpMessage*) tolua_tousertype(tolua_S,1,0); 04756 const float new_time_sec = ((const float) tolua_tonumber(tolua_S,2,0)); 04757 #ifndef TOLUA_RELEASE 04758 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_time_sec'", NULL); 04759 #endif 04760 { 04761 self->set_time_sec(new_time_sec); 04762 } 04763 } 04764 return 0; 04765 #ifndef TOLUA_RELEASE 04766 tolua_lerror: 04767 tolua_error(tolua_S,"#ferror in function 'set_time_sec'.",&tolua_err); 04768 return 0; 04769 #endif 04770 } 04771 #endif //#ifndef TOLUA_DISABLE 04772 04773 /* method: maxlenof_time_sec of class GetUpMessage */ 04774 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_maxlenof_time_sec00 04775 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_maxlenof_time_sec00(lua_State* tolua_S) 04776 { 04777 #ifndef TOLUA_RELEASE 04778 tolua_Error tolua_err; 04779 if ( 04780 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::GetUpMessage",0,&tolua_err) || 04781 !tolua_isnoobj(tolua_S,2,&tolua_err) 04782 ) 04783 goto tolua_lerror; 04784 else 04785 #endif 04786 { 04787 const fawkes::HumanoidMotionInterface::GetUpMessage* self = (const fawkes::HumanoidMotionInterface::GetUpMessage*) tolua_tousertype(tolua_S,1,0); 04788 #ifndef TOLUA_RELEASE 04789 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_time_sec'", NULL); 04790 #endif 04791 { 04792 int tolua_ret = (int) self->maxlenof_time_sec(); 04793 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04794 } 04795 } 04796 return 1; 04797 #ifndef TOLUA_RELEASE 04798 tolua_lerror: 04799 tolua_error(tolua_S,"#ferror in function 'maxlenof_time_sec'.",&tolua_err); 04800 return 0; 04801 #endif 04802 } 04803 #endif //#ifndef TOLUA_DISABLE 04804 04805 /* method: new of class StandupMessage */ 04806 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new00 04807 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new00(lua_State* tolua_S) 04808 { 04809 #ifndef TOLUA_RELEASE 04810 tolua_Error tolua_err; 04811 if ( 04812 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::StandupMessage",0,&tolua_err) || 04813 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04814 !tolua_isnoobj(tolua_S,3,&tolua_err) 04815 ) 04816 goto tolua_lerror; 04817 else 04818 #endif 04819 { 04820 fawkes::HumanoidMotionInterface::StandupEnum ini_from_pos = ((fawkes::HumanoidMotionInterface::StandupEnum) (int) tolua_tonumber(tolua_S,2,0)); 04821 { 04822 fawkes::HumanoidMotionInterface::StandupMessage* tolua_ret = (fawkes::HumanoidMotionInterface::StandupMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::StandupMessage)(ini_from_pos)); 04823 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::StandupMessage"); 04824 } 04825 } 04826 return 1; 04827 #ifndef TOLUA_RELEASE 04828 tolua_lerror: 04829 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 04830 return 0; 04831 #endif 04832 } 04833 #endif //#ifndef TOLUA_DISABLE 04834 04835 /* method: new_local of class StandupMessage */ 04836 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new00_local 04837 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new00_local(lua_State* tolua_S) 04838 { 04839 #ifndef TOLUA_RELEASE 04840 tolua_Error tolua_err; 04841 if ( 04842 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::StandupMessage",0,&tolua_err) || 04843 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04844 !tolua_isnoobj(tolua_S,3,&tolua_err) 04845 ) 04846 goto tolua_lerror; 04847 else 04848 #endif 04849 { 04850 fawkes::HumanoidMotionInterface::StandupEnum ini_from_pos = ((fawkes::HumanoidMotionInterface::StandupEnum) (int) tolua_tonumber(tolua_S,2,0)); 04851 { 04852 fawkes::HumanoidMotionInterface::StandupMessage* tolua_ret = (fawkes::HumanoidMotionInterface::StandupMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::StandupMessage)(ini_from_pos)); 04853 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::StandupMessage"); 04854 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 04855 } 04856 } 04857 return 1; 04858 #ifndef TOLUA_RELEASE 04859 tolua_lerror: 04860 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 04861 return 0; 04862 #endif 04863 } 04864 #endif //#ifndef TOLUA_DISABLE 04865 04866 /* method: new of class StandupMessage */ 04867 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new01 04868 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new01(lua_State* tolua_S) 04869 { 04870 tolua_Error tolua_err; 04871 if ( 04872 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::StandupMessage",0,&tolua_err) || 04873 !tolua_isnoobj(tolua_S,2,&tolua_err) 04874 ) 04875 goto tolua_lerror; 04876 else 04877 { 04878 { 04879 fawkes::HumanoidMotionInterface::StandupMessage* tolua_ret = (fawkes::HumanoidMotionInterface::StandupMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::StandupMessage)()); 04880 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::StandupMessage"); 04881 } 04882 } 04883 return 1; 04884 tolua_lerror: 04885 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new00(tolua_S); 04886 } 04887 #endif //#ifndef TOLUA_DISABLE 04888 04889 /* method: new_local of class StandupMessage */ 04890 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new01_local 04891 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new01_local(lua_State* tolua_S) 04892 { 04893 tolua_Error tolua_err; 04894 if ( 04895 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::StandupMessage",0,&tolua_err) || 04896 !tolua_isnoobj(tolua_S,2,&tolua_err) 04897 ) 04898 goto tolua_lerror; 04899 else 04900 { 04901 { 04902 fawkes::HumanoidMotionInterface::StandupMessage* tolua_ret = (fawkes::HumanoidMotionInterface::StandupMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::StandupMessage)()); 04903 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::StandupMessage"); 04904 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 04905 } 04906 } 04907 return 1; 04908 tolua_lerror: 04909 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new00_local(tolua_S); 04910 } 04911 #endif //#ifndef TOLUA_DISABLE 04912 04913 /* method: delete of class StandupMessage */ 04914 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_delete00 04915 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_delete00(lua_State* tolua_S) 04916 { 04917 #ifndef TOLUA_RELEASE 04918 tolua_Error tolua_err; 04919 if ( 04920 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::StandupMessage",0,&tolua_err) || 04921 !tolua_isnoobj(tolua_S,2,&tolua_err) 04922 ) 04923 goto tolua_lerror; 04924 else 04925 #endif 04926 { 04927 fawkes::HumanoidMotionInterface::StandupMessage* self = (fawkes::HumanoidMotionInterface::StandupMessage*) tolua_tousertype(tolua_S,1,0); 04928 #ifndef TOLUA_RELEASE 04929 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 04930 #endif 04931 Mtolua_delete(self); 04932 } 04933 return 0; 04934 #ifndef TOLUA_RELEASE 04935 tolua_lerror: 04936 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 04937 return 0; 04938 #endif 04939 } 04940 #endif //#ifndef TOLUA_DISABLE 04941 04942 /* method: from_pos of class StandupMessage */ 04943 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_from_pos00 04944 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_from_pos00(lua_State* tolua_S) 04945 { 04946 #ifndef TOLUA_RELEASE 04947 tolua_Error tolua_err; 04948 if ( 04949 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::StandupMessage",0,&tolua_err) || 04950 !tolua_isnoobj(tolua_S,2,&tolua_err) 04951 ) 04952 goto tolua_lerror; 04953 else 04954 #endif 04955 { 04956 fawkes::HumanoidMotionInterface::StandupMessage* self = (fawkes::HumanoidMotionInterface::StandupMessage*) tolua_tousertype(tolua_S,1,0); 04957 #ifndef TOLUA_RELEASE 04958 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'from_pos'", NULL); 04959 #endif 04960 { 04961 fawkes::HumanoidMotionInterface::StandupEnum tolua_ret = (fawkes::HumanoidMotionInterface::StandupEnum) self->from_pos(); 04962 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04963 } 04964 } 04965 return 1; 04966 #ifndef TOLUA_RELEASE 04967 tolua_lerror: 04968 tolua_error(tolua_S,"#ferror in function 'from_pos'.",&tolua_err); 04969 return 0; 04970 #endif 04971 } 04972 #endif //#ifndef TOLUA_DISABLE 04973 04974 /* method: set_from_pos of class StandupMessage */ 04975 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_set_from_pos00 04976 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_set_from_pos00(lua_State* tolua_S) 04977 { 04978 #ifndef TOLUA_RELEASE 04979 tolua_Error tolua_err; 04980 if ( 04981 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::StandupMessage",0,&tolua_err) || 04982 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04983 !tolua_isnoobj(tolua_S,3,&tolua_err) 04984 ) 04985 goto tolua_lerror; 04986 else 04987 #endif 04988 { 04989 fawkes::HumanoidMotionInterface::StandupMessage* self = (fawkes::HumanoidMotionInterface::StandupMessage*) tolua_tousertype(tolua_S,1,0); 04990 const fawkes::HumanoidMotionInterface::StandupEnum new_from_pos = ((const fawkes::HumanoidMotionInterface::StandupEnum) (int) tolua_tonumber(tolua_S,2,0)); 04991 #ifndef TOLUA_RELEASE 04992 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_from_pos'", NULL); 04993 #endif 04994 { 04995 self->set_from_pos(new_from_pos); 04996 } 04997 } 04998 return 0; 04999 #ifndef TOLUA_RELEASE 05000 tolua_lerror: 05001 tolua_error(tolua_S,"#ferror in function 'set_from_pos'.",&tolua_err); 05002 return 0; 05003 #endif 05004 } 05005 #endif //#ifndef TOLUA_DISABLE 05006 05007 /* method: maxlenof_from_pos of class StandupMessage */ 05008 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_maxlenof_from_pos00 05009 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_maxlenof_from_pos00(lua_State* tolua_S) 05010 { 05011 #ifndef TOLUA_RELEASE 05012 tolua_Error tolua_err; 05013 if ( 05014 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::StandupMessage",0,&tolua_err) || 05015 !tolua_isnoobj(tolua_S,2,&tolua_err) 05016 ) 05017 goto tolua_lerror; 05018 else 05019 #endif 05020 { 05021 const fawkes::HumanoidMotionInterface::StandupMessage* self = (const fawkes::HumanoidMotionInterface::StandupMessage*) tolua_tousertype(tolua_S,1,0); 05022 #ifndef TOLUA_RELEASE 05023 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_from_pos'", NULL); 05024 #endif 05025 { 05026 int tolua_ret = (int) self->maxlenof_from_pos(); 05027 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05028 } 05029 } 05030 return 1; 05031 #ifndef TOLUA_RELEASE 05032 tolua_lerror: 05033 tolua_error(tolua_S,"#ferror in function 'maxlenof_from_pos'.",&tolua_err); 05034 return 0; 05035 #endif 05036 } 05037 #endif //#ifndef TOLUA_DISABLE 05038 05039 /* method: new of class YawPitchHeadMessage */ 05040 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new00 05041 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new00(lua_State* tolua_S) 05042 { 05043 #ifndef TOLUA_RELEASE 05044 tolua_Error tolua_err; 05045 if ( 05046 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05047 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05048 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 05049 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 05050 !tolua_isnoobj(tolua_S,5,&tolua_err) 05051 ) 05052 goto tolua_lerror; 05053 else 05054 #endif 05055 { 05056 float ini_yaw = ((float) tolua_tonumber(tolua_S,2,0)); 05057 float ini_pitch = ((float) tolua_tonumber(tolua_S,3,0)); 05058 float ini_time_sec = ((float) tolua_tonumber(tolua_S,4,0)); 05059 { 05060 fawkes::HumanoidMotionInterface::YawPitchHeadMessage* tolua_ret = (fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::YawPitchHeadMessage)(ini_yaw,ini_pitch,ini_time_sec)); 05061 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage"); 05062 } 05063 } 05064 return 1; 05065 #ifndef TOLUA_RELEASE 05066 tolua_lerror: 05067 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 05068 return 0; 05069 #endif 05070 } 05071 #endif //#ifndef TOLUA_DISABLE 05072 05073 /* method: new_local of class YawPitchHeadMessage */ 05074 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new00_local 05075 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new00_local(lua_State* tolua_S) 05076 { 05077 #ifndef TOLUA_RELEASE 05078 tolua_Error tolua_err; 05079 if ( 05080 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05081 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05082 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 05083 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 05084 !tolua_isnoobj(tolua_S,5,&tolua_err) 05085 ) 05086 goto tolua_lerror; 05087 else 05088 #endif 05089 { 05090 float ini_yaw = ((float) tolua_tonumber(tolua_S,2,0)); 05091 float ini_pitch = ((float) tolua_tonumber(tolua_S,3,0)); 05092 float ini_time_sec = ((float) tolua_tonumber(tolua_S,4,0)); 05093 { 05094 fawkes::HumanoidMotionInterface::YawPitchHeadMessage* tolua_ret = (fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::YawPitchHeadMessage)(ini_yaw,ini_pitch,ini_time_sec)); 05095 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage"); 05096 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 05097 } 05098 } 05099 return 1; 05100 #ifndef TOLUA_RELEASE 05101 tolua_lerror: 05102 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 05103 return 0; 05104 #endif 05105 } 05106 #endif //#ifndef TOLUA_DISABLE 05107 05108 /* method: new of class YawPitchHeadMessage */ 05109 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new01 05110 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new01(lua_State* tolua_S) 05111 { 05112 tolua_Error tolua_err; 05113 if ( 05114 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05115 !tolua_isnoobj(tolua_S,2,&tolua_err) 05116 ) 05117 goto tolua_lerror; 05118 else 05119 { 05120 { 05121 fawkes::HumanoidMotionInterface::YawPitchHeadMessage* tolua_ret = (fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::YawPitchHeadMessage)()); 05122 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage"); 05123 } 05124 } 05125 return 1; 05126 tolua_lerror: 05127 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new00(tolua_S); 05128 } 05129 #endif //#ifndef TOLUA_DISABLE 05130 05131 /* method: new_local of class YawPitchHeadMessage */ 05132 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new01_local 05133 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new01_local(lua_State* tolua_S) 05134 { 05135 tolua_Error tolua_err; 05136 if ( 05137 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05138 !tolua_isnoobj(tolua_S,2,&tolua_err) 05139 ) 05140 goto tolua_lerror; 05141 else 05142 { 05143 { 05144 fawkes::HumanoidMotionInterface::YawPitchHeadMessage* tolua_ret = (fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::YawPitchHeadMessage)()); 05145 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage"); 05146 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 05147 } 05148 } 05149 return 1; 05150 tolua_lerror: 05151 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new00_local(tolua_S); 05152 } 05153 #endif //#ifndef TOLUA_DISABLE 05154 05155 /* method: delete of class YawPitchHeadMessage */ 05156 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_delete00 05157 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_delete00(lua_State* tolua_S) 05158 { 05159 #ifndef TOLUA_RELEASE 05160 tolua_Error tolua_err; 05161 if ( 05162 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05163 !tolua_isnoobj(tolua_S,2,&tolua_err) 05164 ) 05165 goto tolua_lerror; 05166 else 05167 #endif 05168 { 05169 fawkes::HumanoidMotionInterface::YawPitchHeadMessage* self = (fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) tolua_tousertype(tolua_S,1,0); 05170 #ifndef TOLUA_RELEASE 05171 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 05172 #endif 05173 Mtolua_delete(self); 05174 } 05175 return 0; 05176 #ifndef TOLUA_RELEASE 05177 tolua_lerror: 05178 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 05179 return 0; 05180 #endif 05181 } 05182 #endif //#ifndef TOLUA_DISABLE 05183 05184 /* method: yaw of class YawPitchHeadMessage */ 05185 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_yaw00 05186 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_yaw00(lua_State* tolua_S) 05187 { 05188 #ifndef TOLUA_RELEASE 05189 tolua_Error tolua_err; 05190 if ( 05191 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05192 !tolua_isnoobj(tolua_S,2,&tolua_err) 05193 ) 05194 goto tolua_lerror; 05195 else 05196 #endif 05197 { 05198 fawkes::HumanoidMotionInterface::YawPitchHeadMessage* self = (fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) tolua_tousertype(tolua_S,1,0); 05199 #ifndef TOLUA_RELEASE 05200 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'yaw'", NULL); 05201 #endif 05202 { 05203 float tolua_ret = (float) self->yaw(); 05204 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05205 } 05206 } 05207 return 1; 05208 #ifndef TOLUA_RELEASE 05209 tolua_lerror: 05210 tolua_error(tolua_S,"#ferror in function 'yaw'.",&tolua_err); 05211 return 0; 05212 #endif 05213 } 05214 #endif //#ifndef TOLUA_DISABLE 05215 05216 /* method: set_yaw of class YawPitchHeadMessage */ 05217 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_set_yaw00 05218 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_set_yaw00(lua_State* tolua_S) 05219 { 05220 #ifndef TOLUA_RELEASE 05221 tolua_Error tolua_err; 05222 if ( 05223 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05224 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05225 !tolua_isnoobj(tolua_S,3,&tolua_err) 05226 ) 05227 goto tolua_lerror; 05228 else 05229 #endif 05230 { 05231 fawkes::HumanoidMotionInterface::YawPitchHeadMessage* self = (fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) tolua_tousertype(tolua_S,1,0); 05232 const float new_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 05233 #ifndef TOLUA_RELEASE 05234 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_yaw'", NULL); 05235 #endif 05236 { 05237 self->set_yaw(new_yaw); 05238 } 05239 } 05240 return 0; 05241 #ifndef TOLUA_RELEASE 05242 tolua_lerror: 05243 tolua_error(tolua_S,"#ferror in function 'set_yaw'.",&tolua_err); 05244 return 0; 05245 #endif 05246 } 05247 #endif //#ifndef TOLUA_DISABLE 05248 05249 /* method: maxlenof_yaw of class YawPitchHeadMessage */ 05250 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_maxlenof_yaw00 05251 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_maxlenof_yaw00(lua_State* tolua_S) 05252 { 05253 #ifndef TOLUA_RELEASE 05254 tolua_Error tolua_err; 05255 if ( 05256 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05257 !tolua_isnoobj(tolua_S,2,&tolua_err) 05258 ) 05259 goto tolua_lerror; 05260 else 05261 #endif 05262 { 05263 const fawkes::HumanoidMotionInterface::YawPitchHeadMessage* self = (const fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) tolua_tousertype(tolua_S,1,0); 05264 #ifndef TOLUA_RELEASE 05265 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_yaw'", NULL); 05266 #endif 05267 { 05268 int tolua_ret = (int) self->maxlenof_yaw(); 05269 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05270 } 05271 } 05272 return 1; 05273 #ifndef TOLUA_RELEASE 05274 tolua_lerror: 05275 tolua_error(tolua_S,"#ferror in function 'maxlenof_yaw'.",&tolua_err); 05276 return 0; 05277 #endif 05278 } 05279 #endif //#ifndef TOLUA_DISABLE 05280 05281 /* method: pitch of class YawPitchHeadMessage */ 05282 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_pitch00 05283 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_pitch00(lua_State* tolua_S) 05284 { 05285 #ifndef TOLUA_RELEASE 05286 tolua_Error tolua_err; 05287 if ( 05288 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05289 !tolua_isnoobj(tolua_S,2,&tolua_err) 05290 ) 05291 goto tolua_lerror; 05292 else 05293 #endif 05294 { 05295 fawkes::HumanoidMotionInterface::YawPitchHeadMessage* self = (fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) tolua_tousertype(tolua_S,1,0); 05296 #ifndef TOLUA_RELEASE 05297 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'pitch'", NULL); 05298 #endif 05299 { 05300 float tolua_ret = (float) self->pitch(); 05301 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05302 } 05303 } 05304 return 1; 05305 #ifndef TOLUA_RELEASE 05306 tolua_lerror: 05307 tolua_error(tolua_S,"#ferror in function 'pitch'.",&tolua_err); 05308 return 0; 05309 #endif 05310 } 05311 #endif //#ifndef TOLUA_DISABLE 05312 05313 /* method: set_pitch of class YawPitchHeadMessage */ 05314 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_set_pitch00 05315 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_set_pitch00(lua_State* tolua_S) 05316 { 05317 #ifndef TOLUA_RELEASE 05318 tolua_Error tolua_err; 05319 if ( 05320 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05321 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05322 !tolua_isnoobj(tolua_S,3,&tolua_err) 05323 ) 05324 goto tolua_lerror; 05325 else 05326 #endif 05327 { 05328 fawkes::HumanoidMotionInterface::YawPitchHeadMessage* self = (fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) tolua_tousertype(tolua_S,1,0); 05329 const float new_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 05330 #ifndef TOLUA_RELEASE 05331 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_pitch'", NULL); 05332 #endif 05333 { 05334 self->set_pitch(new_pitch); 05335 } 05336 } 05337 return 0; 05338 #ifndef TOLUA_RELEASE 05339 tolua_lerror: 05340 tolua_error(tolua_S,"#ferror in function 'set_pitch'.",&tolua_err); 05341 return 0; 05342 #endif 05343 } 05344 #endif //#ifndef TOLUA_DISABLE 05345 05346 /* method: maxlenof_pitch of class YawPitchHeadMessage */ 05347 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_maxlenof_pitch00 05348 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_maxlenof_pitch00(lua_State* tolua_S) 05349 { 05350 #ifndef TOLUA_RELEASE 05351 tolua_Error tolua_err; 05352 if ( 05353 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05354 !tolua_isnoobj(tolua_S,2,&tolua_err) 05355 ) 05356 goto tolua_lerror; 05357 else 05358 #endif 05359 { 05360 const fawkes::HumanoidMotionInterface::YawPitchHeadMessage* self = (const fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) tolua_tousertype(tolua_S,1,0); 05361 #ifndef TOLUA_RELEASE 05362 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_pitch'", NULL); 05363 #endif 05364 { 05365 int tolua_ret = (int) self->maxlenof_pitch(); 05366 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05367 } 05368 } 05369 return 1; 05370 #ifndef TOLUA_RELEASE 05371 tolua_lerror: 05372 tolua_error(tolua_S,"#ferror in function 'maxlenof_pitch'.",&tolua_err); 05373 return 0; 05374 #endif 05375 } 05376 #endif //#ifndef TOLUA_DISABLE 05377 05378 /* method: time_sec of class YawPitchHeadMessage */ 05379 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_time_sec00 05380 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_time_sec00(lua_State* tolua_S) 05381 { 05382 #ifndef TOLUA_RELEASE 05383 tolua_Error tolua_err; 05384 if ( 05385 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05386 !tolua_isnoobj(tolua_S,2,&tolua_err) 05387 ) 05388 goto tolua_lerror; 05389 else 05390 #endif 05391 { 05392 fawkes::HumanoidMotionInterface::YawPitchHeadMessage* self = (fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) tolua_tousertype(tolua_S,1,0); 05393 #ifndef TOLUA_RELEASE 05394 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'time_sec'", NULL); 05395 #endif 05396 { 05397 float tolua_ret = (float) self->time_sec(); 05398 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05399 } 05400 } 05401 return 1; 05402 #ifndef TOLUA_RELEASE 05403 tolua_lerror: 05404 tolua_error(tolua_S,"#ferror in function 'time_sec'.",&tolua_err); 05405 return 0; 05406 #endif 05407 } 05408 #endif //#ifndef TOLUA_DISABLE 05409 05410 /* method: set_time_sec of class YawPitchHeadMessage */ 05411 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_set_time_sec00 05412 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_set_time_sec00(lua_State* tolua_S) 05413 { 05414 #ifndef TOLUA_RELEASE 05415 tolua_Error tolua_err; 05416 if ( 05417 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05418 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05419 !tolua_isnoobj(tolua_S,3,&tolua_err) 05420 ) 05421 goto tolua_lerror; 05422 else 05423 #endif 05424 { 05425 fawkes::HumanoidMotionInterface::YawPitchHeadMessage* self = (fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) tolua_tousertype(tolua_S,1,0); 05426 const float new_time_sec = ((const float) tolua_tonumber(tolua_S,2,0)); 05427 #ifndef TOLUA_RELEASE 05428 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_time_sec'", NULL); 05429 #endif 05430 { 05431 self->set_time_sec(new_time_sec); 05432 } 05433 } 05434 return 0; 05435 #ifndef TOLUA_RELEASE 05436 tolua_lerror: 05437 tolua_error(tolua_S,"#ferror in function 'set_time_sec'.",&tolua_err); 05438 return 0; 05439 #endif 05440 } 05441 #endif //#ifndef TOLUA_DISABLE 05442 05443 /* method: maxlenof_time_sec of class YawPitchHeadMessage */ 05444 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_maxlenof_time_sec00 05445 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_maxlenof_time_sec00(lua_State* tolua_S) 05446 { 05447 #ifndef TOLUA_RELEASE 05448 tolua_Error tolua_err; 05449 if ( 05450 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::YawPitchHeadMessage",0,&tolua_err) || 05451 !tolua_isnoobj(tolua_S,2,&tolua_err) 05452 ) 05453 goto tolua_lerror; 05454 else 05455 #endif 05456 { 05457 const fawkes::HumanoidMotionInterface::YawPitchHeadMessage* self = (const fawkes::HumanoidMotionInterface::YawPitchHeadMessage*) tolua_tousertype(tolua_S,1,0); 05458 #ifndef TOLUA_RELEASE 05459 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_time_sec'", NULL); 05460 #endif 05461 { 05462 int tolua_ret = (int) self->maxlenof_time_sec(); 05463 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05464 } 05465 } 05466 return 1; 05467 #ifndef TOLUA_RELEASE 05468 tolua_lerror: 05469 tolua_error(tolua_S,"#ferror in function 'maxlenof_time_sec'.",&tolua_err); 05470 return 0; 05471 #endif 05472 } 05473 #endif //#ifndef TOLUA_DISABLE 05474 05475 /* method: new of class SetStiffnessParamsMessage */ 05476 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new00 05477 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new00(lua_State* tolua_S) 05478 { 05479 #ifndef TOLUA_RELEASE 05480 tolua_Error tolua_err; 05481 if ( 05482 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05483 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05484 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 05485 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 05486 !tolua_isnumber(tolua_S,5,0,&tolua_err) || 05487 !tolua_isnumber(tolua_S,6,0,&tolua_err) || 05488 !tolua_isnumber(tolua_S,7,0,&tolua_err) || 05489 !tolua_isnumber(tolua_S,8,0,&tolua_err) || 05490 !tolua_isnumber(tolua_S,9,0,&tolua_err) || 05491 !tolua_isnumber(tolua_S,10,0,&tolua_err) || 05492 !tolua_isnumber(tolua_S,11,0,&tolua_err) || 05493 !tolua_isnumber(tolua_S,12,0,&tolua_err) || 05494 !tolua_isnumber(tolua_S,13,0,&tolua_err) || 05495 !tolua_isnumber(tolua_S,14,0,&tolua_err) || 05496 !tolua_isnumber(tolua_S,15,0,&tolua_err) || 05497 !tolua_isnumber(tolua_S,16,0,&tolua_err) || 05498 !tolua_isnumber(tolua_S,17,0,&tolua_err) || 05499 !tolua_isnumber(tolua_S,18,0,&tolua_err) || 05500 !tolua_isnumber(tolua_S,19,0,&tolua_err) || 05501 !tolua_isnumber(tolua_S,20,0,&tolua_err) || 05502 !tolua_isnumber(tolua_S,21,0,&tolua_err) || 05503 !tolua_isnumber(tolua_S,22,0,&tolua_err) || 05504 !tolua_isnumber(tolua_S,23,0,&tolua_err) || 05505 !tolua_isnumber(tolua_S,24,0,&tolua_err) || 05506 !tolua_isnoobj(tolua_S,25,&tolua_err) 05507 ) 05508 goto tolua_lerror; 05509 else 05510 #endif 05511 { 05512 fawkes::HumanoidMotionInterface::StiffnessMotionPatternEnum ini_motion_pattern = ((fawkes::HumanoidMotionInterface::StiffnessMotionPatternEnum) (int) tolua_tonumber(tolua_S,2,0)); 05513 float ini_head_yaw = ((float) tolua_tonumber(tolua_S,3,0)); 05514 float ini_head_pitch = ((float) tolua_tonumber(tolua_S,4,0)); 05515 float ini_l_shoulder_pitch = ((float) tolua_tonumber(tolua_S,5,0)); 05516 float ini_l_shoulder_roll = ((float) tolua_tonumber(tolua_S,6,0)); 05517 float ini_l_elbow_yaw = ((float) tolua_tonumber(tolua_S,7,0)); 05518 float ini_l_elbow_roll = ((float) tolua_tonumber(tolua_S,8,0)); 05519 float ini_l_hip_yaw_pitch = ((float) tolua_tonumber(tolua_S,9,0)); 05520 float ini_l_hip_roll = ((float) tolua_tonumber(tolua_S,10,0)); 05521 float ini_l_hip_pitch = ((float) tolua_tonumber(tolua_S,11,0)); 05522 float ini_l_knee_pitch = ((float) tolua_tonumber(tolua_S,12,0)); 05523 float ini_l_ankle_pitch = ((float) tolua_tonumber(tolua_S,13,0)); 05524 float ini_l_ankle_roll = ((float) tolua_tonumber(tolua_S,14,0)); 05525 float ini_r_hip_yaw_pitch = ((float) tolua_tonumber(tolua_S,15,0)); 05526 float ini_r_hip_roll = ((float) tolua_tonumber(tolua_S,16,0)); 05527 float ini_r_hip_pitch = ((float) tolua_tonumber(tolua_S,17,0)); 05528 float ini_r_knee_pitch = ((float) tolua_tonumber(tolua_S,18,0)); 05529 float ini_r_ankle_pitch = ((float) tolua_tonumber(tolua_S,19,0)); 05530 float ini_r_ankle_roll = ((float) tolua_tonumber(tolua_S,20,0)); 05531 float ini_r_shoulder_pitch = ((float) tolua_tonumber(tolua_S,21,0)); 05532 float ini_r_shoulder_roll = ((float) tolua_tonumber(tolua_S,22,0)); 05533 float ini_r_elbow_yaw = ((float) tolua_tonumber(tolua_S,23,0)); 05534 float ini_r_elbow_roll = ((float) tolua_tonumber(tolua_S,24,0)); 05535 { 05536 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* tolua_ret = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage)(ini_motion_pattern,ini_head_yaw,ini_head_pitch,ini_l_shoulder_pitch,ini_l_shoulder_roll,ini_l_elbow_yaw,ini_l_elbow_roll,ini_l_hip_yaw_pitch,ini_l_hip_roll,ini_l_hip_pitch,ini_l_knee_pitch,ini_l_ankle_pitch,ini_l_ankle_roll,ini_r_hip_yaw_pitch,ini_r_hip_roll,ini_r_hip_pitch,ini_r_knee_pitch,ini_r_ankle_pitch,ini_r_ankle_roll,ini_r_shoulder_pitch,ini_r_shoulder_roll,ini_r_elbow_yaw,ini_r_elbow_roll)); 05537 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage"); 05538 } 05539 } 05540 return 1; 05541 #ifndef TOLUA_RELEASE 05542 tolua_lerror: 05543 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 05544 return 0; 05545 #endif 05546 } 05547 #endif //#ifndef TOLUA_DISABLE 05548 05549 /* method: new_local of class SetStiffnessParamsMessage */ 05550 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new00_local 05551 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new00_local(lua_State* tolua_S) 05552 { 05553 #ifndef TOLUA_RELEASE 05554 tolua_Error tolua_err; 05555 if ( 05556 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05557 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05558 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 05559 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 05560 !tolua_isnumber(tolua_S,5,0,&tolua_err) || 05561 !tolua_isnumber(tolua_S,6,0,&tolua_err) || 05562 !tolua_isnumber(tolua_S,7,0,&tolua_err) || 05563 !tolua_isnumber(tolua_S,8,0,&tolua_err) || 05564 !tolua_isnumber(tolua_S,9,0,&tolua_err) || 05565 !tolua_isnumber(tolua_S,10,0,&tolua_err) || 05566 !tolua_isnumber(tolua_S,11,0,&tolua_err) || 05567 !tolua_isnumber(tolua_S,12,0,&tolua_err) || 05568 !tolua_isnumber(tolua_S,13,0,&tolua_err) || 05569 !tolua_isnumber(tolua_S,14,0,&tolua_err) || 05570 !tolua_isnumber(tolua_S,15,0,&tolua_err) || 05571 !tolua_isnumber(tolua_S,16,0,&tolua_err) || 05572 !tolua_isnumber(tolua_S,17,0,&tolua_err) || 05573 !tolua_isnumber(tolua_S,18,0,&tolua_err) || 05574 !tolua_isnumber(tolua_S,19,0,&tolua_err) || 05575 !tolua_isnumber(tolua_S,20,0,&tolua_err) || 05576 !tolua_isnumber(tolua_S,21,0,&tolua_err) || 05577 !tolua_isnumber(tolua_S,22,0,&tolua_err) || 05578 !tolua_isnumber(tolua_S,23,0,&tolua_err) || 05579 !tolua_isnumber(tolua_S,24,0,&tolua_err) || 05580 !tolua_isnoobj(tolua_S,25,&tolua_err) 05581 ) 05582 goto tolua_lerror; 05583 else 05584 #endif 05585 { 05586 fawkes::HumanoidMotionInterface::StiffnessMotionPatternEnum ini_motion_pattern = ((fawkes::HumanoidMotionInterface::StiffnessMotionPatternEnum) (int) tolua_tonumber(tolua_S,2,0)); 05587 float ini_head_yaw = ((float) tolua_tonumber(tolua_S,3,0)); 05588 float ini_head_pitch = ((float) tolua_tonumber(tolua_S,4,0)); 05589 float ini_l_shoulder_pitch = ((float) tolua_tonumber(tolua_S,5,0)); 05590 float ini_l_shoulder_roll = ((float) tolua_tonumber(tolua_S,6,0)); 05591 float ini_l_elbow_yaw = ((float) tolua_tonumber(tolua_S,7,0)); 05592 float ini_l_elbow_roll = ((float) tolua_tonumber(tolua_S,8,0)); 05593 float ini_l_hip_yaw_pitch = ((float) tolua_tonumber(tolua_S,9,0)); 05594 float ini_l_hip_roll = ((float) tolua_tonumber(tolua_S,10,0)); 05595 float ini_l_hip_pitch = ((float) tolua_tonumber(tolua_S,11,0)); 05596 float ini_l_knee_pitch = ((float) tolua_tonumber(tolua_S,12,0)); 05597 float ini_l_ankle_pitch = ((float) tolua_tonumber(tolua_S,13,0)); 05598 float ini_l_ankle_roll = ((float) tolua_tonumber(tolua_S,14,0)); 05599 float ini_r_hip_yaw_pitch = ((float) tolua_tonumber(tolua_S,15,0)); 05600 float ini_r_hip_roll = ((float) tolua_tonumber(tolua_S,16,0)); 05601 float ini_r_hip_pitch = ((float) tolua_tonumber(tolua_S,17,0)); 05602 float ini_r_knee_pitch = ((float) tolua_tonumber(tolua_S,18,0)); 05603 float ini_r_ankle_pitch = ((float) tolua_tonumber(tolua_S,19,0)); 05604 float ini_r_ankle_roll = ((float) tolua_tonumber(tolua_S,20,0)); 05605 float ini_r_shoulder_pitch = ((float) tolua_tonumber(tolua_S,21,0)); 05606 float ini_r_shoulder_roll = ((float) tolua_tonumber(tolua_S,22,0)); 05607 float ini_r_elbow_yaw = ((float) tolua_tonumber(tolua_S,23,0)); 05608 float ini_r_elbow_roll = ((float) tolua_tonumber(tolua_S,24,0)); 05609 { 05610 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* tolua_ret = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage)(ini_motion_pattern,ini_head_yaw,ini_head_pitch,ini_l_shoulder_pitch,ini_l_shoulder_roll,ini_l_elbow_yaw,ini_l_elbow_roll,ini_l_hip_yaw_pitch,ini_l_hip_roll,ini_l_hip_pitch,ini_l_knee_pitch,ini_l_ankle_pitch,ini_l_ankle_roll,ini_r_hip_yaw_pitch,ini_r_hip_roll,ini_r_hip_pitch,ini_r_knee_pitch,ini_r_ankle_pitch,ini_r_ankle_roll,ini_r_shoulder_pitch,ini_r_shoulder_roll,ini_r_elbow_yaw,ini_r_elbow_roll)); 05611 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage"); 05612 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 05613 } 05614 } 05615 return 1; 05616 #ifndef TOLUA_RELEASE 05617 tolua_lerror: 05618 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 05619 return 0; 05620 #endif 05621 } 05622 #endif //#ifndef TOLUA_DISABLE 05623 05624 /* method: new of class SetStiffnessParamsMessage */ 05625 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new01 05626 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new01(lua_State* tolua_S) 05627 { 05628 tolua_Error tolua_err; 05629 if ( 05630 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05631 !tolua_isnoobj(tolua_S,2,&tolua_err) 05632 ) 05633 goto tolua_lerror; 05634 else 05635 { 05636 { 05637 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* tolua_ret = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage)()); 05638 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage"); 05639 } 05640 } 05641 return 1; 05642 tolua_lerror: 05643 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new00(tolua_S); 05644 } 05645 #endif //#ifndef TOLUA_DISABLE 05646 05647 /* method: new_local of class SetStiffnessParamsMessage */ 05648 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new01_local 05649 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new01_local(lua_State* tolua_S) 05650 { 05651 tolua_Error tolua_err; 05652 if ( 05653 !tolua_isusertable(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05654 !tolua_isnoobj(tolua_S,2,&tolua_err) 05655 ) 05656 goto tolua_lerror; 05657 else 05658 { 05659 { 05660 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* tolua_ret = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) Mtolua_new((fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage)()); 05661 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage"); 05662 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 05663 } 05664 } 05665 return 1; 05666 tolua_lerror: 05667 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new00_local(tolua_S); 05668 } 05669 #endif //#ifndef TOLUA_DISABLE 05670 05671 /* method: delete of class SetStiffnessParamsMessage */ 05672 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_delete00 05673 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_delete00(lua_State* tolua_S) 05674 { 05675 #ifndef TOLUA_RELEASE 05676 tolua_Error tolua_err; 05677 if ( 05678 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05679 !tolua_isnoobj(tolua_S,2,&tolua_err) 05680 ) 05681 goto tolua_lerror; 05682 else 05683 #endif 05684 { 05685 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 05686 #ifndef TOLUA_RELEASE 05687 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 05688 #endif 05689 Mtolua_delete(self); 05690 } 05691 return 0; 05692 #ifndef TOLUA_RELEASE 05693 tolua_lerror: 05694 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 05695 return 0; 05696 #endif 05697 } 05698 #endif //#ifndef TOLUA_DISABLE 05699 05700 /* method: motion_pattern of class SetStiffnessParamsMessage */ 05701 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_motion_pattern00 05702 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_motion_pattern00(lua_State* tolua_S) 05703 { 05704 #ifndef TOLUA_RELEASE 05705 tolua_Error tolua_err; 05706 if ( 05707 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05708 !tolua_isnoobj(tolua_S,2,&tolua_err) 05709 ) 05710 goto tolua_lerror; 05711 else 05712 #endif 05713 { 05714 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 05715 #ifndef TOLUA_RELEASE 05716 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'motion_pattern'", NULL); 05717 #endif 05718 { 05719 fawkes::HumanoidMotionInterface::StiffnessMotionPatternEnum tolua_ret = (fawkes::HumanoidMotionInterface::StiffnessMotionPatternEnum) self->motion_pattern(); 05720 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05721 } 05722 } 05723 return 1; 05724 #ifndef TOLUA_RELEASE 05725 tolua_lerror: 05726 tolua_error(tolua_S,"#ferror in function 'motion_pattern'.",&tolua_err); 05727 return 0; 05728 #endif 05729 } 05730 #endif //#ifndef TOLUA_DISABLE 05731 05732 /* method: set_motion_pattern of class SetStiffnessParamsMessage */ 05733 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_motion_pattern00 05734 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_motion_pattern00(lua_State* tolua_S) 05735 { 05736 #ifndef TOLUA_RELEASE 05737 tolua_Error tolua_err; 05738 if ( 05739 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05740 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05741 !tolua_isnoobj(tolua_S,3,&tolua_err) 05742 ) 05743 goto tolua_lerror; 05744 else 05745 #endif 05746 { 05747 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 05748 const fawkes::HumanoidMotionInterface::StiffnessMotionPatternEnum new_motion_pattern = ((const fawkes::HumanoidMotionInterface::StiffnessMotionPatternEnum) (int) tolua_tonumber(tolua_S,2,0)); 05749 #ifndef TOLUA_RELEASE 05750 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_motion_pattern'", NULL); 05751 #endif 05752 { 05753 self->set_motion_pattern(new_motion_pattern); 05754 } 05755 } 05756 return 0; 05757 #ifndef TOLUA_RELEASE 05758 tolua_lerror: 05759 tolua_error(tolua_S,"#ferror in function 'set_motion_pattern'.",&tolua_err); 05760 return 0; 05761 #endif 05762 } 05763 #endif //#ifndef TOLUA_DISABLE 05764 05765 /* method: maxlenof_motion_pattern of class SetStiffnessParamsMessage */ 05766 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_motion_pattern00 05767 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_motion_pattern00(lua_State* tolua_S) 05768 { 05769 #ifndef TOLUA_RELEASE 05770 tolua_Error tolua_err; 05771 if ( 05772 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05773 !tolua_isnoobj(tolua_S,2,&tolua_err) 05774 ) 05775 goto tolua_lerror; 05776 else 05777 #endif 05778 { 05779 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 05780 #ifndef TOLUA_RELEASE 05781 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_motion_pattern'", NULL); 05782 #endif 05783 { 05784 int tolua_ret = (int) self->maxlenof_motion_pattern(); 05785 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05786 } 05787 } 05788 return 1; 05789 #ifndef TOLUA_RELEASE 05790 tolua_lerror: 05791 tolua_error(tolua_S,"#ferror in function 'maxlenof_motion_pattern'.",&tolua_err); 05792 return 0; 05793 #endif 05794 } 05795 #endif //#ifndef TOLUA_DISABLE 05796 05797 /* method: head_yaw of class SetStiffnessParamsMessage */ 05798 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_head_yaw00 05799 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_head_yaw00(lua_State* tolua_S) 05800 { 05801 #ifndef TOLUA_RELEASE 05802 tolua_Error tolua_err; 05803 if ( 05804 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05805 !tolua_isnoobj(tolua_S,2,&tolua_err) 05806 ) 05807 goto tolua_lerror; 05808 else 05809 #endif 05810 { 05811 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 05812 #ifndef TOLUA_RELEASE 05813 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'head_yaw'", NULL); 05814 #endif 05815 { 05816 float tolua_ret = (float) self->head_yaw(); 05817 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05818 } 05819 } 05820 return 1; 05821 #ifndef TOLUA_RELEASE 05822 tolua_lerror: 05823 tolua_error(tolua_S,"#ferror in function 'head_yaw'.",&tolua_err); 05824 return 0; 05825 #endif 05826 } 05827 #endif //#ifndef TOLUA_DISABLE 05828 05829 /* method: set_head_yaw of class SetStiffnessParamsMessage */ 05830 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_head_yaw00 05831 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_head_yaw00(lua_State* tolua_S) 05832 { 05833 #ifndef TOLUA_RELEASE 05834 tolua_Error tolua_err; 05835 if ( 05836 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05837 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05838 !tolua_isnoobj(tolua_S,3,&tolua_err) 05839 ) 05840 goto tolua_lerror; 05841 else 05842 #endif 05843 { 05844 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 05845 const float new_head_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 05846 #ifndef TOLUA_RELEASE 05847 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_head_yaw'", NULL); 05848 #endif 05849 { 05850 self->set_head_yaw(new_head_yaw); 05851 } 05852 } 05853 return 0; 05854 #ifndef TOLUA_RELEASE 05855 tolua_lerror: 05856 tolua_error(tolua_S,"#ferror in function 'set_head_yaw'.",&tolua_err); 05857 return 0; 05858 #endif 05859 } 05860 #endif //#ifndef TOLUA_DISABLE 05861 05862 /* method: maxlenof_head_yaw of class SetStiffnessParamsMessage */ 05863 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_head_yaw00 05864 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_head_yaw00(lua_State* tolua_S) 05865 { 05866 #ifndef TOLUA_RELEASE 05867 tolua_Error tolua_err; 05868 if ( 05869 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05870 !tolua_isnoobj(tolua_S,2,&tolua_err) 05871 ) 05872 goto tolua_lerror; 05873 else 05874 #endif 05875 { 05876 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 05877 #ifndef TOLUA_RELEASE 05878 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_head_yaw'", NULL); 05879 #endif 05880 { 05881 int tolua_ret = (int) self->maxlenof_head_yaw(); 05882 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05883 } 05884 } 05885 return 1; 05886 #ifndef TOLUA_RELEASE 05887 tolua_lerror: 05888 tolua_error(tolua_S,"#ferror in function 'maxlenof_head_yaw'.",&tolua_err); 05889 return 0; 05890 #endif 05891 } 05892 #endif //#ifndef TOLUA_DISABLE 05893 05894 /* method: head_pitch of class SetStiffnessParamsMessage */ 05895 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_head_pitch00 05896 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_head_pitch00(lua_State* tolua_S) 05897 { 05898 #ifndef TOLUA_RELEASE 05899 tolua_Error tolua_err; 05900 if ( 05901 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05902 !tolua_isnoobj(tolua_S,2,&tolua_err) 05903 ) 05904 goto tolua_lerror; 05905 else 05906 #endif 05907 { 05908 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 05909 #ifndef TOLUA_RELEASE 05910 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'head_pitch'", NULL); 05911 #endif 05912 { 05913 float tolua_ret = (float) self->head_pitch(); 05914 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05915 } 05916 } 05917 return 1; 05918 #ifndef TOLUA_RELEASE 05919 tolua_lerror: 05920 tolua_error(tolua_S,"#ferror in function 'head_pitch'.",&tolua_err); 05921 return 0; 05922 #endif 05923 } 05924 #endif //#ifndef TOLUA_DISABLE 05925 05926 /* method: set_head_pitch of class SetStiffnessParamsMessage */ 05927 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_head_pitch00 05928 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_head_pitch00(lua_State* tolua_S) 05929 { 05930 #ifndef TOLUA_RELEASE 05931 tolua_Error tolua_err; 05932 if ( 05933 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05934 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05935 !tolua_isnoobj(tolua_S,3,&tolua_err) 05936 ) 05937 goto tolua_lerror; 05938 else 05939 #endif 05940 { 05941 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 05942 const float new_head_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 05943 #ifndef TOLUA_RELEASE 05944 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_head_pitch'", NULL); 05945 #endif 05946 { 05947 self->set_head_pitch(new_head_pitch); 05948 } 05949 } 05950 return 0; 05951 #ifndef TOLUA_RELEASE 05952 tolua_lerror: 05953 tolua_error(tolua_S,"#ferror in function 'set_head_pitch'.",&tolua_err); 05954 return 0; 05955 #endif 05956 } 05957 #endif //#ifndef TOLUA_DISABLE 05958 05959 /* method: maxlenof_head_pitch of class SetStiffnessParamsMessage */ 05960 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_head_pitch00 05961 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_head_pitch00(lua_State* tolua_S) 05962 { 05963 #ifndef TOLUA_RELEASE 05964 tolua_Error tolua_err; 05965 if ( 05966 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05967 !tolua_isnoobj(tolua_S,2,&tolua_err) 05968 ) 05969 goto tolua_lerror; 05970 else 05971 #endif 05972 { 05973 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 05974 #ifndef TOLUA_RELEASE 05975 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_head_pitch'", NULL); 05976 #endif 05977 { 05978 int tolua_ret = (int) self->maxlenof_head_pitch(); 05979 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05980 } 05981 } 05982 return 1; 05983 #ifndef TOLUA_RELEASE 05984 tolua_lerror: 05985 tolua_error(tolua_S,"#ferror in function 'maxlenof_head_pitch'.",&tolua_err); 05986 return 0; 05987 #endif 05988 } 05989 #endif //#ifndef TOLUA_DISABLE 05990 05991 /* method: l_shoulder_pitch of class SetStiffnessParamsMessage */ 05992 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_shoulder_pitch00 05993 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_shoulder_pitch00(lua_State* tolua_S) 05994 { 05995 #ifndef TOLUA_RELEASE 05996 tolua_Error tolua_err; 05997 if ( 05998 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 05999 !tolua_isnoobj(tolua_S,2,&tolua_err) 06000 ) 06001 goto tolua_lerror; 06002 else 06003 #endif 06004 { 06005 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06006 #ifndef TOLUA_RELEASE 06007 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_shoulder_pitch'", NULL); 06008 #endif 06009 { 06010 float tolua_ret = (float) self->l_shoulder_pitch(); 06011 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06012 } 06013 } 06014 return 1; 06015 #ifndef TOLUA_RELEASE 06016 tolua_lerror: 06017 tolua_error(tolua_S,"#ferror in function 'l_shoulder_pitch'.",&tolua_err); 06018 return 0; 06019 #endif 06020 } 06021 #endif //#ifndef TOLUA_DISABLE 06022 06023 /* method: set_l_shoulder_pitch of class SetStiffnessParamsMessage */ 06024 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_shoulder_pitch00 06025 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_shoulder_pitch00(lua_State* tolua_S) 06026 { 06027 #ifndef TOLUA_RELEASE 06028 tolua_Error tolua_err; 06029 if ( 06030 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06031 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06032 !tolua_isnoobj(tolua_S,3,&tolua_err) 06033 ) 06034 goto tolua_lerror; 06035 else 06036 #endif 06037 { 06038 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06039 const float new_l_shoulder_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 06040 #ifndef TOLUA_RELEASE 06041 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_shoulder_pitch'", NULL); 06042 #endif 06043 { 06044 self->set_l_shoulder_pitch(new_l_shoulder_pitch); 06045 } 06046 } 06047 return 0; 06048 #ifndef TOLUA_RELEASE 06049 tolua_lerror: 06050 tolua_error(tolua_S,"#ferror in function 'set_l_shoulder_pitch'.",&tolua_err); 06051 return 0; 06052 #endif 06053 } 06054 #endif //#ifndef TOLUA_DISABLE 06055 06056 /* method: maxlenof_l_shoulder_pitch of class SetStiffnessParamsMessage */ 06057 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_shoulder_pitch00 06058 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_shoulder_pitch00(lua_State* tolua_S) 06059 { 06060 #ifndef TOLUA_RELEASE 06061 tolua_Error tolua_err; 06062 if ( 06063 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06064 !tolua_isnoobj(tolua_S,2,&tolua_err) 06065 ) 06066 goto tolua_lerror; 06067 else 06068 #endif 06069 { 06070 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06071 #ifndef TOLUA_RELEASE 06072 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_shoulder_pitch'", NULL); 06073 #endif 06074 { 06075 int tolua_ret = (int) self->maxlenof_l_shoulder_pitch(); 06076 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06077 } 06078 } 06079 return 1; 06080 #ifndef TOLUA_RELEASE 06081 tolua_lerror: 06082 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_shoulder_pitch'.",&tolua_err); 06083 return 0; 06084 #endif 06085 } 06086 #endif //#ifndef TOLUA_DISABLE 06087 06088 /* method: l_shoulder_roll of class SetStiffnessParamsMessage */ 06089 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_shoulder_roll00 06090 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_shoulder_roll00(lua_State* tolua_S) 06091 { 06092 #ifndef TOLUA_RELEASE 06093 tolua_Error tolua_err; 06094 if ( 06095 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06096 !tolua_isnoobj(tolua_S,2,&tolua_err) 06097 ) 06098 goto tolua_lerror; 06099 else 06100 #endif 06101 { 06102 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06103 #ifndef TOLUA_RELEASE 06104 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_shoulder_roll'", NULL); 06105 #endif 06106 { 06107 float tolua_ret = (float) self->l_shoulder_roll(); 06108 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06109 } 06110 } 06111 return 1; 06112 #ifndef TOLUA_RELEASE 06113 tolua_lerror: 06114 tolua_error(tolua_S,"#ferror in function 'l_shoulder_roll'.",&tolua_err); 06115 return 0; 06116 #endif 06117 } 06118 #endif //#ifndef TOLUA_DISABLE 06119 06120 /* method: set_l_shoulder_roll of class SetStiffnessParamsMessage */ 06121 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_shoulder_roll00 06122 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_shoulder_roll00(lua_State* tolua_S) 06123 { 06124 #ifndef TOLUA_RELEASE 06125 tolua_Error tolua_err; 06126 if ( 06127 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06128 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06129 !tolua_isnoobj(tolua_S,3,&tolua_err) 06130 ) 06131 goto tolua_lerror; 06132 else 06133 #endif 06134 { 06135 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06136 const float new_l_shoulder_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 06137 #ifndef TOLUA_RELEASE 06138 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_shoulder_roll'", NULL); 06139 #endif 06140 { 06141 self->set_l_shoulder_roll(new_l_shoulder_roll); 06142 } 06143 } 06144 return 0; 06145 #ifndef TOLUA_RELEASE 06146 tolua_lerror: 06147 tolua_error(tolua_S,"#ferror in function 'set_l_shoulder_roll'.",&tolua_err); 06148 return 0; 06149 #endif 06150 } 06151 #endif //#ifndef TOLUA_DISABLE 06152 06153 /* method: maxlenof_l_shoulder_roll of class SetStiffnessParamsMessage */ 06154 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_shoulder_roll00 06155 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_shoulder_roll00(lua_State* tolua_S) 06156 { 06157 #ifndef TOLUA_RELEASE 06158 tolua_Error tolua_err; 06159 if ( 06160 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06161 !tolua_isnoobj(tolua_S,2,&tolua_err) 06162 ) 06163 goto tolua_lerror; 06164 else 06165 #endif 06166 { 06167 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06168 #ifndef TOLUA_RELEASE 06169 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_shoulder_roll'", NULL); 06170 #endif 06171 { 06172 int tolua_ret = (int) self->maxlenof_l_shoulder_roll(); 06173 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06174 } 06175 } 06176 return 1; 06177 #ifndef TOLUA_RELEASE 06178 tolua_lerror: 06179 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_shoulder_roll'.",&tolua_err); 06180 return 0; 06181 #endif 06182 } 06183 #endif //#ifndef TOLUA_DISABLE 06184 06185 /* method: l_elbow_yaw of class SetStiffnessParamsMessage */ 06186 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_elbow_yaw00 06187 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_elbow_yaw00(lua_State* tolua_S) 06188 { 06189 #ifndef TOLUA_RELEASE 06190 tolua_Error tolua_err; 06191 if ( 06192 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06193 !tolua_isnoobj(tolua_S,2,&tolua_err) 06194 ) 06195 goto tolua_lerror; 06196 else 06197 #endif 06198 { 06199 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06200 #ifndef TOLUA_RELEASE 06201 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_elbow_yaw'", NULL); 06202 #endif 06203 { 06204 float tolua_ret = (float) self->l_elbow_yaw(); 06205 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06206 } 06207 } 06208 return 1; 06209 #ifndef TOLUA_RELEASE 06210 tolua_lerror: 06211 tolua_error(tolua_S,"#ferror in function 'l_elbow_yaw'.",&tolua_err); 06212 return 0; 06213 #endif 06214 } 06215 #endif //#ifndef TOLUA_DISABLE 06216 06217 /* method: set_l_elbow_yaw of class SetStiffnessParamsMessage */ 06218 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_elbow_yaw00 06219 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_elbow_yaw00(lua_State* tolua_S) 06220 { 06221 #ifndef TOLUA_RELEASE 06222 tolua_Error tolua_err; 06223 if ( 06224 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06225 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06226 !tolua_isnoobj(tolua_S,3,&tolua_err) 06227 ) 06228 goto tolua_lerror; 06229 else 06230 #endif 06231 { 06232 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06233 const float new_l_elbow_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 06234 #ifndef TOLUA_RELEASE 06235 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_elbow_yaw'", NULL); 06236 #endif 06237 { 06238 self->set_l_elbow_yaw(new_l_elbow_yaw); 06239 } 06240 } 06241 return 0; 06242 #ifndef TOLUA_RELEASE 06243 tolua_lerror: 06244 tolua_error(tolua_S,"#ferror in function 'set_l_elbow_yaw'.",&tolua_err); 06245 return 0; 06246 #endif 06247 } 06248 #endif //#ifndef TOLUA_DISABLE 06249 06250 /* method: maxlenof_l_elbow_yaw of class SetStiffnessParamsMessage */ 06251 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_elbow_yaw00 06252 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_elbow_yaw00(lua_State* tolua_S) 06253 { 06254 #ifndef TOLUA_RELEASE 06255 tolua_Error tolua_err; 06256 if ( 06257 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06258 !tolua_isnoobj(tolua_S,2,&tolua_err) 06259 ) 06260 goto tolua_lerror; 06261 else 06262 #endif 06263 { 06264 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06265 #ifndef TOLUA_RELEASE 06266 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_elbow_yaw'", NULL); 06267 #endif 06268 { 06269 int tolua_ret = (int) self->maxlenof_l_elbow_yaw(); 06270 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06271 } 06272 } 06273 return 1; 06274 #ifndef TOLUA_RELEASE 06275 tolua_lerror: 06276 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_elbow_yaw'.",&tolua_err); 06277 return 0; 06278 #endif 06279 } 06280 #endif //#ifndef TOLUA_DISABLE 06281 06282 /* method: l_elbow_roll of class SetStiffnessParamsMessage */ 06283 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_elbow_roll00 06284 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_elbow_roll00(lua_State* tolua_S) 06285 { 06286 #ifndef TOLUA_RELEASE 06287 tolua_Error tolua_err; 06288 if ( 06289 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06290 !tolua_isnoobj(tolua_S,2,&tolua_err) 06291 ) 06292 goto tolua_lerror; 06293 else 06294 #endif 06295 { 06296 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06297 #ifndef TOLUA_RELEASE 06298 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_elbow_roll'", NULL); 06299 #endif 06300 { 06301 float tolua_ret = (float) self->l_elbow_roll(); 06302 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06303 } 06304 } 06305 return 1; 06306 #ifndef TOLUA_RELEASE 06307 tolua_lerror: 06308 tolua_error(tolua_S,"#ferror in function 'l_elbow_roll'.",&tolua_err); 06309 return 0; 06310 #endif 06311 } 06312 #endif //#ifndef TOLUA_DISABLE 06313 06314 /* method: set_l_elbow_roll of class SetStiffnessParamsMessage */ 06315 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_elbow_roll00 06316 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_elbow_roll00(lua_State* tolua_S) 06317 { 06318 #ifndef TOLUA_RELEASE 06319 tolua_Error tolua_err; 06320 if ( 06321 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06322 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06323 !tolua_isnoobj(tolua_S,3,&tolua_err) 06324 ) 06325 goto tolua_lerror; 06326 else 06327 #endif 06328 { 06329 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06330 const float new_l_elbow_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 06331 #ifndef TOLUA_RELEASE 06332 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_elbow_roll'", NULL); 06333 #endif 06334 { 06335 self->set_l_elbow_roll(new_l_elbow_roll); 06336 } 06337 } 06338 return 0; 06339 #ifndef TOLUA_RELEASE 06340 tolua_lerror: 06341 tolua_error(tolua_S,"#ferror in function 'set_l_elbow_roll'.",&tolua_err); 06342 return 0; 06343 #endif 06344 } 06345 #endif //#ifndef TOLUA_DISABLE 06346 06347 /* method: maxlenof_l_elbow_roll of class SetStiffnessParamsMessage */ 06348 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_elbow_roll00 06349 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_elbow_roll00(lua_State* tolua_S) 06350 { 06351 #ifndef TOLUA_RELEASE 06352 tolua_Error tolua_err; 06353 if ( 06354 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06355 !tolua_isnoobj(tolua_S,2,&tolua_err) 06356 ) 06357 goto tolua_lerror; 06358 else 06359 #endif 06360 { 06361 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06362 #ifndef TOLUA_RELEASE 06363 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_elbow_roll'", NULL); 06364 #endif 06365 { 06366 int tolua_ret = (int) self->maxlenof_l_elbow_roll(); 06367 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06368 } 06369 } 06370 return 1; 06371 #ifndef TOLUA_RELEASE 06372 tolua_lerror: 06373 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_elbow_roll'.",&tolua_err); 06374 return 0; 06375 #endif 06376 } 06377 #endif //#ifndef TOLUA_DISABLE 06378 06379 /* method: l_hip_yaw_pitch of class SetStiffnessParamsMessage */ 06380 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_hip_yaw_pitch00 06381 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_hip_yaw_pitch00(lua_State* tolua_S) 06382 { 06383 #ifndef TOLUA_RELEASE 06384 tolua_Error tolua_err; 06385 if ( 06386 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06387 !tolua_isnoobj(tolua_S,2,&tolua_err) 06388 ) 06389 goto tolua_lerror; 06390 else 06391 #endif 06392 { 06393 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06394 #ifndef TOLUA_RELEASE 06395 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hip_yaw_pitch'", NULL); 06396 #endif 06397 { 06398 float tolua_ret = (float) self->l_hip_yaw_pitch(); 06399 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06400 } 06401 } 06402 return 1; 06403 #ifndef TOLUA_RELEASE 06404 tolua_lerror: 06405 tolua_error(tolua_S,"#ferror in function 'l_hip_yaw_pitch'.",&tolua_err); 06406 return 0; 06407 #endif 06408 } 06409 #endif //#ifndef TOLUA_DISABLE 06410 06411 /* method: set_l_hip_yaw_pitch of class SetStiffnessParamsMessage */ 06412 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_hip_yaw_pitch00 06413 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_hip_yaw_pitch00(lua_State* tolua_S) 06414 { 06415 #ifndef TOLUA_RELEASE 06416 tolua_Error tolua_err; 06417 if ( 06418 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06419 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06420 !tolua_isnoobj(tolua_S,3,&tolua_err) 06421 ) 06422 goto tolua_lerror; 06423 else 06424 #endif 06425 { 06426 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06427 const float new_l_hip_yaw_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 06428 #ifndef TOLUA_RELEASE 06429 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hip_yaw_pitch'", NULL); 06430 #endif 06431 { 06432 self->set_l_hip_yaw_pitch(new_l_hip_yaw_pitch); 06433 } 06434 } 06435 return 0; 06436 #ifndef TOLUA_RELEASE 06437 tolua_lerror: 06438 tolua_error(tolua_S,"#ferror in function 'set_l_hip_yaw_pitch'.",&tolua_err); 06439 return 0; 06440 #endif 06441 } 06442 #endif //#ifndef TOLUA_DISABLE 06443 06444 /* method: maxlenof_l_hip_yaw_pitch of class SetStiffnessParamsMessage */ 06445 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_hip_yaw_pitch00 06446 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_hip_yaw_pitch00(lua_State* tolua_S) 06447 { 06448 #ifndef TOLUA_RELEASE 06449 tolua_Error tolua_err; 06450 if ( 06451 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06452 !tolua_isnoobj(tolua_S,2,&tolua_err) 06453 ) 06454 goto tolua_lerror; 06455 else 06456 #endif 06457 { 06458 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06459 #ifndef TOLUA_RELEASE 06460 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hip_yaw_pitch'", NULL); 06461 #endif 06462 { 06463 int tolua_ret = (int) self->maxlenof_l_hip_yaw_pitch(); 06464 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06465 } 06466 } 06467 return 1; 06468 #ifndef TOLUA_RELEASE 06469 tolua_lerror: 06470 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hip_yaw_pitch'.",&tolua_err); 06471 return 0; 06472 #endif 06473 } 06474 #endif //#ifndef TOLUA_DISABLE 06475 06476 /* method: l_hip_roll of class SetStiffnessParamsMessage */ 06477 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_hip_roll00 06478 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_hip_roll00(lua_State* tolua_S) 06479 { 06480 #ifndef TOLUA_RELEASE 06481 tolua_Error tolua_err; 06482 if ( 06483 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06484 !tolua_isnoobj(tolua_S,2,&tolua_err) 06485 ) 06486 goto tolua_lerror; 06487 else 06488 #endif 06489 { 06490 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06491 #ifndef TOLUA_RELEASE 06492 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hip_roll'", NULL); 06493 #endif 06494 { 06495 float tolua_ret = (float) self->l_hip_roll(); 06496 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06497 } 06498 } 06499 return 1; 06500 #ifndef TOLUA_RELEASE 06501 tolua_lerror: 06502 tolua_error(tolua_S,"#ferror in function 'l_hip_roll'.",&tolua_err); 06503 return 0; 06504 #endif 06505 } 06506 #endif //#ifndef TOLUA_DISABLE 06507 06508 /* method: set_l_hip_roll of class SetStiffnessParamsMessage */ 06509 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_hip_roll00 06510 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_hip_roll00(lua_State* tolua_S) 06511 { 06512 #ifndef TOLUA_RELEASE 06513 tolua_Error tolua_err; 06514 if ( 06515 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06516 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06517 !tolua_isnoobj(tolua_S,3,&tolua_err) 06518 ) 06519 goto tolua_lerror; 06520 else 06521 #endif 06522 { 06523 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06524 const float new_l_hip_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 06525 #ifndef TOLUA_RELEASE 06526 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hip_roll'", NULL); 06527 #endif 06528 { 06529 self->set_l_hip_roll(new_l_hip_roll); 06530 } 06531 } 06532 return 0; 06533 #ifndef TOLUA_RELEASE 06534 tolua_lerror: 06535 tolua_error(tolua_S,"#ferror in function 'set_l_hip_roll'.",&tolua_err); 06536 return 0; 06537 #endif 06538 } 06539 #endif //#ifndef TOLUA_DISABLE 06540 06541 /* method: maxlenof_l_hip_roll of class SetStiffnessParamsMessage */ 06542 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_hip_roll00 06543 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_hip_roll00(lua_State* tolua_S) 06544 { 06545 #ifndef TOLUA_RELEASE 06546 tolua_Error tolua_err; 06547 if ( 06548 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06549 !tolua_isnoobj(tolua_S,2,&tolua_err) 06550 ) 06551 goto tolua_lerror; 06552 else 06553 #endif 06554 { 06555 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06556 #ifndef TOLUA_RELEASE 06557 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hip_roll'", NULL); 06558 #endif 06559 { 06560 int tolua_ret = (int) self->maxlenof_l_hip_roll(); 06561 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06562 } 06563 } 06564 return 1; 06565 #ifndef TOLUA_RELEASE 06566 tolua_lerror: 06567 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hip_roll'.",&tolua_err); 06568 return 0; 06569 #endif 06570 } 06571 #endif //#ifndef TOLUA_DISABLE 06572 06573 /* method: l_hip_pitch of class SetStiffnessParamsMessage */ 06574 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_hip_pitch00 06575 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_hip_pitch00(lua_State* tolua_S) 06576 { 06577 #ifndef TOLUA_RELEASE 06578 tolua_Error tolua_err; 06579 if ( 06580 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06581 !tolua_isnoobj(tolua_S,2,&tolua_err) 06582 ) 06583 goto tolua_lerror; 06584 else 06585 #endif 06586 { 06587 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06588 #ifndef TOLUA_RELEASE 06589 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hip_pitch'", NULL); 06590 #endif 06591 { 06592 float tolua_ret = (float) self->l_hip_pitch(); 06593 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06594 } 06595 } 06596 return 1; 06597 #ifndef TOLUA_RELEASE 06598 tolua_lerror: 06599 tolua_error(tolua_S,"#ferror in function 'l_hip_pitch'.",&tolua_err); 06600 return 0; 06601 #endif 06602 } 06603 #endif //#ifndef TOLUA_DISABLE 06604 06605 /* method: set_l_hip_pitch of class SetStiffnessParamsMessage */ 06606 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_hip_pitch00 06607 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_hip_pitch00(lua_State* tolua_S) 06608 { 06609 #ifndef TOLUA_RELEASE 06610 tolua_Error tolua_err; 06611 if ( 06612 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06613 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06614 !tolua_isnoobj(tolua_S,3,&tolua_err) 06615 ) 06616 goto tolua_lerror; 06617 else 06618 #endif 06619 { 06620 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06621 const float new_l_hip_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 06622 #ifndef TOLUA_RELEASE 06623 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hip_pitch'", NULL); 06624 #endif 06625 { 06626 self->set_l_hip_pitch(new_l_hip_pitch); 06627 } 06628 } 06629 return 0; 06630 #ifndef TOLUA_RELEASE 06631 tolua_lerror: 06632 tolua_error(tolua_S,"#ferror in function 'set_l_hip_pitch'.",&tolua_err); 06633 return 0; 06634 #endif 06635 } 06636 #endif //#ifndef TOLUA_DISABLE 06637 06638 /* method: maxlenof_l_hip_pitch of class SetStiffnessParamsMessage */ 06639 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_hip_pitch00 06640 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_hip_pitch00(lua_State* tolua_S) 06641 { 06642 #ifndef TOLUA_RELEASE 06643 tolua_Error tolua_err; 06644 if ( 06645 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06646 !tolua_isnoobj(tolua_S,2,&tolua_err) 06647 ) 06648 goto tolua_lerror; 06649 else 06650 #endif 06651 { 06652 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06653 #ifndef TOLUA_RELEASE 06654 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hip_pitch'", NULL); 06655 #endif 06656 { 06657 int tolua_ret = (int) self->maxlenof_l_hip_pitch(); 06658 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06659 } 06660 } 06661 return 1; 06662 #ifndef TOLUA_RELEASE 06663 tolua_lerror: 06664 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hip_pitch'.",&tolua_err); 06665 return 0; 06666 #endif 06667 } 06668 #endif //#ifndef TOLUA_DISABLE 06669 06670 /* method: l_knee_pitch of class SetStiffnessParamsMessage */ 06671 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_knee_pitch00 06672 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_knee_pitch00(lua_State* tolua_S) 06673 { 06674 #ifndef TOLUA_RELEASE 06675 tolua_Error tolua_err; 06676 if ( 06677 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06678 !tolua_isnoobj(tolua_S,2,&tolua_err) 06679 ) 06680 goto tolua_lerror; 06681 else 06682 #endif 06683 { 06684 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06685 #ifndef TOLUA_RELEASE 06686 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_knee_pitch'", NULL); 06687 #endif 06688 { 06689 float tolua_ret = (float) self->l_knee_pitch(); 06690 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06691 } 06692 } 06693 return 1; 06694 #ifndef TOLUA_RELEASE 06695 tolua_lerror: 06696 tolua_error(tolua_S,"#ferror in function 'l_knee_pitch'.",&tolua_err); 06697 return 0; 06698 #endif 06699 } 06700 #endif //#ifndef TOLUA_DISABLE 06701 06702 /* method: set_l_knee_pitch of class SetStiffnessParamsMessage */ 06703 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_knee_pitch00 06704 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_knee_pitch00(lua_State* tolua_S) 06705 { 06706 #ifndef TOLUA_RELEASE 06707 tolua_Error tolua_err; 06708 if ( 06709 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06710 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06711 !tolua_isnoobj(tolua_S,3,&tolua_err) 06712 ) 06713 goto tolua_lerror; 06714 else 06715 #endif 06716 { 06717 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06718 const float new_l_knee_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 06719 #ifndef TOLUA_RELEASE 06720 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_knee_pitch'", NULL); 06721 #endif 06722 { 06723 self->set_l_knee_pitch(new_l_knee_pitch); 06724 } 06725 } 06726 return 0; 06727 #ifndef TOLUA_RELEASE 06728 tolua_lerror: 06729 tolua_error(tolua_S,"#ferror in function 'set_l_knee_pitch'.",&tolua_err); 06730 return 0; 06731 #endif 06732 } 06733 #endif //#ifndef TOLUA_DISABLE 06734 06735 /* method: maxlenof_l_knee_pitch of class SetStiffnessParamsMessage */ 06736 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_knee_pitch00 06737 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_knee_pitch00(lua_State* tolua_S) 06738 { 06739 #ifndef TOLUA_RELEASE 06740 tolua_Error tolua_err; 06741 if ( 06742 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06743 !tolua_isnoobj(tolua_S,2,&tolua_err) 06744 ) 06745 goto tolua_lerror; 06746 else 06747 #endif 06748 { 06749 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06750 #ifndef TOLUA_RELEASE 06751 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_knee_pitch'", NULL); 06752 #endif 06753 { 06754 int tolua_ret = (int) self->maxlenof_l_knee_pitch(); 06755 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06756 } 06757 } 06758 return 1; 06759 #ifndef TOLUA_RELEASE 06760 tolua_lerror: 06761 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_knee_pitch'.",&tolua_err); 06762 return 0; 06763 #endif 06764 } 06765 #endif //#ifndef TOLUA_DISABLE 06766 06767 /* method: l_ankle_pitch of class SetStiffnessParamsMessage */ 06768 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_ankle_pitch00 06769 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_ankle_pitch00(lua_State* tolua_S) 06770 { 06771 #ifndef TOLUA_RELEASE 06772 tolua_Error tolua_err; 06773 if ( 06774 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06775 !tolua_isnoobj(tolua_S,2,&tolua_err) 06776 ) 06777 goto tolua_lerror; 06778 else 06779 #endif 06780 { 06781 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06782 #ifndef TOLUA_RELEASE 06783 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_ankle_pitch'", NULL); 06784 #endif 06785 { 06786 float tolua_ret = (float) self->l_ankle_pitch(); 06787 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06788 } 06789 } 06790 return 1; 06791 #ifndef TOLUA_RELEASE 06792 tolua_lerror: 06793 tolua_error(tolua_S,"#ferror in function 'l_ankle_pitch'.",&tolua_err); 06794 return 0; 06795 #endif 06796 } 06797 #endif //#ifndef TOLUA_DISABLE 06798 06799 /* method: set_l_ankle_pitch of class SetStiffnessParamsMessage */ 06800 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_ankle_pitch00 06801 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_ankle_pitch00(lua_State* tolua_S) 06802 { 06803 #ifndef TOLUA_RELEASE 06804 tolua_Error tolua_err; 06805 if ( 06806 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06807 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06808 !tolua_isnoobj(tolua_S,3,&tolua_err) 06809 ) 06810 goto tolua_lerror; 06811 else 06812 #endif 06813 { 06814 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06815 const float new_l_ankle_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 06816 #ifndef TOLUA_RELEASE 06817 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_ankle_pitch'", NULL); 06818 #endif 06819 { 06820 self->set_l_ankle_pitch(new_l_ankle_pitch); 06821 } 06822 } 06823 return 0; 06824 #ifndef TOLUA_RELEASE 06825 tolua_lerror: 06826 tolua_error(tolua_S,"#ferror in function 'set_l_ankle_pitch'.",&tolua_err); 06827 return 0; 06828 #endif 06829 } 06830 #endif //#ifndef TOLUA_DISABLE 06831 06832 /* method: maxlenof_l_ankle_pitch of class SetStiffnessParamsMessage */ 06833 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_ankle_pitch00 06834 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_ankle_pitch00(lua_State* tolua_S) 06835 { 06836 #ifndef TOLUA_RELEASE 06837 tolua_Error tolua_err; 06838 if ( 06839 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06840 !tolua_isnoobj(tolua_S,2,&tolua_err) 06841 ) 06842 goto tolua_lerror; 06843 else 06844 #endif 06845 { 06846 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06847 #ifndef TOLUA_RELEASE 06848 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_ankle_pitch'", NULL); 06849 #endif 06850 { 06851 int tolua_ret = (int) self->maxlenof_l_ankle_pitch(); 06852 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06853 } 06854 } 06855 return 1; 06856 #ifndef TOLUA_RELEASE 06857 tolua_lerror: 06858 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_ankle_pitch'.",&tolua_err); 06859 return 0; 06860 #endif 06861 } 06862 #endif //#ifndef TOLUA_DISABLE 06863 06864 /* method: l_ankle_roll of class SetStiffnessParamsMessage */ 06865 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_ankle_roll00 06866 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_ankle_roll00(lua_State* tolua_S) 06867 { 06868 #ifndef TOLUA_RELEASE 06869 tolua_Error tolua_err; 06870 if ( 06871 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06872 !tolua_isnoobj(tolua_S,2,&tolua_err) 06873 ) 06874 goto tolua_lerror; 06875 else 06876 #endif 06877 { 06878 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06879 #ifndef TOLUA_RELEASE 06880 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_ankle_roll'", NULL); 06881 #endif 06882 { 06883 float tolua_ret = (float) self->l_ankle_roll(); 06884 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06885 } 06886 } 06887 return 1; 06888 #ifndef TOLUA_RELEASE 06889 tolua_lerror: 06890 tolua_error(tolua_S,"#ferror in function 'l_ankle_roll'.",&tolua_err); 06891 return 0; 06892 #endif 06893 } 06894 #endif //#ifndef TOLUA_DISABLE 06895 06896 /* method: set_l_ankle_roll of class SetStiffnessParamsMessage */ 06897 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_ankle_roll00 06898 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_ankle_roll00(lua_State* tolua_S) 06899 { 06900 #ifndef TOLUA_RELEASE 06901 tolua_Error tolua_err; 06902 if ( 06903 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06904 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06905 !tolua_isnoobj(tolua_S,3,&tolua_err) 06906 ) 06907 goto tolua_lerror; 06908 else 06909 #endif 06910 { 06911 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06912 const float new_l_ankle_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 06913 #ifndef TOLUA_RELEASE 06914 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_ankle_roll'", NULL); 06915 #endif 06916 { 06917 self->set_l_ankle_roll(new_l_ankle_roll); 06918 } 06919 } 06920 return 0; 06921 #ifndef TOLUA_RELEASE 06922 tolua_lerror: 06923 tolua_error(tolua_S,"#ferror in function 'set_l_ankle_roll'.",&tolua_err); 06924 return 0; 06925 #endif 06926 } 06927 #endif //#ifndef TOLUA_DISABLE 06928 06929 /* method: maxlenof_l_ankle_roll of class SetStiffnessParamsMessage */ 06930 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_ankle_roll00 06931 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_ankle_roll00(lua_State* tolua_S) 06932 { 06933 #ifndef TOLUA_RELEASE 06934 tolua_Error tolua_err; 06935 if ( 06936 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06937 !tolua_isnoobj(tolua_S,2,&tolua_err) 06938 ) 06939 goto tolua_lerror; 06940 else 06941 #endif 06942 { 06943 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06944 #ifndef TOLUA_RELEASE 06945 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_ankle_roll'", NULL); 06946 #endif 06947 { 06948 int tolua_ret = (int) self->maxlenof_l_ankle_roll(); 06949 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06950 } 06951 } 06952 return 1; 06953 #ifndef TOLUA_RELEASE 06954 tolua_lerror: 06955 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_ankle_roll'.",&tolua_err); 06956 return 0; 06957 #endif 06958 } 06959 #endif //#ifndef TOLUA_DISABLE 06960 06961 /* method: r_hip_yaw_pitch of class SetStiffnessParamsMessage */ 06962 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_hip_yaw_pitch00 06963 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_hip_yaw_pitch00(lua_State* tolua_S) 06964 { 06965 #ifndef TOLUA_RELEASE 06966 tolua_Error tolua_err; 06967 if ( 06968 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 06969 !tolua_isnoobj(tolua_S,2,&tolua_err) 06970 ) 06971 goto tolua_lerror; 06972 else 06973 #endif 06974 { 06975 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 06976 #ifndef TOLUA_RELEASE 06977 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hip_yaw_pitch'", NULL); 06978 #endif 06979 { 06980 float tolua_ret = (float) self->r_hip_yaw_pitch(); 06981 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06982 } 06983 } 06984 return 1; 06985 #ifndef TOLUA_RELEASE 06986 tolua_lerror: 06987 tolua_error(tolua_S,"#ferror in function 'r_hip_yaw_pitch'.",&tolua_err); 06988 return 0; 06989 #endif 06990 } 06991 #endif //#ifndef TOLUA_DISABLE 06992 06993 /* method: set_r_hip_yaw_pitch of class SetStiffnessParamsMessage */ 06994 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_hip_yaw_pitch00 06995 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_hip_yaw_pitch00(lua_State* tolua_S) 06996 { 06997 #ifndef TOLUA_RELEASE 06998 tolua_Error tolua_err; 06999 if ( 07000 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07001 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 07002 !tolua_isnoobj(tolua_S,3,&tolua_err) 07003 ) 07004 goto tolua_lerror; 07005 else 07006 #endif 07007 { 07008 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07009 const float new_r_hip_yaw_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 07010 #ifndef TOLUA_RELEASE 07011 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hip_yaw_pitch'", NULL); 07012 #endif 07013 { 07014 self->set_r_hip_yaw_pitch(new_r_hip_yaw_pitch); 07015 } 07016 } 07017 return 0; 07018 #ifndef TOLUA_RELEASE 07019 tolua_lerror: 07020 tolua_error(tolua_S,"#ferror in function 'set_r_hip_yaw_pitch'.",&tolua_err); 07021 return 0; 07022 #endif 07023 } 07024 #endif //#ifndef TOLUA_DISABLE 07025 07026 /* method: maxlenof_r_hip_yaw_pitch of class SetStiffnessParamsMessage */ 07027 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_hip_yaw_pitch00 07028 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_hip_yaw_pitch00(lua_State* tolua_S) 07029 { 07030 #ifndef TOLUA_RELEASE 07031 tolua_Error tolua_err; 07032 if ( 07033 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07034 !tolua_isnoobj(tolua_S,2,&tolua_err) 07035 ) 07036 goto tolua_lerror; 07037 else 07038 #endif 07039 { 07040 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07041 #ifndef TOLUA_RELEASE 07042 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hip_yaw_pitch'", NULL); 07043 #endif 07044 { 07045 int tolua_ret = (int) self->maxlenof_r_hip_yaw_pitch(); 07046 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07047 } 07048 } 07049 return 1; 07050 #ifndef TOLUA_RELEASE 07051 tolua_lerror: 07052 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hip_yaw_pitch'.",&tolua_err); 07053 return 0; 07054 #endif 07055 } 07056 #endif //#ifndef TOLUA_DISABLE 07057 07058 /* method: r_hip_roll of class SetStiffnessParamsMessage */ 07059 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_hip_roll00 07060 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_hip_roll00(lua_State* tolua_S) 07061 { 07062 #ifndef TOLUA_RELEASE 07063 tolua_Error tolua_err; 07064 if ( 07065 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07066 !tolua_isnoobj(tolua_S,2,&tolua_err) 07067 ) 07068 goto tolua_lerror; 07069 else 07070 #endif 07071 { 07072 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07073 #ifndef TOLUA_RELEASE 07074 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hip_roll'", NULL); 07075 #endif 07076 { 07077 float tolua_ret = (float) self->r_hip_roll(); 07078 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07079 } 07080 } 07081 return 1; 07082 #ifndef TOLUA_RELEASE 07083 tolua_lerror: 07084 tolua_error(tolua_S,"#ferror in function 'r_hip_roll'.",&tolua_err); 07085 return 0; 07086 #endif 07087 } 07088 #endif //#ifndef TOLUA_DISABLE 07089 07090 /* method: set_r_hip_roll of class SetStiffnessParamsMessage */ 07091 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_hip_roll00 07092 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_hip_roll00(lua_State* tolua_S) 07093 { 07094 #ifndef TOLUA_RELEASE 07095 tolua_Error tolua_err; 07096 if ( 07097 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07098 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 07099 !tolua_isnoobj(tolua_S,3,&tolua_err) 07100 ) 07101 goto tolua_lerror; 07102 else 07103 #endif 07104 { 07105 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07106 const float new_r_hip_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 07107 #ifndef TOLUA_RELEASE 07108 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hip_roll'", NULL); 07109 #endif 07110 { 07111 self->set_r_hip_roll(new_r_hip_roll); 07112 } 07113 } 07114 return 0; 07115 #ifndef TOLUA_RELEASE 07116 tolua_lerror: 07117 tolua_error(tolua_S,"#ferror in function 'set_r_hip_roll'.",&tolua_err); 07118 return 0; 07119 #endif 07120 } 07121 #endif //#ifndef TOLUA_DISABLE 07122 07123 /* method: maxlenof_r_hip_roll of class SetStiffnessParamsMessage */ 07124 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_hip_roll00 07125 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_hip_roll00(lua_State* tolua_S) 07126 { 07127 #ifndef TOLUA_RELEASE 07128 tolua_Error tolua_err; 07129 if ( 07130 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07131 !tolua_isnoobj(tolua_S,2,&tolua_err) 07132 ) 07133 goto tolua_lerror; 07134 else 07135 #endif 07136 { 07137 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07138 #ifndef TOLUA_RELEASE 07139 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hip_roll'", NULL); 07140 #endif 07141 { 07142 int tolua_ret = (int) self->maxlenof_r_hip_roll(); 07143 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07144 } 07145 } 07146 return 1; 07147 #ifndef TOLUA_RELEASE 07148 tolua_lerror: 07149 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hip_roll'.",&tolua_err); 07150 return 0; 07151 #endif 07152 } 07153 #endif //#ifndef TOLUA_DISABLE 07154 07155 /* method: r_hip_pitch of class SetStiffnessParamsMessage */ 07156 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_hip_pitch00 07157 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_hip_pitch00(lua_State* tolua_S) 07158 { 07159 #ifndef TOLUA_RELEASE 07160 tolua_Error tolua_err; 07161 if ( 07162 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07163 !tolua_isnoobj(tolua_S,2,&tolua_err) 07164 ) 07165 goto tolua_lerror; 07166 else 07167 #endif 07168 { 07169 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07170 #ifndef TOLUA_RELEASE 07171 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hip_pitch'", NULL); 07172 #endif 07173 { 07174 float tolua_ret = (float) self->r_hip_pitch(); 07175 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07176 } 07177 } 07178 return 1; 07179 #ifndef TOLUA_RELEASE 07180 tolua_lerror: 07181 tolua_error(tolua_S,"#ferror in function 'r_hip_pitch'.",&tolua_err); 07182 return 0; 07183 #endif 07184 } 07185 #endif //#ifndef TOLUA_DISABLE 07186 07187 /* method: set_r_hip_pitch of class SetStiffnessParamsMessage */ 07188 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_hip_pitch00 07189 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_hip_pitch00(lua_State* tolua_S) 07190 { 07191 #ifndef TOLUA_RELEASE 07192 tolua_Error tolua_err; 07193 if ( 07194 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07195 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 07196 !tolua_isnoobj(tolua_S,3,&tolua_err) 07197 ) 07198 goto tolua_lerror; 07199 else 07200 #endif 07201 { 07202 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07203 const float new_r_hip_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 07204 #ifndef TOLUA_RELEASE 07205 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hip_pitch'", NULL); 07206 #endif 07207 { 07208 self->set_r_hip_pitch(new_r_hip_pitch); 07209 } 07210 } 07211 return 0; 07212 #ifndef TOLUA_RELEASE 07213 tolua_lerror: 07214 tolua_error(tolua_S,"#ferror in function 'set_r_hip_pitch'.",&tolua_err); 07215 return 0; 07216 #endif 07217 } 07218 #endif //#ifndef TOLUA_DISABLE 07219 07220 /* method: maxlenof_r_hip_pitch of class SetStiffnessParamsMessage */ 07221 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_hip_pitch00 07222 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_hip_pitch00(lua_State* tolua_S) 07223 { 07224 #ifndef TOLUA_RELEASE 07225 tolua_Error tolua_err; 07226 if ( 07227 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07228 !tolua_isnoobj(tolua_S,2,&tolua_err) 07229 ) 07230 goto tolua_lerror; 07231 else 07232 #endif 07233 { 07234 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07235 #ifndef TOLUA_RELEASE 07236 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hip_pitch'", NULL); 07237 #endif 07238 { 07239 int tolua_ret = (int) self->maxlenof_r_hip_pitch(); 07240 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07241 } 07242 } 07243 return 1; 07244 #ifndef TOLUA_RELEASE 07245 tolua_lerror: 07246 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hip_pitch'.",&tolua_err); 07247 return 0; 07248 #endif 07249 } 07250 #endif //#ifndef TOLUA_DISABLE 07251 07252 /* method: r_knee_pitch of class SetStiffnessParamsMessage */ 07253 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_knee_pitch00 07254 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_knee_pitch00(lua_State* tolua_S) 07255 { 07256 #ifndef TOLUA_RELEASE 07257 tolua_Error tolua_err; 07258 if ( 07259 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07260 !tolua_isnoobj(tolua_S,2,&tolua_err) 07261 ) 07262 goto tolua_lerror; 07263 else 07264 #endif 07265 { 07266 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07267 #ifndef TOLUA_RELEASE 07268 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_knee_pitch'", NULL); 07269 #endif 07270 { 07271 float tolua_ret = (float) self->r_knee_pitch(); 07272 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07273 } 07274 } 07275 return 1; 07276 #ifndef TOLUA_RELEASE 07277 tolua_lerror: 07278 tolua_error(tolua_S,"#ferror in function 'r_knee_pitch'.",&tolua_err); 07279 return 0; 07280 #endif 07281 } 07282 #endif //#ifndef TOLUA_DISABLE 07283 07284 /* method: set_r_knee_pitch of class SetStiffnessParamsMessage */ 07285 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_knee_pitch00 07286 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_knee_pitch00(lua_State* tolua_S) 07287 { 07288 #ifndef TOLUA_RELEASE 07289 tolua_Error tolua_err; 07290 if ( 07291 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07292 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 07293 !tolua_isnoobj(tolua_S,3,&tolua_err) 07294 ) 07295 goto tolua_lerror; 07296 else 07297 #endif 07298 { 07299 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07300 const float new_r_knee_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 07301 #ifndef TOLUA_RELEASE 07302 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_knee_pitch'", NULL); 07303 #endif 07304 { 07305 self->set_r_knee_pitch(new_r_knee_pitch); 07306 } 07307 } 07308 return 0; 07309 #ifndef TOLUA_RELEASE 07310 tolua_lerror: 07311 tolua_error(tolua_S,"#ferror in function 'set_r_knee_pitch'.",&tolua_err); 07312 return 0; 07313 #endif 07314 } 07315 #endif //#ifndef TOLUA_DISABLE 07316 07317 /* method: maxlenof_r_knee_pitch of class SetStiffnessParamsMessage */ 07318 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_knee_pitch00 07319 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_knee_pitch00(lua_State* tolua_S) 07320 { 07321 #ifndef TOLUA_RELEASE 07322 tolua_Error tolua_err; 07323 if ( 07324 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07325 !tolua_isnoobj(tolua_S,2,&tolua_err) 07326 ) 07327 goto tolua_lerror; 07328 else 07329 #endif 07330 { 07331 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07332 #ifndef TOLUA_RELEASE 07333 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_knee_pitch'", NULL); 07334 #endif 07335 { 07336 int tolua_ret = (int) self->maxlenof_r_knee_pitch(); 07337 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07338 } 07339 } 07340 return 1; 07341 #ifndef TOLUA_RELEASE 07342 tolua_lerror: 07343 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_knee_pitch'.",&tolua_err); 07344 return 0; 07345 #endif 07346 } 07347 #endif //#ifndef TOLUA_DISABLE 07348 07349 /* method: r_ankle_pitch of class SetStiffnessParamsMessage */ 07350 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_ankle_pitch00 07351 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_ankle_pitch00(lua_State* tolua_S) 07352 { 07353 #ifndef TOLUA_RELEASE 07354 tolua_Error tolua_err; 07355 if ( 07356 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07357 !tolua_isnoobj(tolua_S,2,&tolua_err) 07358 ) 07359 goto tolua_lerror; 07360 else 07361 #endif 07362 { 07363 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07364 #ifndef TOLUA_RELEASE 07365 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_ankle_pitch'", NULL); 07366 #endif 07367 { 07368 float tolua_ret = (float) self->r_ankle_pitch(); 07369 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07370 } 07371 } 07372 return 1; 07373 #ifndef TOLUA_RELEASE 07374 tolua_lerror: 07375 tolua_error(tolua_S,"#ferror in function 'r_ankle_pitch'.",&tolua_err); 07376 return 0; 07377 #endif 07378 } 07379 #endif //#ifndef TOLUA_DISABLE 07380 07381 /* method: set_r_ankle_pitch of class SetStiffnessParamsMessage */ 07382 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_ankle_pitch00 07383 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_ankle_pitch00(lua_State* tolua_S) 07384 { 07385 #ifndef TOLUA_RELEASE 07386 tolua_Error tolua_err; 07387 if ( 07388 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07389 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 07390 !tolua_isnoobj(tolua_S,3,&tolua_err) 07391 ) 07392 goto tolua_lerror; 07393 else 07394 #endif 07395 { 07396 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07397 const float new_r_ankle_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 07398 #ifndef TOLUA_RELEASE 07399 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_ankle_pitch'", NULL); 07400 #endif 07401 { 07402 self->set_r_ankle_pitch(new_r_ankle_pitch); 07403 } 07404 } 07405 return 0; 07406 #ifndef TOLUA_RELEASE 07407 tolua_lerror: 07408 tolua_error(tolua_S,"#ferror in function 'set_r_ankle_pitch'.",&tolua_err); 07409 return 0; 07410 #endif 07411 } 07412 #endif //#ifndef TOLUA_DISABLE 07413 07414 /* method: maxlenof_r_ankle_pitch of class SetStiffnessParamsMessage */ 07415 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_ankle_pitch00 07416 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_ankle_pitch00(lua_State* tolua_S) 07417 { 07418 #ifndef TOLUA_RELEASE 07419 tolua_Error tolua_err; 07420 if ( 07421 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07422 !tolua_isnoobj(tolua_S,2,&tolua_err) 07423 ) 07424 goto tolua_lerror; 07425 else 07426 #endif 07427 { 07428 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07429 #ifndef TOLUA_RELEASE 07430 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_ankle_pitch'", NULL); 07431 #endif 07432 { 07433 int tolua_ret = (int) self->maxlenof_r_ankle_pitch(); 07434 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07435 } 07436 } 07437 return 1; 07438 #ifndef TOLUA_RELEASE 07439 tolua_lerror: 07440 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_ankle_pitch'.",&tolua_err); 07441 return 0; 07442 #endif 07443 } 07444 #endif //#ifndef TOLUA_DISABLE 07445 07446 /* method: r_ankle_roll of class SetStiffnessParamsMessage */ 07447 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_ankle_roll00 07448 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_ankle_roll00(lua_State* tolua_S) 07449 { 07450 #ifndef TOLUA_RELEASE 07451 tolua_Error tolua_err; 07452 if ( 07453 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07454 !tolua_isnoobj(tolua_S,2,&tolua_err) 07455 ) 07456 goto tolua_lerror; 07457 else 07458 #endif 07459 { 07460 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07461 #ifndef TOLUA_RELEASE 07462 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_ankle_roll'", NULL); 07463 #endif 07464 { 07465 float tolua_ret = (float) self->r_ankle_roll(); 07466 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07467 } 07468 } 07469 return 1; 07470 #ifndef TOLUA_RELEASE 07471 tolua_lerror: 07472 tolua_error(tolua_S,"#ferror in function 'r_ankle_roll'.",&tolua_err); 07473 return 0; 07474 #endif 07475 } 07476 #endif //#ifndef TOLUA_DISABLE 07477 07478 /* method: set_r_ankle_roll of class SetStiffnessParamsMessage */ 07479 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_ankle_roll00 07480 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_ankle_roll00(lua_State* tolua_S) 07481 { 07482 #ifndef TOLUA_RELEASE 07483 tolua_Error tolua_err; 07484 if ( 07485 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07486 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 07487 !tolua_isnoobj(tolua_S,3,&tolua_err) 07488 ) 07489 goto tolua_lerror; 07490 else 07491 #endif 07492 { 07493 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07494 const float new_r_ankle_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 07495 #ifndef TOLUA_RELEASE 07496 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_ankle_roll'", NULL); 07497 #endif 07498 { 07499 self->set_r_ankle_roll(new_r_ankle_roll); 07500 } 07501 } 07502 return 0; 07503 #ifndef TOLUA_RELEASE 07504 tolua_lerror: 07505 tolua_error(tolua_S,"#ferror in function 'set_r_ankle_roll'.",&tolua_err); 07506 return 0; 07507 #endif 07508 } 07509 #endif //#ifndef TOLUA_DISABLE 07510 07511 /* method: maxlenof_r_ankle_roll of class SetStiffnessParamsMessage */ 07512 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_ankle_roll00 07513 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_ankle_roll00(lua_State* tolua_S) 07514 { 07515 #ifndef TOLUA_RELEASE 07516 tolua_Error tolua_err; 07517 if ( 07518 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07519 !tolua_isnoobj(tolua_S,2,&tolua_err) 07520 ) 07521 goto tolua_lerror; 07522 else 07523 #endif 07524 { 07525 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07526 #ifndef TOLUA_RELEASE 07527 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_ankle_roll'", NULL); 07528 #endif 07529 { 07530 int tolua_ret = (int) self->maxlenof_r_ankle_roll(); 07531 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07532 } 07533 } 07534 return 1; 07535 #ifndef TOLUA_RELEASE 07536 tolua_lerror: 07537 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_ankle_roll'.",&tolua_err); 07538 return 0; 07539 #endif 07540 } 07541 #endif //#ifndef TOLUA_DISABLE 07542 07543 /* method: r_shoulder_pitch of class SetStiffnessParamsMessage */ 07544 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_shoulder_pitch00 07545 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_shoulder_pitch00(lua_State* tolua_S) 07546 { 07547 #ifndef TOLUA_RELEASE 07548 tolua_Error tolua_err; 07549 if ( 07550 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07551 !tolua_isnoobj(tolua_S,2,&tolua_err) 07552 ) 07553 goto tolua_lerror; 07554 else 07555 #endif 07556 { 07557 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07558 #ifndef TOLUA_RELEASE 07559 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_shoulder_pitch'", NULL); 07560 #endif 07561 { 07562 float tolua_ret = (float) self->r_shoulder_pitch(); 07563 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07564 } 07565 } 07566 return 1; 07567 #ifndef TOLUA_RELEASE 07568 tolua_lerror: 07569 tolua_error(tolua_S,"#ferror in function 'r_shoulder_pitch'.",&tolua_err); 07570 return 0; 07571 #endif 07572 } 07573 #endif //#ifndef TOLUA_DISABLE 07574 07575 /* method: set_r_shoulder_pitch of class SetStiffnessParamsMessage */ 07576 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_shoulder_pitch00 07577 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_shoulder_pitch00(lua_State* tolua_S) 07578 { 07579 #ifndef TOLUA_RELEASE 07580 tolua_Error tolua_err; 07581 if ( 07582 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07583 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 07584 !tolua_isnoobj(tolua_S,3,&tolua_err) 07585 ) 07586 goto tolua_lerror; 07587 else 07588 #endif 07589 { 07590 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07591 const float new_r_shoulder_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 07592 #ifndef TOLUA_RELEASE 07593 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_shoulder_pitch'", NULL); 07594 #endif 07595 { 07596 self->set_r_shoulder_pitch(new_r_shoulder_pitch); 07597 } 07598 } 07599 return 0; 07600 #ifndef TOLUA_RELEASE 07601 tolua_lerror: 07602 tolua_error(tolua_S,"#ferror in function 'set_r_shoulder_pitch'.",&tolua_err); 07603 return 0; 07604 #endif 07605 } 07606 #endif //#ifndef TOLUA_DISABLE 07607 07608 /* method: maxlenof_r_shoulder_pitch of class SetStiffnessParamsMessage */ 07609 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_shoulder_pitch00 07610 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_shoulder_pitch00(lua_State* tolua_S) 07611 { 07612 #ifndef TOLUA_RELEASE 07613 tolua_Error tolua_err; 07614 if ( 07615 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07616 !tolua_isnoobj(tolua_S,2,&tolua_err) 07617 ) 07618 goto tolua_lerror; 07619 else 07620 #endif 07621 { 07622 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07623 #ifndef TOLUA_RELEASE 07624 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_shoulder_pitch'", NULL); 07625 #endif 07626 { 07627 int tolua_ret = (int) self->maxlenof_r_shoulder_pitch(); 07628 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07629 } 07630 } 07631 return 1; 07632 #ifndef TOLUA_RELEASE 07633 tolua_lerror: 07634 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_shoulder_pitch'.",&tolua_err); 07635 return 0; 07636 #endif 07637 } 07638 #endif //#ifndef TOLUA_DISABLE 07639 07640 /* method: r_shoulder_roll of class SetStiffnessParamsMessage */ 07641 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_shoulder_roll00 07642 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_shoulder_roll00(lua_State* tolua_S) 07643 { 07644 #ifndef TOLUA_RELEASE 07645 tolua_Error tolua_err; 07646 if ( 07647 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07648 !tolua_isnoobj(tolua_S,2,&tolua_err) 07649 ) 07650 goto tolua_lerror; 07651 else 07652 #endif 07653 { 07654 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07655 #ifndef TOLUA_RELEASE 07656 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_shoulder_roll'", NULL); 07657 #endif 07658 { 07659 float tolua_ret = (float) self->r_shoulder_roll(); 07660 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07661 } 07662 } 07663 return 1; 07664 #ifndef TOLUA_RELEASE 07665 tolua_lerror: 07666 tolua_error(tolua_S,"#ferror in function 'r_shoulder_roll'.",&tolua_err); 07667 return 0; 07668 #endif 07669 } 07670 #endif //#ifndef TOLUA_DISABLE 07671 07672 /* method: set_r_shoulder_roll of class SetStiffnessParamsMessage */ 07673 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_shoulder_roll00 07674 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_shoulder_roll00(lua_State* tolua_S) 07675 { 07676 #ifndef TOLUA_RELEASE 07677 tolua_Error tolua_err; 07678 if ( 07679 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07680 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 07681 !tolua_isnoobj(tolua_S,3,&tolua_err) 07682 ) 07683 goto tolua_lerror; 07684 else 07685 #endif 07686 { 07687 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07688 const float new_r_shoulder_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 07689 #ifndef TOLUA_RELEASE 07690 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_shoulder_roll'", NULL); 07691 #endif 07692 { 07693 self->set_r_shoulder_roll(new_r_shoulder_roll); 07694 } 07695 } 07696 return 0; 07697 #ifndef TOLUA_RELEASE 07698 tolua_lerror: 07699 tolua_error(tolua_S,"#ferror in function 'set_r_shoulder_roll'.",&tolua_err); 07700 return 0; 07701 #endif 07702 } 07703 #endif //#ifndef TOLUA_DISABLE 07704 07705 /* method: maxlenof_r_shoulder_roll of class SetStiffnessParamsMessage */ 07706 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_shoulder_roll00 07707 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_shoulder_roll00(lua_State* tolua_S) 07708 { 07709 #ifndef TOLUA_RELEASE 07710 tolua_Error tolua_err; 07711 if ( 07712 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07713 !tolua_isnoobj(tolua_S,2,&tolua_err) 07714 ) 07715 goto tolua_lerror; 07716 else 07717 #endif 07718 { 07719 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07720 #ifndef TOLUA_RELEASE 07721 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_shoulder_roll'", NULL); 07722 #endif 07723 { 07724 int tolua_ret = (int) self->maxlenof_r_shoulder_roll(); 07725 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07726 } 07727 } 07728 return 1; 07729 #ifndef TOLUA_RELEASE 07730 tolua_lerror: 07731 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_shoulder_roll'.",&tolua_err); 07732 return 0; 07733 #endif 07734 } 07735 #endif //#ifndef TOLUA_DISABLE 07736 07737 /* method: r_elbow_yaw of class SetStiffnessParamsMessage */ 07738 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_elbow_yaw00 07739 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_elbow_yaw00(lua_State* tolua_S) 07740 { 07741 #ifndef TOLUA_RELEASE 07742 tolua_Error tolua_err; 07743 if ( 07744 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07745 !tolua_isnoobj(tolua_S,2,&tolua_err) 07746 ) 07747 goto tolua_lerror; 07748 else 07749 #endif 07750 { 07751 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07752 #ifndef TOLUA_RELEASE 07753 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_elbow_yaw'", NULL); 07754 #endif 07755 { 07756 float tolua_ret = (float) self->r_elbow_yaw(); 07757 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07758 } 07759 } 07760 return 1; 07761 #ifndef TOLUA_RELEASE 07762 tolua_lerror: 07763 tolua_error(tolua_S,"#ferror in function 'r_elbow_yaw'.",&tolua_err); 07764 return 0; 07765 #endif 07766 } 07767 #endif //#ifndef TOLUA_DISABLE 07768 07769 /* method: set_r_elbow_yaw of class SetStiffnessParamsMessage */ 07770 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_elbow_yaw00 07771 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_elbow_yaw00(lua_State* tolua_S) 07772 { 07773 #ifndef TOLUA_RELEASE 07774 tolua_Error tolua_err; 07775 if ( 07776 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07777 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 07778 !tolua_isnoobj(tolua_S,3,&tolua_err) 07779 ) 07780 goto tolua_lerror; 07781 else 07782 #endif 07783 { 07784 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07785 const float new_r_elbow_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 07786 #ifndef TOLUA_RELEASE 07787 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_elbow_yaw'", NULL); 07788 #endif 07789 { 07790 self->set_r_elbow_yaw(new_r_elbow_yaw); 07791 } 07792 } 07793 return 0; 07794 #ifndef TOLUA_RELEASE 07795 tolua_lerror: 07796 tolua_error(tolua_S,"#ferror in function 'set_r_elbow_yaw'.",&tolua_err); 07797 return 0; 07798 #endif 07799 } 07800 #endif //#ifndef TOLUA_DISABLE 07801 07802 /* method: maxlenof_r_elbow_yaw of class SetStiffnessParamsMessage */ 07803 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_elbow_yaw00 07804 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_elbow_yaw00(lua_State* tolua_S) 07805 { 07806 #ifndef TOLUA_RELEASE 07807 tolua_Error tolua_err; 07808 if ( 07809 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07810 !tolua_isnoobj(tolua_S,2,&tolua_err) 07811 ) 07812 goto tolua_lerror; 07813 else 07814 #endif 07815 { 07816 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07817 #ifndef TOLUA_RELEASE 07818 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_elbow_yaw'", NULL); 07819 #endif 07820 { 07821 int tolua_ret = (int) self->maxlenof_r_elbow_yaw(); 07822 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07823 } 07824 } 07825 return 1; 07826 #ifndef TOLUA_RELEASE 07827 tolua_lerror: 07828 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_elbow_yaw'.",&tolua_err); 07829 return 0; 07830 #endif 07831 } 07832 #endif //#ifndef TOLUA_DISABLE 07833 07834 /* method: r_elbow_roll of class SetStiffnessParamsMessage */ 07835 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_elbow_roll00 07836 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_elbow_roll00(lua_State* tolua_S) 07837 { 07838 #ifndef TOLUA_RELEASE 07839 tolua_Error tolua_err; 07840 if ( 07841 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07842 !tolua_isnoobj(tolua_S,2,&tolua_err) 07843 ) 07844 goto tolua_lerror; 07845 else 07846 #endif 07847 { 07848 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07849 #ifndef TOLUA_RELEASE 07850 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_elbow_roll'", NULL); 07851 #endif 07852 { 07853 float tolua_ret = (float) self->r_elbow_roll(); 07854 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07855 } 07856 } 07857 return 1; 07858 #ifndef TOLUA_RELEASE 07859 tolua_lerror: 07860 tolua_error(tolua_S,"#ferror in function 'r_elbow_roll'.",&tolua_err); 07861 return 0; 07862 #endif 07863 } 07864 #endif //#ifndef TOLUA_DISABLE 07865 07866 /* method: set_r_elbow_roll of class SetStiffnessParamsMessage */ 07867 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_elbow_roll00 07868 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_elbow_roll00(lua_State* tolua_S) 07869 { 07870 #ifndef TOLUA_RELEASE 07871 tolua_Error tolua_err; 07872 if ( 07873 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07874 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 07875 !tolua_isnoobj(tolua_S,3,&tolua_err) 07876 ) 07877 goto tolua_lerror; 07878 else 07879 #endif 07880 { 07881 fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07882 const float new_r_elbow_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 07883 #ifndef TOLUA_RELEASE 07884 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_elbow_roll'", NULL); 07885 #endif 07886 { 07887 self->set_r_elbow_roll(new_r_elbow_roll); 07888 } 07889 } 07890 return 0; 07891 #ifndef TOLUA_RELEASE 07892 tolua_lerror: 07893 tolua_error(tolua_S,"#ferror in function 'set_r_elbow_roll'.",&tolua_err); 07894 return 0; 07895 #endif 07896 } 07897 #endif //#ifndef TOLUA_DISABLE 07898 07899 /* method: maxlenof_r_elbow_roll of class SetStiffnessParamsMessage */ 07900 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_elbow_roll00 07901 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_elbow_roll00(lua_State* tolua_S) 07902 { 07903 #ifndef TOLUA_RELEASE 07904 tolua_Error tolua_err; 07905 if ( 07906 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage",0,&tolua_err) || 07907 !tolua_isnoobj(tolua_S,2,&tolua_err) 07908 ) 07909 goto tolua_lerror; 07910 else 07911 #endif 07912 { 07913 const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage* self = (const fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage*) tolua_tousertype(tolua_S,1,0); 07914 #ifndef TOLUA_RELEASE 07915 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_elbow_roll'", NULL); 07916 #endif 07917 { 07918 int tolua_ret = (int) self->maxlenof_r_elbow_roll(); 07919 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07920 } 07921 } 07922 return 1; 07923 #ifndef TOLUA_RELEASE 07924 tolua_lerror: 07925 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_elbow_roll'.",&tolua_err); 07926 return 0; 07927 #endif 07928 } 07929 #endif //#ifndef TOLUA_DISABLE 07930 07931 /* method: is_walking of class fawkes::HumanoidMotionInterface */ 07932 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_is_walking00 07933 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_is_walking00(lua_State* tolua_S) 07934 { 07935 #ifndef TOLUA_RELEASE 07936 tolua_Error tolua_err; 07937 if ( 07938 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 07939 !tolua_isnoobj(tolua_S,2,&tolua_err) 07940 ) 07941 goto tolua_lerror; 07942 else 07943 #endif 07944 { 07945 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 07946 #ifndef TOLUA_RELEASE 07947 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_walking'", NULL); 07948 #endif 07949 { 07950 bool tolua_ret = (bool) self->is_walking(); 07951 tolua_pushboolean(tolua_S,(bool)tolua_ret); 07952 } 07953 } 07954 return 1; 07955 #ifndef TOLUA_RELEASE 07956 tolua_lerror: 07957 tolua_error(tolua_S,"#ferror in function 'is_walking'.",&tolua_err); 07958 return 0; 07959 #endif 07960 } 07961 #endif //#ifndef TOLUA_DISABLE 07962 07963 /* method: set_walking of class fawkes::HumanoidMotionInterface */ 07964 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_walking00 07965 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_walking00(lua_State* tolua_S) 07966 { 07967 #ifndef TOLUA_RELEASE 07968 tolua_Error tolua_err; 07969 if ( 07970 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 07971 !tolua_isboolean(tolua_S,2,0,&tolua_err) || 07972 !tolua_isnoobj(tolua_S,3,&tolua_err) 07973 ) 07974 goto tolua_lerror; 07975 else 07976 #endif 07977 { 07978 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 07979 const bool new_walking = ((const bool) tolua_toboolean(tolua_S,2,0)); 07980 #ifndef TOLUA_RELEASE 07981 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_walking'", NULL); 07982 #endif 07983 { 07984 self->set_walking(new_walking); 07985 } 07986 } 07987 return 0; 07988 #ifndef TOLUA_RELEASE 07989 tolua_lerror: 07990 tolua_error(tolua_S,"#ferror in function 'set_walking'.",&tolua_err); 07991 return 0; 07992 #endif 07993 } 07994 #endif //#ifndef TOLUA_DISABLE 07995 07996 /* method: maxlenof_walking of class fawkes::HumanoidMotionInterface */ 07997 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_walking00 07998 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_walking00(lua_State* tolua_S) 07999 { 08000 #ifndef TOLUA_RELEASE 08001 tolua_Error tolua_err; 08002 if ( 08003 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 08004 !tolua_isnoobj(tolua_S,2,&tolua_err) 08005 ) 08006 goto tolua_lerror; 08007 else 08008 #endif 08009 { 08010 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08011 #ifndef TOLUA_RELEASE 08012 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_walking'", NULL); 08013 #endif 08014 { 08015 int tolua_ret = (int) self->maxlenof_walking(); 08016 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08017 } 08018 } 08019 return 1; 08020 #ifndef TOLUA_RELEASE 08021 tolua_lerror: 08022 tolua_error(tolua_S,"#ferror in function 'maxlenof_walking'.",&tolua_err); 08023 return 0; 08024 #endif 08025 } 08026 #endif //#ifndef TOLUA_DISABLE 08027 08028 /* method: supporting_leg of class fawkes::HumanoidMotionInterface */ 08029 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_supporting_leg00 08030 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_supporting_leg00(lua_State* tolua_S) 08031 { 08032 #ifndef TOLUA_RELEASE 08033 tolua_Error tolua_err; 08034 if ( 08035 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08036 !tolua_isnoobj(tolua_S,2,&tolua_err) 08037 ) 08038 goto tolua_lerror; 08039 else 08040 #endif 08041 { 08042 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08043 #ifndef TOLUA_RELEASE 08044 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'supporting_leg'", NULL); 08045 #endif 08046 { 08047 fawkes::HumanoidMotionInterface::LegEnum tolua_ret = (fawkes::HumanoidMotionInterface::LegEnum) self->supporting_leg(); 08048 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08049 } 08050 } 08051 return 1; 08052 #ifndef TOLUA_RELEASE 08053 tolua_lerror: 08054 tolua_error(tolua_S,"#ferror in function 'supporting_leg'.",&tolua_err); 08055 return 0; 08056 #endif 08057 } 08058 #endif //#ifndef TOLUA_DISABLE 08059 08060 /* method: set_supporting_leg of class fawkes::HumanoidMotionInterface */ 08061 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_supporting_leg00 08062 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_supporting_leg00(lua_State* tolua_S) 08063 { 08064 #ifndef TOLUA_RELEASE 08065 tolua_Error tolua_err; 08066 if ( 08067 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08068 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 08069 !tolua_isnoobj(tolua_S,3,&tolua_err) 08070 ) 08071 goto tolua_lerror; 08072 else 08073 #endif 08074 { 08075 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08076 const fawkes::HumanoidMotionInterface::LegEnum new_supporting_leg = ((const fawkes::HumanoidMotionInterface::LegEnum) (int) tolua_tonumber(tolua_S,2,0)); 08077 #ifndef TOLUA_RELEASE 08078 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_supporting_leg'", NULL); 08079 #endif 08080 { 08081 self->set_supporting_leg(new_supporting_leg); 08082 } 08083 } 08084 return 0; 08085 #ifndef TOLUA_RELEASE 08086 tolua_lerror: 08087 tolua_error(tolua_S,"#ferror in function 'set_supporting_leg'.",&tolua_err); 08088 return 0; 08089 #endif 08090 } 08091 #endif //#ifndef TOLUA_DISABLE 08092 08093 /* method: maxlenof_supporting_leg of class fawkes::HumanoidMotionInterface */ 08094 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_supporting_leg00 08095 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_supporting_leg00(lua_State* tolua_S) 08096 { 08097 #ifndef TOLUA_RELEASE 08098 tolua_Error tolua_err; 08099 if ( 08100 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 08101 !tolua_isnoobj(tolua_S,2,&tolua_err) 08102 ) 08103 goto tolua_lerror; 08104 else 08105 #endif 08106 { 08107 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08108 #ifndef TOLUA_RELEASE 08109 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_supporting_leg'", NULL); 08110 #endif 08111 { 08112 int tolua_ret = (int) self->maxlenof_supporting_leg(); 08113 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08114 } 08115 } 08116 return 1; 08117 #ifndef TOLUA_RELEASE 08118 tolua_lerror: 08119 tolua_error(tolua_S,"#ferror in function 'maxlenof_supporting_leg'.",&tolua_err); 08120 return 0; 08121 #endif 08122 } 08123 #endif //#ifndef TOLUA_DISABLE 08124 08125 /* method: max_step_length of class fawkes::HumanoidMotionInterface */ 08126 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_max_step_length00 08127 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_max_step_length00(lua_State* tolua_S) 08128 { 08129 #ifndef TOLUA_RELEASE 08130 tolua_Error tolua_err; 08131 if ( 08132 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08133 !tolua_isnoobj(tolua_S,2,&tolua_err) 08134 ) 08135 goto tolua_lerror; 08136 else 08137 #endif 08138 { 08139 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08140 #ifndef TOLUA_RELEASE 08141 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'max_step_length'", NULL); 08142 #endif 08143 { 08144 float tolua_ret = (float) self->max_step_length(); 08145 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08146 } 08147 } 08148 return 1; 08149 #ifndef TOLUA_RELEASE 08150 tolua_lerror: 08151 tolua_error(tolua_S,"#ferror in function 'max_step_length'.",&tolua_err); 08152 return 0; 08153 #endif 08154 } 08155 #endif //#ifndef TOLUA_DISABLE 08156 08157 /* method: set_max_step_length of class fawkes::HumanoidMotionInterface */ 08158 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_max_step_length00 08159 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_max_step_length00(lua_State* tolua_S) 08160 { 08161 #ifndef TOLUA_RELEASE 08162 tolua_Error tolua_err; 08163 if ( 08164 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08165 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 08166 !tolua_isnoobj(tolua_S,3,&tolua_err) 08167 ) 08168 goto tolua_lerror; 08169 else 08170 #endif 08171 { 08172 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08173 const float new_max_step_length = ((const float) tolua_tonumber(tolua_S,2,0)); 08174 #ifndef TOLUA_RELEASE 08175 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_max_step_length'", NULL); 08176 #endif 08177 { 08178 self->set_max_step_length(new_max_step_length); 08179 } 08180 } 08181 return 0; 08182 #ifndef TOLUA_RELEASE 08183 tolua_lerror: 08184 tolua_error(tolua_S,"#ferror in function 'set_max_step_length'.",&tolua_err); 08185 return 0; 08186 #endif 08187 } 08188 #endif //#ifndef TOLUA_DISABLE 08189 08190 /* method: maxlenof_max_step_length of class fawkes::HumanoidMotionInterface */ 08191 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_max_step_length00 08192 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_max_step_length00(lua_State* tolua_S) 08193 { 08194 #ifndef TOLUA_RELEASE 08195 tolua_Error tolua_err; 08196 if ( 08197 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 08198 !tolua_isnoobj(tolua_S,2,&tolua_err) 08199 ) 08200 goto tolua_lerror; 08201 else 08202 #endif 08203 { 08204 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08205 #ifndef TOLUA_RELEASE 08206 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_max_step_length'", NULL); 08207 #endif 08208 { 08209 int tolua_ret = (int) self->maxlenof_max_step_length(); 08210 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08211 } 08212 } 08213 return 1; 08214 #ifndef TOLUA_RELEASE 08215 tolua_lerror: 08216 tolua_error(tolua_S,"#ferror in function 'maxlenof_max_step_length'.",&tolua_err); 08217 return 0; 08218 #endif 08219 } 08220 #endif //#ifndef TOLUA_DISABLE 08221 08222 /* method: max_step_height of class fawkes::HumanoidMotionInterface */ 08223 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_max_step_height00 08224 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_max_step_height00(lua_State* tolua_S) 08225 { 08226 #ifndef TOLUA_RELEASE 08227 tolua_Error tolua_err; 08228 if ( 08229 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08230 !tolua_isnoobj(tolua_S,2,&tolua_err) 08231 ) 08232 goto tolua_lerror; 08233 else 08234 #endif 08235 { 08236 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08237 #ifndef TOLUA_RELEASE 08238 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'max_step_height'", NULL); 08239 #endif 08240 { 08241 float tolua_ret = (float) self->max_step_height(); 08242 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08243 } 08244 } 08245 return 1; 08246 #ifndef TOLUA_RELEASE 08247 tolua_lerror: 08248 tolua_error(tolua_S,"#ferror in function 'max_step_height'.",&tolua_err); 08249 return 0; 08250 #endif 08251 } 08252 #endif //#ifndef TOLUA_DISABLE 08253 08254 /* method: set_max_step_height of class fawkes::HumanoidMotionInterface */ 08255 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_max_step_height00 08256 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_max_step_height00(lua_State* tolua_S) 08257 { 08258 #ifndef TOLUA_RELEASE 08259 tolua_Error tolua_err; 08260 if ( 08261 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08262 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 08263 !tolua_isnoobj(tolua_S,3,&tolua_err) 08264 ) 08265 goto tolua_lerror; 08266 else 08267 #endif 08268 { 08269 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08270 const float new_max_step_height = ((const float) tolua_tonumber(tolua_S,2,0)); 08271 #ifndef TOLUA_RELEASE 08272 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_max_step_height'", NULL); 08273 #endif 08274 { 08275 self->set_max_step_height(new_max_step_height); 08276 } 08277 } 08278 return 0; 08279 #ifndef TOLUA_RELEASE 08280 tolua_lerror: 08281 tolua_error(tolua_S,"#ferror in function 'set_max_step_height'.",&tolua_err); 08282 return 0; 08283 #endif 08284 } 08285 #endif //#ifndef TOLUA_DISABLE 08286 08287 /* method: maxlenof_max_step_height of class fawkes::HumanoidMotionInterface */ 08288 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_max_step_height00 08289 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_max_step_height00(lua_State* tolua_S) 08290 { 08291 #ifndef TOLUA_RELEASE 08292 tolua_Error tolua_err; 08293 if ( 08294 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 08295 !tolua_isnoobj(tolua_S,2,&tolua_err) 08296 ) 08297 goto tolua_lerror; 08298 else 08299 #endif 08300 { 08301 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08302 #ifndef TOLUA_RELEASE 08303 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_max_step_height'", NULL); 08304 #endif 08305 { 08306 int tolua_ret = (int) self->maxlenof_max_step_height(); 08307 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08308 } 08309 } 08310 return 1; 08311 #ifndef TOLUA_RELEASE 08312 tolua_lerror: 08313 tolua_error(tolua_S,"#ferror in function 'maxlenof_max_step_height'.",&tolua_err); 08314 return 0; 08315 #endif 08316 } 08317 #endif //#ifndef TOLUA_DISABLE 08318 08319 /* method: max_step_side of class fawkes::HumanoidMotionInterface */ 08320 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_max_step_side00 08321 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_max_step_side00(lua_State* tolua_S) 08322 { 08323 #ifndef TOLUA_RELEASE 08324 tolua_Error tolua_err; 08325 if ( 08326 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08327 !tolua_isnoobj(tolua_S,2,&tolua_err) 08328 ) 08329 goto tolua_lerror; 08330 else 08331 #endif 08332 { 08333 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08334 #ifndef TOLUA_RELEASE 08335 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'max_step_side'", NULL); 08336 #endif 08337 { 08338 float tolua_ret = (float) self->max_step_side(); 08339 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08340 } 08341 } 08342 return 1; 08343 #ifndef TOLUA_RELEASE 08344 tolua_lerror: 08345 tolua_error(tolua_S,"#ferror in function 'max_step_side'.",&tolua_err); 08346 return 0; 08347 #endif 08348 } 08349 #endif //#ifndef TOLUA_DISABLE 08350 08351 /* method: set_max_step_side of class fawkes::HumanoidMotionInterface */ 08352 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_max_step_side00 08353 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_max_step_side00(lua_State* tolua_S) 08354 { 08355 #ifndef TOLUA_RELEASE 08356 tolua_Error tolua_err; 08357 if ( 08358 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08359 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 08360 !tolua_isnoobj(tolua_S,3,&tolua_err) 08361 ) 08362 goto tolua_lerror; 08363 else 08364 #endif 08365 { 08366 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08367 const float new_max_step_side = ((const float) tolua_tonumber(tolua_S,2,0)); 08368 #ifndef TOLUA_RELEASE 08369 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_max_step_side'", NULL); 08370 #endif 08371 { 08372 self->set_max_step_side(new_max_step_side); 08373 } 08374 } 08375 return 0; 08376 #ifndef TOLUA_RELEASE 08377 tolua_lerror: 08378 tolua_error(tolua_S,"#ferror in function 'set_max_step_side'.",&tolua_err); 08379 return 0; 08380 #endif 08381 } 08382 #endif //#ifndef TOLUA_DISABLE 08383 08384 /* method: maxlenof_max_step_side of class fawkes::HumanoidMotionInterface */ 08385 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_max_step_side00 08386 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_max_step_side00(lua_State* tolua_S) 08387 { 08388 #ifndef TOLUA_RELEASE 08389 tolua_Error tolua_err; 08390 if ( 08391 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 08392 !tolua_isnoobj(tolua_S,2,&tolua_err) 08393 ) 08394 goto tolua_lerror; 08395 else 08396 #endif 08397 { 08398 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08399 #ifndef TOLUA_RELEASE 08400 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_max_step_side'", NULL); 08401 #endif 08402 { 08403 int tolua_ret = (int) self->maxlenof_max_step_side(); 08404 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08405 } 08406 } 08407 return 1; 08408 #ifndef TOLUA_RELEASE 08409 tolua_lerror: 08410 tolua_error(tolua_S,"#ferror in function 'maxlenof_max_step_side'.",&tolua_err); 08411 return 0; 08412 #endif 08413 } 08414 #endif //#ifndef TOLUA_DISABLE 08415 08416 /* method: max_step_turn of class fawkes::HumanoidMotionInterface */ 08417 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_max_step_turn00 08418 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_max_step_turn00(lua_State* tolua_S) 08419 { 08420 #ifndef TOLUA_RELEASE 08421 tolua_Error tolua_err; 08422 if ( 08423 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08424 !tolua_isnoobj(tolua_S,2,&tolua_err) 08425 ) 08426 goto tolua_lerror; 08427 else 08428 #endif 08429 { 08430 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08431 #ifndef TOLUA_RELEASE 08432 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'max_step_turn'", NULL); 08433 #endif 08434 { 08435 float tolua_ret = (float) self->max_step_turn(); 08436 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08437 } 08438 } 08439 return 1; 08440 #ifndef TOLUA_RELEASE 08441 tolua_lerror: 08442 tolua_error(tolua_S,"#ferror in function 'max_step_turn'.",&tolua_err); 08443 return 0; 08444 #endif 08445 } 08446 #endif //#ifndef TOLUA_DISABLE 08447 08448 /* method: set_max_step_turn of class fawkes::HumanoidMotionInterface */ 08449 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_max_step_turn00 08450 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_max_step_turn00(lua_State* tolua_S) 08451 { 08452 #ifndef TOLUA_RELEASE 08453 tolua_Error tolua_err; 08454 if ( 08455 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08456 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 08457 !tolua_isnoobj(tolua_S,3,&tolua_err) 08458 ) 08459 goto tolua_lerror; 08460 else 08461 #endif 08462 { 08463 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08464 const float new_max_step_turn = ((const float) tolua_tonumber(tolua_S,2,0)); 08465 #ifndef TOLUA_RELEASE 08466 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_max_step_turn'", NULL); 08467 #endif 08468 { 08469 self->set_max_step_turn(new_max_step_turn); 08470 } 08471 } 08472 return 0; 08473 #ifndef TOLUA_RELEASE 08474 tolua_lerror: 08475 tolua_error(tolua_S,"#ferror in function 'set_max_step_turn'.",&tolua_err); 08476 return 0; 08477 #endif 08478 } 08479 #endif //#ifndef TOLUA_DISABLE 08480 08481 /* method: maxlenof_max_step_turn of class fawkes::HumanoidMotionInterface */ 08482 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_max_step_turn00 08483 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_max_step_turn00(lua_State* tolua_S) 08484 { 08485 #ifndef TOLUA_RELEASE 08486 tolua_Error tolua_err; 08487 if ( 08488 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 08489 !tolua_isnoobj(tolua_S,2,&tolua_err) 08490 ) 08491 goto tolua_lerror; 08492 else 08493 #endif 08494 { 08495 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08496 #ifndef TOLUA_RELEASE 08497 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_max_step_turn'", NULL); 08498 #endif 08499 { 08500 int tolua_ret = (int) self->maxlenof_max_step_turn(); 08501 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08502 } 08503 } 08504 return 1; 08505 #ifndef TOLUA_RELEASE 08506 tolua_lerror: 08507 tolua_error(tolua_S,"#ferror in function 'maxlenof_max_step_turn'.",&tolua_err); 08508 return 0; 08509 #endif 08510 } 08511 #endif //#ifndef TOLUA_DISABLE 08512 08513 /* method: zmp_offset_forward of class fawkes::HumanoidMotionInterface */ 08514 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_zmp_offset_forward00 08515 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_zmp_offset_forward00(lua_State* tolua_S) 08516 { 08517 #ifndef TOLUA_RELEASE 08518 tolua_Error tolua_err; 08519 if ( 08520 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08521 !tolua_isnoobj(tolua_S,2,&tolua_err) 08522 ) 08523 goto tolua_lerror; 08524 else 08525 #endif 08526 { 08527 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08528 #ifndef TOLUA_RELEASE 08529 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'zmp_offset_forward'", NULL); 08530 #endif 08531 { 08532 float tolua_ret = (float) self->zmp_offset_forward(); 08533 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08534 } 08535 } 08536 return 1; 08537 #ifndef TOLUA_RELEASE 08538 tolua_lerror: 08539 tolua_error(tolua_S,"#ferror in function 'zmp_offset_forward'.",&tolua_err); 08540 return 0; 08541 #endif 08542 } 08543 #endif //#ifndef TOLUA_DISABLE 08544 08545 /* method: set_zmp_offset_forward of class fawkes::HumanoidMotionInterface */ 08546 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_zmp_offset_forward00 08547 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_zmp_offset_forward00(lua_State* tolua_S) 08548 { 08549 #ifndef TOLUA_RELEASE 08550 tolua_Error tolua_err; 08551 if ( 08552 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08553 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 08554 !tolua_isnoobj(tolua_S,3,&tolua_err) 08555 ) 08556 goto tolua_lerror; 08557 else 08558 #endif 08559 { 08560 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08561 const float new_zmp_offset_forward = ((const float) tolua_tonumber(tolua_S,2,0)); 08562 #ifndef TOLUA_RELEASE 08563 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_zmp_offset_forward'", NULL); 08564 #endif 08565 { 08566 self->set_zmp_offset_forward(new_zmp_offset_forward); 08567 } 08568 } 08569 return 0; 08570 #ifndef TOLUA_RELEASE 08571 tolua_lerror: 08572 tolua_error(tolua_S,"#ferror in function 'set_zmp_offset_forward'.",&tolua_err); 08573 return 0; 08574 #endif 08575 } 08576 #endif //#ifndef TOLUA_DISABLE 08577 08578 /* method: maxlenof_zmp_offset_forward of class fawkes::HumanoidMotionInterface */ 08579 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_zmp_offset_forward00 08580 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_zmp_offset_forward00(lua_State* tolua_S) 08581 { 08582 #ifndef TOLUA_RELEASE 08583 tolua_Error tolua_err; 08584 if ( 08585 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 08586 !tolua_isnoobj(tolua_S,2,&tolua_err) 08587 ) 08588 goto tolua_lerror; 08589 else 08590 #endif 08591 { 08592 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08593 #ifndef TOLUA_RELEASE 08594 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_zmp_offset_forward'", NULL); 08595 #endif 08596 { 08597 int tolua_ret = (int) self->maxlenof_zmp_offset_forward(); 08598 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08599 } 08600 } 08601 return 1; 08602 #ifndef TOLUA_RELEASE 08603 tolua_lerror: 08604 tolua_error(tolua_S,"#ferror in function 'maxlenof_zmp_offset_forward'.",&tolua_err); 08605 return 0; 08606 #endif 08607 } 08608 #endif //#ifndef TOLUA_DISABLE 08609 08610 /* method: zmp_offset_sideward of class fawkes::HumanoidMotionInterface */ 08611 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_zmp_offset_sideward00 08612 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_zmp_offset_sideward00(lua_State* tolua_S) 08613 { 08614 #ifndef TOLUA_RELEASE 08615 tolua_Error tolua_err; 08616 if ( 08617 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08618 !tolua_isnoobj(tolua_S,2,&tolua_err) 08619 ) 08620 goto tolua_lerror; 08621 else 08622 #endif 08623 { 08624 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08625 #ifndef TOLUA_RELEASE 08626 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'zmp_offset_sideward'", NULL); 08627 #endif 08628 { 08629 float tolua_ret = (float) self->zmp_offset_sideward(); 08630 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08631 } 08632 } 08633 return 1; 08634 #ifndef TOLUA_RELEASE 08635 tolua_lerror: 08636 tolua_error(tolua_S,"#ferror in function 'zmp_offset_sideward'.",&tolua_err); 08637 return 0; 08638 #endif 08639 } 08640 #endif //#ifndef TOLUA_DISABLE 08641 08642 /* method: set_zmp_offset_sideward of class fawkes::HumanoidMotionInterface */ 08643 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_zmp_offset_sideward00 08644 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_zmp_offset_sideward00(lua_State* tolua_S) 08645 { 08646 #ifndef TOLUA_RELEASE 08647 tolua_Error tolua_err; 08648 if ( 08649 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08650 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 08651 !tolua_isnoobj(tolua_S,3,&tolua_err) 08652 ) 08653 goto tolua_lerror; 08654 else 08655 #endif 08656 { 08657 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08658 const float new_zmp_offset_sideward = ((const float) tolua_tonumber(tolua_S,2,0)); 08659 #ifndef TOLUA_RELEASE 08660 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_zmp_offset_sideward'", NULL); 08661 #endif 08662 { 08663 self->set_zmp_offset_sideward(new_zmp_offset_sideward); 08664 } 08665 } 08666 return 0; 08667 #ifndef TOLUA_RELEASE 08668 tolua_lerror: 08669 tolua_error(tolua_S,"#ferror in function 'set_zmp_offset_sideward'.",&tolua_err); 08670 return 0; 08671 #endif 08672 } 08673 #endif //#ifndef TOLUA_DISABLE 08674 08675 /* method: maxlenof_zmp_offset_sideward of class fawkes::HumanoidMotionInterface */ 08676 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_zmp_offset_sideward00 08677 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_zmp_offset_sideward00(lua_State* tolua_S) 08678 { 08679 #ifndef TOLUA_RELEASE 08680 tolua_Error tolua_err; 08681 if ( 08682 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 08683 !tolua_isnoobj(tolua_S,2,&tolua_err) 08684 ) 08685 goto tolua_lerror; 08686 else 08687 #endif 08688 { 08689 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08690 #ifndef TOLUA_RELEASE 08691 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_zmp_offset_sideward'", NULL); 08692 #endif 08693 { 08694 int tolua_ret = (int) self->maxlenof_zmp_offset_sideward(); 08695 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08696 } 08697 } 08698 return 1; 08699 #ifndef TOLUA_RELEASE 08700 tolua_lerror: 08701 tolua_error(tolua_S,"#ferror in function 'maxlenof_zmp_offset_sideward'.",&tolua_err); 08702 return 0; 08703 #endif 08704 } 08705 #endif //#ifndef TOLUA_DISABLE 08706 08707 /* method: l_hip_roll_compensation of class fawkes::HumanoidMotionInterface */ 08708 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_l_hip_roll_compensation00 08709 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_l_hip_roll_compensation00(lua_State* tolua_S) 08710 { 08711 #ifndef TOLUA_RELEASE 08712 tolua_Error tolua_err; 08713 if ( 08714 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08715 !tolua_isnoobj(tolua_S,2,&tolua_err) 08716 ) 08717 goto tolua_lerror; 08718 else 08719 #endif 08720 { 08721 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08722 #ifndef TOLUA_RELEASE 08723 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hip_roll_compensation'", NULL); 08724 #endif 08725 { 08726 float tolua_ret = (float) self->l_hip_roll_compensation(); 08727 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08728 } 08729 } 08730 return 1; 08731 #ifndef TOLUA_RELEASE 08732 tolua_lerror: 08733 tolua_error(tolua_S,"#ferror in function 'l_hip_roll_compensation'.",&tolua_err); 08734 return 0; 08735 #endif 08736 } 08737 #endif //#ifndef TOLUA_DISABLE 08738 08739 /* method: set_l_hip_roll_compensation of class fawkes::HumanoidMotionInterface */ 08740 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_l_hip_roll_compensation00 08741 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_l_hip_roll_compensation00(lua_State* tolua_S) 08742 { 08743 #ifndef TOLUA_RELEASE 08744 tolua_Error tolua_err; 08745 if ( 08746 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08747 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 08748 !tolua_isnoobj(tolua_S,3,&tolua_err) 08749 ) 08750 goto tolua_lerror; 08751 else 08752 #endif 08753 { 08754 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08755 const float new_l_hip_roll_compensation = ((const float) tolua_tonumber(tolua_S,2,0)); 08756 #ifndef TOLUA_RELEASE 08757 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hip_roll_compensation'", NULL); 08758 #endif 08759 { 08760 self->set_l_hip_roll_compensation(new_l_hip_roll_compensation); 08761 } 08762 } 08763 return 0; 08764 #ifndef TOLUA_RELEASE 08765 tolua_lerror: 08766 tolua_error(tolua_S,"#ferror in function 'set_l_hip_roll_compensation'.",&tolua_err); 08767 return 0; 08768 #endif 08769 } 08770 #endif //#ifndef TOLUA_DISABLE 08771 08772 /* method: maxlenof_l_hip_roll_compensation of class fawkes::HumanoidMotionInterface */ 08773 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_l_hip_roll_compensation00 08774 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_l_hip_roll_compensation00(lua_State* tolua_S) 08775 { 08776 #ifndef TOLUA_RELEASE 08777 tolua_Error tolua_err; 08778 if ( 08779 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 08780 !tolua_isnoobj(tolua_S,2,&tolua_err) 08781 ) 08782 goto tolua_lerror; 08783 else 08784 #endif 08785 { 08786 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08787 #ifndef TOLUA_RELEASE 08788 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hip_roll_compensation'", NULL); 08789 #endif 08790 { 08791 int tolua_ret = (int) self->maxlenof_l_hip_roll_compensation(); 08792 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08793 } 08794 } 08795 return 1; 08796 #ifndef TOLUA_RELEASE 08797 tolua_lerror: 08798 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hip_roll_compensation'.",&tolua_err); 08799 return 0; 08800 #endif 08801 } 08802 #endif //#ifndef TOLUA_DISABLE 08803 08804 /* method: r_hip_roll_compensation of class fawkes::HumanoidMotionInterface */ 08805 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_r_hip_roll_compensation00 08806 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_r_hip_roll_compensation00(lua_State* tolua_S) 08807 { 08808 #ifndef TOLUA_RELEASE 08809 tolua_Error tolua_err; 08810 if ( 08811 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08812 !tolua_isnoobj(tolua_S,2,&tolua_err) 08813 ) 08814 goto tolua_lerror; 08815 else 08816 #endif 08817 { 08818 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08819 #ifndef TOLUA_RELEASE 08820 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hip_roll_compensation'", NULL); 08821 #endif 08822 { 08823 float tolua_ret = (float) self->r_hip_roll_compensation(); 08824 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08825 } 08826 } 08827 return 1; 08828 #ifndef TOLUA_RELEASE 08829 tolua_lerror: 08830 tolua_error(tolua_S,"#ferror in function 'r_hip_roll_compensation'.",&tolua_err); 08831 return 0; 08832 #endif 08833 } 08834 #endif //#ifndef TOLUA_DISABLE 08835 08836 /* method: set_r_hip_roll_compensation of class fawkes::HumanoidMotionInterface */ 08837 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_r_hip_roll_compensation00 08838 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_r_hip_roll_compensation00(lua_State* tolua_S) 08839 { 08840 #ifndef TOLUA_RELEASE 08841 tolua_Error tolua_err; 08842 if ( 08843 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08844 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 08845 !tolua_isnoobj(tolua_S,3,&tolua_err) 08846 ) 08847 goto tolua_lerror; 08848 else 08849 #endif 08850 { 08851 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08852 const float new_r_hip_roll_compensation = ((const float) tolua_tonumber(tolua_S,2,0)); 08853 #ifndef TOLUA_RELEASE 08854 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hip_roll_compensation'", NULL); 08855 #endif 08856 { 08857 self->set_r_hip_roll_compensation(new_r_hip_roll_compensation); 08858 } 08859 } 08860 return 0; 08861 #ifndef TOLUA_RELEASE 08862 tolua_lerror: 08863 tolua_error(tolua_S,"#ferror in function 'set_r_hip_roll_compensation'.",&tolua_err); 08864 return 0; 08865 #endif 08866 } 08867 #endif //#ifndef TOLUA_DISABLE 08868 08869 /* method: maxlenof_r_hip_roll_compensation of class fawkes::HumanoidMotionInterface */ 08870 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_r_hip_roll_compensation00 08871 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_r_hip_roll_compensation00(lua_State* tolua_S) 08872 { 08873 #ifndef TOLUA_RELEASE 08874 tolua_Error tolua_err; 08875 if ( 08876 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 08877 !tolua_isnoobj(tolua_S,2,&tolua_err) 08878 ) 08879 goto tolua_lerror; 08880 else 08881 #endif 08882 { 08883 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08884 #ifndef TOLUA_RELEASE 08885 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hip_roll_compensation'", NULL); 08886 #endif 08887 { 08888 int tolua_ret = (int) self->maxlenof_r_hip_roll_compensation(); 08889 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08890 } 08891 } 08892 return 1; 08893 #ifndef TOLUA_RELEASE 08894 tolua_lerror: 08895 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hip_roll_compensation'.",&tolua_err); 08896 return 0; 08897 #endif 08898 } 08899 #endif //#ifndef TOLUA_DISABLE 08900 08901 /* method: hip_height of class fawkes::HumanoidMotionInterface */ 08902 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_hip_height00 08903 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_hip_height00(lua_State* tolua_S) 08904 { 08905 #ifndef TOLUA_RELEASE 08906 tolua_Error tolua_err; 08907 if ( 08908 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08909 !tolua_isnoobj(tolua_S,2,&tolua_err) 08910 ) 08911 goto tolua_lerror; 08912 else 08913 #endif 08914 { 08915 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08916 #ifndef TOLUA_RELEASE 08917 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hip_height'", NULL); 08918 #endif 08919 { 08920 float tolua_ret = (float) self->hip_height(); 08921 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08922 } 08923 } 08924 return 1; 08925 #ifndef TOLUA_RELEASE 08926 tolua_lerror: 08927 tolua_error(tolua_S,"#ferror in function 'hip_height'.",&tolua_err); 08928 return 0; 08929 #endif 08930 } 08931 #endif //#ifndef TOLUA_DISABLE 08932 08933 /* method: set_hip_height of class fawkes::HumanoidMotionInterface */ 08934 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_hip_height00 08935 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_hip_height00(lua_State* tolua_S) 08936 { 08937 #ifndef TOLUA_RELEASE 08938 tolua_Error tolua_err; 08939 if ( 08940 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 08941 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 08942 !tolua_isnoobj(tolua_S,3,&tolua_err) 08943 ) 08944 goto tolua_lerror; 08945 else 08946 #endif 08947 { 08948 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08949 const float new_hip_height = ((const float) tolua_tonumber(tolua_S,2,0)); 08950 #ifndef TOLUA_RELEASE 08951 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_hip_height'", NULL); 08952 #endif 08953 { 08954 self->set_hip_height(new_hip_height); 08955 } 08956 } 08957 return 0; 08958 #ifndef TOLUA_RELEASE 08959 tolua_lerror: 08960 tolua_error(tolua_S,"#ferror in function 'set_hip_height'.",&tolua_err); 08961 return 0; 08962 #endif 08963 } 08964 #endif //#ifndef TOLUA_DISABLE 08965 08966 /* method: maxlenof_hip_height of class fawkes::HumanoidMotionInterface */ 08967 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_hip_height00 08968 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_hip_height00(lua_State* tolua_S) 08969 { 08970 #ifndef TOLUA_RELEASE 08971 tolua_Error tolua_err; 08972 if ( 08973 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 08974 !tolua_isnoobj(tolua_S,2,&tolua_err) 08975 ) 08976 goto tolua_lerror; 08977 else 08978 #endif 08979 { 08980 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 08981 #ifndef TOLUA_RELEASE 08982 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_hip_height'", NULL); 08983 #endif 08984 { 08985 int tolua_ret = (int) self->maxlenof_hip_height(); 08986 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 08987 } 08988 } 08989 return 1; 08990 #ifndef TOLUA_RELEASE 08991 tolua_lerror: 08992 tolua_error(tolua_S,"#ferror in function 'maxlenof_hip_height'.",&tolua_err); 08993 return 0; 08994 #endif 08995 } 08996 #endif //#ifndef TOLUA_DISABLE 08997 08998 /* method: torso_sideward_orientation of class fawkes::HumanoidMotionInterface */ 08999 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_torso_sideward_orientation00 09000 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_torso_sideward_orientation00(lua_State* tolua_S) 09001 { 09002 #ifndef TOLUA_RELEASE 09003 tolua_Error tolua_err; 09004 if ( 09005 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09006 !tolua_isnoobj(tolua_S,2,&tolua_err) 09007 ) 09008 goto tolua_lerror; 09009 else 09010 #endif 09011 { 09012 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09013 #ifndef TOLUA_RELEASE 09014 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'torso_sideward_orientation'", NULL); 09015 #endif 09016 { 09017 float tolua_ret = (float) self->torso_sideward_orientation(); 09018 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09019 } 09020 } 09021 return 1; 09022 #ifndef TOLUA_RELEASE 09023 tolua_lerror: 09024 tolua_error(tolua_S,"#ferror in function 'torso_sideward_orientation'.",&tolua_err); 09025 return 0; 09026 #endif 09027 } 09028 #endif //#ifndef TOLUA_DISABLE 09029 09030 /* method: set_torso_sideward_orientation of class fawkes::HumanoidMotionInterface */ 09031 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_torso_sideward_orientation00 09032 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_torso_sideward_orientation00(lua_State* tolua_S) 09033 { 09034 #ifndef TOLUA_RELEASE 09035 tolua_Error tolua_err; 09036 if ( 09037 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09038 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 09039 !tolua_isnoobj(tolua_S,3,&tolua_err) 09040 ) 09041 goto tolua_lerror; 09042 else 09043 #endif 09044 { 09045 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09046 const float new_torso_sideward_orientation = ((const float) tolua_tonumber(tolua_S,2,0)); 09047 #ifndef TOLUA_RELEASE 09048 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_torso_sideward_orientation'", NULL); 09049 #endif 09050 { 09051 self->set_torso_sideward_orientation(new_torso_sideward_orientation); 09052 } 09053 } 09054 return 0; 09055 #ifndef TOLUA_RELEASE 09056 tolua_lerror: 09057 tolua_error(tolua_S,"#ferror in function 'set_torso_sideward_orientation'.",&tolua_err); 09058 return 0; 09059 #endif 09060 } 09061 #endif //#ifndef TOLUA_DISABLE 09062 09063 /* method: maxlenof_torso_sideward_orientation of class fawkes::HumanoidMotionInterface */ 09064 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_torso_sideward_orientation00 09065 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_torso_sideward_orientation00(lua_State* tolua_S) 09066 { 09067 #ifndef TOLUA_RELEASE 09068 tolua_Error tolua_err; 09069 if ( 09070 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09071 !tolua_isnoobj(tolua_S,2,&tolua_err) 09072 ) 09073 goto tolua_lerror; 09074 else 09075 #endif 09076 { 09077 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09078 #ifndef TOLUA_RELEASE 09079 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_torso_sideward_orientation'", NULL); 09080 #endif 09081 { 09082 int tolua_ret = (int) self->maxlenof_torso_sideward_orientation(); 09083 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09084 } 09085 } 09086 return 1; 09087 #ifndef TOLUA_RELEASE 09088 tolua_lerror: 09089 tolua_error(tolua_S,"#ferror in function 'maxlenof_torso_sideward_orientation'.",&tolua_err); 09090 return 0; 09091 #endif 09092 } 09093 #endif //#ifndef TOLUA_DISABLE 09094 09095 /* method: is_arms_enabled of class fawkes::HumanoidMotionInterface */ 09096 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_is_arms_enabled00 09097 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_is_arms_enabled00(lua_State* tolua_S) 09098 { 09099 #ifndef TOLUA_RELEASE 09100 tolua_Error tolua_err; 09101 if ( 09102 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09103 !tolua_isnoobj(tolua_S,2,&tolua_err) 09104 ) 09105 goto tolua_lerror; 09106 else 09107 #endif 09108 { 09109 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09110 #ifndef TOLUA_RELEASE 09111 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_arms_enabled'", NULL); 09112 #endif 09113 { 09114 bool tolua_ret = (bool) self->is_arms_enabled(); 09115 tolua_pushboolean(tolua_S,(bool)tolua_ret); 09116 } 09117 } 09118 return 1; 09119 #ifndef TOLUA_RELEASE 09120 tolua_lerror: 09121 tolua_error(tolua_S,"#ferror in function 'is_arms_enabled'.",&tolua_err); 09122 return 0; 09123 #endif 09124 } 09125 #endif //#ifndef TOLUA_DISABLE 09126 09127 /* method: set_arms_enabled of class fawkes::HumanoidMotionInterface */ 09128 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_arms_enabled00 09129 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_arms_enabled00(lua_State* tolua_S) 09130 { 09131 #ifndef TOLUA_RELEASE 09132 tolua_Error tolua_err; 09133 if ( 09134 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09135 !tolua_isboolean(tolua_S,2,0,&tolua_err) || 09136 !tolua_isnoobj(tolua_S,3,&tolua_err) 09137 ) 09138 goto tolua_lerror; 09139 else 09140 #endif 09141 { 09142 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09143 const bool new_arms_enabled = ((const bool) tolua_toboolean(tolua_S,2,0)); 09144 #ifndef TOLUA_RELEASE 09145 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_arms_enabled'", NULL); 09146 #endif 09147 { 09148 self->set_arms_enabled(new_arms_enabled); 09149 } 09150 } 09151 return 0; 09152 #ifndef TOLUA_RELEASE 09153 tolua_lerror: 09154 tolua_error(tolua_S,"#ferror in function 'set_arms_enabled'.",&tolua_err); 09155 return 0; 09156 #endif 09157 } 09158 #endif //#ifndef TOLUA_DISABLE 09159 09160 /* method: maxlenof_arms_enabled of class fawkes::HumanoidMotionInterface */ 09161 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_arms_enabled00 09162 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_arms_enabled00(lua_State* tolua_S) 09163 { 09164 #ifndef TOLUA_RELEASE 09165 tolua_Error tolua_err; 09166 if ( 09167 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09168 !tolua_isnoobj(tolua_S,2,&tolua_err) 09169 ) 09170 goto tolua_lerror; 09171 else 09172 #endif 09173 { 09174 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09175 #ifndef TOLUA_RELEASE 09176 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_arms_enabled'", NULL); 09177 #endif 09178 { 09179 int tolua_ret = (int) self->maxlenof_arms_enabled(); 09180 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09181 } 09182 } 09183 return 1; 09184 #ifndef TOLUA_RELEASE 09185 tolua_lerror: 09186 tolua_error(tolua_S,"#ferror in function 'maxlenof_arms_enabled'.",&tolua_err); 09187 return 0; 09188 #endif 09189 } 09190 #endif //#ifndef TOLUA_DISABLE 09191 09192 /* method: shoulder_pitch_median of class fawkes::HumanoidMotionInterface */ 09193 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_shoulder_pitch_median00 09194 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_shoulder_pitch_median00(lua_State* tolua_S) 09195 { 09196 #ifndef TOLUA_RELEASE 09197 tolua_Error tolua_err; 09198 if ( 09199 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09200 !tolua_isnoobj(tolua_S,2,&tolua_err) 09201 ) 09202 goto tolua_lerror; 09203 else 09204 #endif 09205 { 09206 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09207 #ifndef TOLUA_RELEASE 09208 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'shoulder_pitch_median'", NULL); 09209 #endif 09210 { 09211 float tolua_ret = (float) self->shoulder_pitch_median(); 09212 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09213 } 09214 } 09215 return 1; 09216 #ifndef TOLUA_RELEASE 09217 tolua_lerror: 09218 tolua_error(tolua_S,"#ferror in function 'shoulder_pitch_median'.",&tolua_err); 09219 return 0; 09220 #endif 09221 } 09222 #endif //#ifndef TOLUA_DISABLE 09223 09224 /* method: set_shoulder_pitch_median of class fawkes::HumanoidMotionInterface */ 09225 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_shoulder_pitch_median00 09226 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_shoulder_pitch_median00(lua_State* tolua_S) 09227 { 09228 #ifndef TOLUA_RELEASE 09229 tolua_Error tolua_err; 09230 if ( 09231 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09232 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 09233 !tolua_isnoobj(tolua_S,3,&tolua_err) 09234 ) 09235 goto tolua_lerror; 09236 else 09237 #endif 09238 { 09239 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09240 const float new_shoulder_pitch_median = ((const float) tolua_tonumber(tolua_S,2,0)); 09241 #ifndef TOLUA_RELEASE 09242 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_shoulder_pitch_median'", NULL); 09243 #endif 09244 { 09245 self->set_shoulder_pitch_median(new_shoulder_pitch_median); 09246 } 09247 } 09248 return 0; 09249 #ifndef TOLUA_RELEASE 09250 tolua_lerror: 09251 tolua_error(tolua_S,"#ferror in function 'set_shoulder_pitch_median'.",&tolua_err); 09252 return 0; 09253 #endif 09254 } 09255 #endif //#ifndef TOLUA_DISABLE 09256 09257 /* method: maxlenof_shoulder_pitch_median of class fawkes::HumanoidMotionInterface */ 09258 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_shoulder_pitch_median00 09259 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_shoulder_pitch_median00(lua_State* tolua_S) 09260 { 09261 #ifndef TOLUA_RELEASE 09262 tolua_Error tolua_err; 09263 if ( 09264 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09265 !tolua_isnoobj(tolua_S,2,&tolua_err) 09266 ) 09267 goto tolua_lerror; 09268 else 09269 #endif 09270 { 09271 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09272 #ifndef TOLUA_RELEASE 09273 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_shoulder_pitch_median'", NULL); 09274 #endif 09275 { 09276 int tolua_ret = (int) self->maxlenof_shoulder_pitch_median(); 09277 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09278 } 09279 } 09280 return 1; 09281 #ifndef TOLUA_RELEASE 09282 tolua_lerror: 09283 tolua_error(tolua_S,"#ferror in function 'maxlenof_shoulder_pitch_median'.",&tolua_err); 09284 return 0; 09285 #endif 09286 } 09287 #endif //#ifndef TOLUA_DISABLE 09288 09289 /* method: shoulder_pitch_amplitude of class fawkes::HumanoidMotionInterface */ 09290 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_shoulder_pitch_amplitude00 09291 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_shoulder_pitch_amplitude00(lua_State* tolua_S) 09292 { 09293 #ifndef TOLUA_RELEASE 09294 tolua_Error tolua_err; 09295 if ( 09296 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09297 !tolua_isnoobj(tolua_S,2,&tolua_err) 09298 ) 09299 goto tolua_lerror; 09300 else 09301 #endif 09302 { 09303 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09304 #ifndef TOLUA_RELEASE 09305 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'shoulder_pitch_amplitude'", NULL); 09306 #endif 09307 { 09308 float tolua_ret = (float) self->shoulder_pitch_amplitude(); 09309 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09310 } 09311 } 09312 return 1; 09313 #ifndef TOLUA_RELEASE 09314 tolua_lerror: 09315 tolua_error(tolua_S,"#ferror in function 'shoulder_pitch_amplitude'.",&tolua_err); 09316 return 0; 09317 #endif 09318 } 09319 #endif //#ifndef TOLUA_DISABLE 09320 09321 /* method: set_shoulder_pitch_amplitude of class fawkes::HumanoidMotionInterface */ 09322 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_shoulder_pitch_amplitude00 09323 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_shoulder_pitch_amplitude00(lua_State* tolua_S) 09324 { 09325 #ifndef TOLUA_RELEASE 09326 tolua_Error tolua_err; 09327 if ( 09328 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09329 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 09330 !tolua_isnoobj(tolua_S,3,&tolua_err) 09331 ) 09332 goto tolua_lerror; 09333 else 09334 #endif 09335 { 09336 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09337 const float new_shoulder_pitch_amplitude = ((const float) tolua_tonumber(tolua_S,2,0)); 09338 #ifndef TOLUA_RELEASE 09339 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_shoulder_pitch_amplitude'", NULL); 09340 #endif 09341 { 09342 self->set_shoulder_pitch_amplitude(new_shoulder_pitch_amplitude); 09343 } 09344 } 09345 return 0; 09346 #ifndef TOLUA_RELEASE 09347 tolua_lerror: 09348 tolua_error(tolua_S,"#ferror in function 'set_shoulder_pitch_amplitude'.",&tolua_err); 09349 return 0; 09350 #endif 09351 } 09352 #endif //#ifndef TOLUA_DISABLE 09353 09354 /* method: maxlenof_shoulder_pitch_amplitude of class fawkes::HumanoidMotionInterface */ 09355 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_shoulder_pitch_amplitude00 09356 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_shoulder_pitch_amplitude00(lua_State* tolua_S) 09357 { 09358 #ifndef TOLUA_RELEASE 09359 tolua_Error tolua_err; 09360 if ( 09361 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09362 !tolua_isnoobj(tolua_S,2,&tolua_err) 09363 ) 09364 goto tolua_lerror; 09365 else 09366 #endif 09367 { 09368 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09369 #ifndef TOLUA_RELEASE 09370 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_shoulder_pitch_amplitude'", NULL); 09371 #endif 09372 { 09373 int tolua_ret = (int) self->maxlenof_shoulder_pitch_amplitude(); 09374 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09375 } 09376 } 09377 return 1; 09378 #ifndef TOLUA_RELEASE 09379 tolua_lerror: 09380 tolua_error(tolua_S,"#ferror in function 'maxlenof_shoulder_pitch_amplitude'.",&tolua_err); 09381 return 0; 09382 #endif 09383 } 09384 #endif //#ifndef TOLUA_DISABLE 09385 09386 /* method: elbow_roll_median of class fawkes::HumanoidMotionInterface */ 09387 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_elbow_roll_median00 09388 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_elbow_roll_median00(lua_State* tolua_S) 09389 { 09390 #ifndef TOLUA_RELEASE 09391 tolua_Error tolua_err; 09392 if ( 09393 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09394 !tolua_isnoobj(tolua_S,2,&tolua_err) 09395 ) 09396 goto tolua_lerror; 09397 else 09398 #endif 09399 { 09400 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09401 #ifndef TOLUA_RELEASE 09402 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'elbow_roll_median'", NULL); 09403 #endif 09404 { 09405 float tolua_ret = (float) self->elbow_roll_median(); 09406 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09407 } 09408 } 09409 return 1; 09410 #ifndef TOLUA_RELEASE 09411 tolua_lerror: 09412 tolua_error(tolua_S,"#ferror in function 'elbow_roll_median'.",&tolua_err); 09413 return 0; 09414 #endif 09415 } 09416 #endif //#ifndef TOLUA_DISABLE 09417 09418 /* method: set_elbow_roll_median of class fawkes::HumanoidMotionInterface */ 09419 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_elbow_roll_median00 09420 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_elbow_roll_median00(lua_State* tolua_S) 09421 { 09422 #ifndef TOLUA_RELEASE 09423 tolua_Error tolua_err; 09424 if ( 09425 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09426 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 09427 !tolua_isnoobj(tolua_S,3,&tolua_err) 09428 ) 09429 goto tolua_lerror; 09430 else 09431 #endif 09432 { 09433 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09434 const float new_elbow_roll_median = ((const float) tolua_tonumber(tolua_S,2,0)); 09435 #ifndef TOLUA_RELEASE 09436 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_elbow_roll_median'", NULL); 09437 #endif 09438 { 09439 self->set_elbow_roll_median(new_elbow_roll_median); 09440 } 09441 } 09442 return 0; 09443 #ifndef TOLUA_RELEASE 09444 tolua_lerror: 09445 tolua_error(tolua_S,"#ferror in function 'set_elbow_roll_median'.",&tolua_err); 09446 return 0; 09447 #endif 09448 } 09449 #endif //#ifndef TOLUA_DISABLE 09450 09451 /* method: maxlenof_elbow_roll_median of class fawkes::HumanoidMotionInterface */ 09452 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_elbow_roll_median00 09453 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_elbow_roll_median00(lua_State* tolua_S) 09454 { 09455 #ifndef TOLUA_RELEASE 09456 tolua_Error tolua_err; 09457 if ( 09458 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09459 !tolua_isnoobj(tolua_S,2,&tolua_err) 09460 ) 09461 goto tolua_lerror; 09462 else 09463 #endif 09464 { 09465 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09466 #ifndef TOLUA_RELEASE 09467 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_elbow_roll_median'", NULL); 09468 #endif 09469 { 09470 int tolua_ret = (int) self->maxlenof_elbow_roll_median(); 09471 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09472 } 09473 } 09474 return 1; 09475 #ifndef TOLUA_RELEASE 09476 tolua_lerror: 09477 tolua_error(tolua_S,"#ferror in function 'maxlenof_elbow_roll_median'.",&tolua_err); 09478 return 0; 09479 #endif 09480 } 09481 #endif //#ifndef TOLUA_DISABLE 09482 09483 /* method: elbow_roll_amplitude of class fawkes::HumanoidMotionInterface */ 09484 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_elbow_roll_amplitude00 09485 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_elbow_roll_amplitude00(lua_State* tolua_S) 09486 { 09487 #ifndef TOLUA_RELEASE 09488 tolua_Error tolua_err; 09489 if ( 09490 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09491 !tolua_isnoobj(tolua_S,2,&tolua_err) 09492 ) 09493 goto tolua_lerror; 09494 else 09495 #endif 09496 { 09497 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09498 #ifndef TOLUA_RELEASE 09499 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'elbow_roll_amplitude'", NULL); 09500 #endif 09501 { 09502 float tolua_ret = (float) self->elbow_roll_amplitude(); 09503 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09504 } 09505 } 09506 return 1; 09507 #ifndef TOLUA_RELEASE 09508 tolua_lerror: 09509 tolua_error(tolua_S,"#ferror in function 'elbow_roll_amplitude'.",&tolua_err); 09510 return 0; 09511 #endif 09512 } 09513 #endif //#ifndef TOLUA_DISABLE 09514 09515 /* method: set_elbow_roll_amplitude of class fawkes::HumanoidMotionInterface */ 09516 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_elbow_roll_amplitude00 09517 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_elbow_roll_amplitude00(lua_State* tolua_S) 09518 { 09519 #ifndef TOLUA_RELEASE 09520 tolua_Error tolua_err; 09521 if ( 09522 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09523 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 09524 !tolua_isnoobj(tolua_S,3,&tolua_err) 09525 ) 09526 goto tolua_lerror; 09527 else 09528 #endif 09529 { 09530 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09531 const float new_elbow_roll_amplitude = ((const float) tolua_tonumber(tolua_S,2,0)); 09532 #ifndef TOLUA_RELEASE 09533 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_elbow_roll_amplitude'", NULL); 09534 #endif 09535 { 09536 self->set_elbow_roll_amplitude(new_elbow_roll_amplitude); 09537 } 09538 } 09539 return 0; 09540 #ifndef TOLUA_RELEASE 09541 tolua_lerror: 09542 tolua_error(tolua_S,"#ferror in function 'set_elbow_roll_amplitude'.",&tolua_err); 09543 return 0; 09544 #endif 09545 } 09546 #endif //#ifndef TOLUA_DISABLE 09547 09548 /* method: maxlenof_elbow_roll_amplitude of class fawkes::HumanoidMotionInterface */ 09549 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_elbow_roll_amplitude00 09550 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_elbow_roll_amplitude00(lua_State* tolua_S) 09551 { 09552 #ifndef TOLUA_RELEASE 09553 tolua_Error tolua_err; 09554 if ( 09555 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09556 !tolua_isnoobj(tolua_S,2,&tolua_err) 09557 ) 09558 goto tolua_lerror; 09559 else 09560 #endif 09561 { 09562 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09563 #ifndef TOLUA_RELEASE 09564 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_elbow_roll_amplitude'", NULL); 09565 #endif 09566 { 09567 int tolua_ret = (int) self->maxlenof_elbow_roll_amplitude(); 09568 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09569 } 09570 } 09571 return 1; 09572 #ifndef TOLUA_RELEASE 09573 tolua_lerror: 09574 tolua_error(tolua_S,"#ferror in function 'maxlenof_elbow_roll_amplitude'.",&tolua_err); 09575 return 0; 09576 #endif 09577 } 09578 #endif //#ifndef TOLUA_DISABLE 09579 09580 /* method: msgid of class fawkes::HumanoidMotionInterface */ 09581 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgid00 09582 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgid00(lua_State* tolua_S) 09583 { 09584 #ifndef TOLUA_RELEASE 09585 tolua_Error tolua_err; 09586 if ( 09587 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09588 !tolua_isnoobj(tolua_S,2,&tolua_err) 09589 ) 09590 goto tolua_lerror; 09591 else 09592 #endif 09593 { 09594 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09595 #ifndef TOLUA_RELEASE 09596 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgid'", NULL); 09597 #endif 09598 { 09599 unsigned int tolua_ret = (unsigned int) self->msgid(); 09600 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09601 } 09602 } 09603 return 1; 09604 #ifndef TOLUA_RELEASE 09605 tolua_lerror: 09606 tolua_error(tolua_S,"#ferror in function 'msgid'.",&tolua_err); 09607 return 0; 09608 #endif 09609 } 09610 #endif //#ifndef TOLUA_DISABLE 09611 09612 /* method: set_msgid of class fawkes::HumanoidMotionInterface */ 09613 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_msgid00 09614 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_msgid00(lua_State* tolua_S) 09615 { 09616 #ifndef TOLUA_RELEASE 09617 tolua_Error tolua_err; 09618 if ( 09619 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 09620 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 09621 !tolua_isnoobj(tolua_S,3,&tolua_err) 09622 ) 09623 goto tolua_lerror; 09624 else 09625 #endif 09626 { 09627 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09628 unsigned const int new_msgid = ((unsigned const int) tolua_tonumber(tolua_S,2,0)); 09629 #ifndef TOLUA_RELEASE 09630 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_msgid'", NULL); 09631 #endif 09632 { 09633 self->set_msgid(new_msgid); 09634 } 09635 } 09636 return 0; 09637 #ifndef TOLUA_RELEASE 09638 tolua_lerror: 09639 tolua_error(tolua_S,"#ferror in function 'set_msgid'.",&tolua_err); 09640 return 0; 09641 #endif 09642 } 09643 #endif //#ifndef TOLUA_DISABLE 09644 09645 /* method: maxlenof_msgid of class fawkes::HumanoidMotionInterface */ 09646 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_msgid00 09647 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_msgid00(lua_State* tolua_S) 09648 { 09649 #ifndef TOLUA_RELEASE 09650 tolua_Error tolua_err; 09651 if ( 09652 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09653 !tolua_isnoobj(tolua_S,2,&tolua_err) 09654 ) 09655 goto tolua_lerror; 09656 else 09657 #endif 09658 { 09659 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09660 #ifndef TOLUA_RELEASE 09661 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_msgid'", NULL); 09662 #endif 09663 { 09664 int tolua_ret = (int) self->maxlenof_msgid(); 09665 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09666 } 09667 } 09668 return 1; 09669 #ifndef TOLUA_RELEASE 09670 tolua_lerror: 09671 tolua_error(tolua_S,"#ferror in function 'maxlenof_msgid'.",&tolua_err); 09672 return 0; 09673 #endif 09674 } 09675 #endif //#ifndef TOLUA_DISABLE 09676 09677 /* method: oftype of class fawkes::HumanoidMotionInterface */ 09678 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_oftype00 09679 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_oftype00(lua_State* tolua_S) 09680 { 09681 #ifndef TOLUA_RELEASE 09682 tolua_Error tolua_err; 09683 if ( 09684 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09685 !tolua_isstring(tolua_S,2,0,&tolua_err) || 09686 !tolua_isnoobj(tolua_S,3,&tolua_err) 09687 ) 09688 goto tolua_lerror; 09689 else 09690 #endif 09691 { 09692 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09693 const char* interface_type = ((const char*) tolua_tostring(tolua_S,2,0)); 09694 #ifndef TOLUA_RELEASE 09695 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'oftype'", NULL); 09696 #endif 09697 { 09698 bool tolua_ret = (bool) self->oftype(interface_type); 09699 tolua_pushboolean(tolua_S,(bool)tolua_ret); 09700 } 09701 } 09702 return 1; 09703 #ifndef TOLUA_RELEASE 09704 tolua_lerror: 09705 tolua_error(tolua_S,"#ferror in function 'oftype'.",&tolua_err); 09706 return 0; 09707 #endif 09708 } 09709 #endif //#ifndef TOLUA_DISABLE 09710 09711 /* method: datachunk of class fawkes::HumanoidMotionInterface */ 09712 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_datachunk00 09713 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_datachunk00(lua_State* tolua_S) 09714 { 09715 #ifndef TOLUA_RELEASE 09716 tolua_Error tolua_err; 09717 if ( 09718 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09719 !tolua_isnoobj(tolua_S,2,&tolua_err) 09720 ) 09721 goto tolua_lerror; 09722 else 09723 #endif 09724 { 09725 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09726 #ifndef TOLUA_RELEASE 09727 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'datachunk'", NULL); 09728 #endif 09729 { 09730 const void* tolua_ret = (const void*) self->datachunk(); 09731 tolua_pushuserdata(tolua_S,(void*)tolua_ret); 09732 } 09733 } 09734 return 1; 09735 #ifndef TOLUA_RELEASE 09736 tolua_lerror: 09737 tolua_error(tolua_S,"#ferror in function 'datachunk'.",&tolua_err); 09738 return 0; 09739 #endif 09740 } 09741 #endif //#ifndef TOLUA_DISABLE 09742 09743 /* method: datasize of class fawkes::HumanoidMotionInterface */ 09744 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_datasize00 09745 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_datasize00(lua_State* tolua_S) 09746 { 09747 #ifndef TOLUA_RELEASE 09748 tolua_Error tolua_err; 09749 if ( 09750 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09751 !tolua_isnoobj(tolua_S,2,&tolua_err) 09752 ) 09753 goto tolua_lerror; 09754 else 09755 #endif 09756 { 09757 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09758 #ifndef TOLUA_RELEASE 09759 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'datasize'", NULL); 09760 #endif 09761 { 09762 unsigned int tolua_ret = (unsigned int) self->datasize(); 09763 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09764 } 09765 } 09766 return 1; 09767 #ifndef TOLUA_RELEASE 09768 tolua_lerror: 09769 tolua_error(tolua_S,"#ferror in function 'datasize'.",&tolua_err); 09770 return 0; 09771 #endif 09772 } 09773 #endif //#ifndef TOLUA_DISABLE 09774 09775 /* method: type of class fawkes::HumanoidMotionInterface */ 09776 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_type00 09777 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_type00(lua_State* tolua_S) 09778 { 09779 #ifndef TOLUA_RELEASE 09780 tolua_Error tolua_err; 09781 if ( 09782 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09783 !tolua_isnoobj(tolua_S,2,&tolua_err) 09784 ) 09785 goto tolua_lerror; 09786 else 09787 #endif 09788 { 09789 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09790 #ifndef TOLUA_RELEASE 09791 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'type'", NULL); 09792 #endif 09793 { 09794 const char* tolua_ret = (const char*) self->type(); 09795 tolua_pushstring(tolua_S,(const char*)tolua_ret); 09796 } 09797 } 09798 return 1; 09799 #ifndef TOLUA_RELEASE 09800 tolua_lerror: 09801 tolua_error(tolua_S,"#ferror in function 'type'.",&tolua_err); 09802 return 0; 09803 #endif 09804 } 09805 #endif //#ifndef TOLUA_DISABLE 09806 09807 /* method: id of class fawkes::HumanoidMotionInterface */ 09808 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_id00 09809 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_id00(lua_State* tolua_S) 09810 { 09811 #ifndef TOLUA_RELEASE 09812 tolua_Error tolua_err; 09813 if ( 09814 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09815 !tolua_isnoobj(tolua_S,2,&tolua_err) 09816 ) 09817 goto tolua_lerror; 09818 else 09819 #endif 09820 { 09821 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09822 #ifndef TOLUA_RELEASE 09823 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'id'", NULL); 09824 #endif 09825 { 09826 const char* tolua_ret = (const char*) self->id(); 09827 tolua_pushstring(tolua_S,(const char*)tolua_ret); 09828 } 09829 } 09830 return 1; 09831 #ifndef TOLUA_RELEASE 09832 tolua_lerror: 09833 tolua_error(tolua_S,"#ferror in function 'id'.",&tolua_err); 09834 return 0; 09835 #endif 09836 } 09837 #endif //#ifndef TOLUA_DISABLE 09838 09839 /* method: uid of class fawkes::HumanoidMotionInterface */ 09840 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_uid00 09841 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_uid00(lua_State* tolua_S) 09842 { 09843 #ifndef TOLUA_RELEASE 09844 tolua_Error tolua_err; 09845 if ( 09846 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09847 !tolua_isnoobj(tolua_S,2,&tolua_err) 09848 ) 09849 goto tolua_lerror; 09850 else 09851 #endif 09852 { 09853 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09854 #ifndef TOLUA_RELEASE 09855 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'uid'", NULL); 09856 #endif 09857 { 09858 const char* tolua_ret = (const char*) self->uid(); 09859 tolua_pushstring(tolua_S,(const char*)tolua_ret); 09860 } 09861 } 09862 return 1; 09863 #ifndef TOLUA_RELEASE 09864 tolua_lerror: 09865 tolua_error(tolua_S,"#ferror in function 'uid'.",&tolua_err); 09866 return 0; 09867 #endif 09868 } 09869 #endif //#ifndef TOLUA_DISABLE 09870 09871 /* method: serial of class fawkes::HumanoidMotionInterface */ 09872 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_serial00 09873 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_serial00(lua_State* tolua_S) 09874 { 09875 #ifndef TOLUA_RELEASE 09876 tolua_Error tolua_err; 09877 if ( 09878 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09879 !tolua_isnoobj(tolua_S,2,&tolua_err) 09880 ) 09881 goto tolua_lerror; 09882 else 09883 #endif 09884 { 09885 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09886 #ifndef TOLUA_RELEASE 09887 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'serial'", NULL); 09888 #endif 09889 { 09890 unsigned int tolua_ret = (unsigned int) self->serial(); 09891 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09892 } 09893 } 09894 return 1; 09895 #ifndef TOLUA_RELEASE 09896 tolua_lerror: 09897 tolua_error(tolua_S,"#ferror in function 'serial'.",&tolua_err); 09898 return 0; 09899 #endif 09900 } 09901 #endif //#ifndef TOLUA_DISABLE 09902 09903 /* method: mem_serial of class fawkes::HumanoidMotionInterface */ 09904 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_mem_serial00 09905 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_mem_serial00(lua_State* tolua_S) 09906 { 09907 #ifndef TOLUA_RELEASE 09908 tolua_Error tolua_err; 09909 if ( 09910 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09911 !tolua_isnoobj(tolua_S,2,&tolua_err) 09912 ) 09913 goto tolua_lerror; 09914 else 09915 #endif 09916 { 09917 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09918 #ifndef TOLUA_RELEASE 09919 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'mem_serial'", NULL); 09920 #endif 09921 { 09922 unsigned int tolua_ret = (unsigned int) self->mem_serial(); 09923 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 09924 } 09925 } 09926 return 1; 09927 #ifndef TOLUA_RELEASE 09928 tolua_lerror: 09929 tolua_error(tolua_S,"#ferror in function 'mem_serial'.",&tolua_err); 09930 return 0; 09931 #endif 09932 } 09933 #endif //#ifndef TOLUA_DISABLE 09934 09935 /* method: operator== of class fawkes::HumanoidMotionInterface */ 09936 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface__eq00 09937 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface__eq00(lua_State* tolua_S) 09938 { 09939 #ifndef TOLUA_RELEASE 09940 tolua_Error tolua_err; 09941 if ( 09942 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09943 (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Interface",0,&tolua_err)) || 09944 !tolua_isnoobj(tolua_S,3,&tolua_err) 09945 ) 09946 goto tolua_lerror; 09947 else 09948 #endif 09949 { 09950 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09951 Interface* comp = ((Interface*) tolua_tousertype(tolua_S,2,0)); 09952 #ifndef TOLUA_RELEASE 09953 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='", NULL); 09954 #endif 09955 { 09956 bool tolua_ret = (bool) self->operator==(*comp); 09957 tolua_pushboolean(tolua_S,(bool)tolua_ret); 09958 } 09959 } 09960 return 1; 09961 #ifndef TOLUA_RELEASE 09962 tolua_lerror: 09963 tolua_error(tolua_S,"#ferror in function '.eq'.",&tolua_err); 09964 return 0; 09965 #endif 09966 } 09967 #endif //#ifndef TOLUA_DISABLE 09968 09969 /* method: hash of class fawkes::HumanoidMotionInterface */ 09970 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_hash00 09971 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_hash00(lua_State* tolua_S) 09972 { 09973 #ifndef TOLUA_RELEASE 09974 tolua_Error tolua_err; 09975 if ( 09976 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 09977 !tolua_isnoobj(tolua_S,2,&tolua_err) 09978 ) 09979 goto tolua_lerror; 09980 else 09981 #endif 09982 { 09983 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 09984 #ifndef TOLUA_RELEASE 09985 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash'", NULL); 09986 #endif 09987 { 09988 unsigned const char* tolua_ret = ( unsigned const char*) self->hash(); 09989 tolua_pushstring(tolua_S,(const char*)tolua_ret); 09990 } 09991 } 09992 return 1; 09993 #ifndef TOLUA_RELEASE 09994 tolua_lerror: 09995 tolua_error(tolua_S,"#ferror in function 'hash'.",&tolua_err); 09996 return 0; 09997 #endif 09998 } 09999 #endif //#ifndef TOLUA_DISABLE 10000 10001 /* method: hash_size of class fawkes::HumanoidMotionInterface */ 10002 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_hash_size00 10003 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_hash_size00(lua_State* tolua_S) 10004 { 10005 #ifndef TOLUA_RELEASE 10006 tolua_Error tolua_err; 10007 if ( 10008 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 10009 !tolua_isnoobj(tolua_S,2,&tolua_err) 10010 ) 10011 goto tolua_lerror; 10012 else 10013 #endif 10014 { 10015 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10016 #ifndef TOLUA_RELEASE 10017 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash_size'", NULL); 10018 #endif 10019 { 10020 int tolua_ret = (int) self->hash_size(); 10021 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 10022 } 10023 } 10024 return 1; 10025 #ifndef TOLUA_RELEASE 10026 tolua_lerror: 10027 tolua_error(tolua_S,"#ferror in function 'hash_size'.",&tolua_err); 10028 return 0; 10029 #endif 10030 } 10031 #endif //#ifndef TOLUA_DISABLE 10032 10033 /* method: hash_printable of class fawkes::HumanoidMotionInterface */ 10034 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_hash_printable00 10035 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_hash_printable00(lua_State* tolua_S) 10036 { 10037 #ifndef TOLUA_RELEASE 10038 tolua_Error tolua_err; 10039 if ( 10040 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 10041 !tolua_isnoobj(tolua_S,2,&tolua_err) 10042 ) 10043 goto tolua_lerror; 10044 else 10045 #endif 10046 { 10047 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10048 #ifndef TOLUA_RELEASE 10049 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash_printable'", NULL); 10050 #endif 10051 { 10052 const char* tolua_ret = (const char*) self->hash_printable(); 10053 tolua_pushstring(tolua_S,(const char*)tolua_ret); 10054 } 10055 } 10056 return 1; 10057 #ifndef TOLUA_RELEASE 10058 tolua_lerror: 10059 tolua_error(tolua_S,"#ferror in function 'hash_printable'.",&tolua_err); 10060 return 0; 10061 #endif 10062 } 10063 #endif //#ifndef TOLUA_DISABLE 10064 10065 /* method: is_writer of class fawkes::HumanoidMotionInterface */ 10066 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_is_writer00 10067 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_is_writer00(lua_State* tolua_S) 10068 { 10069 #ifndef TOLUA_RELEASE 10070 tolua_Error tolua_err; 10071 if ( 10072 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 10073 !tolua_isnoobj(tolua_S,2,&tolua_err) 10074 ) 10075 goto tolua_lerror; 10076 else 10077 #endif 10078 { 10079 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10080 #ifndef TOLUA_RELEASE 10081 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_writer'", NULL); 10082 #endif 10083 { 10084 bool tolua_ret = (bool) self->is_writer(); 10085 tolua_pushboolean(tolua_S,(bool)tolua_ret); 10086 } 10087 } 10088 return 1; 10089 #ifndef TOLUA_RELEASE 10090 tolua_lerror: 10091 tolua_error(tolua_S,"#ferror in function 'is_writer'.",&tolua_err); 10092 return 0; 10093 #endif 10094 } 10095 #endif //#ifndef TOLUA_DISABLE 10096 10097 /* method: set_from_chunk of class fawkes::HumanoidMotionInterface */ 10098 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_from_chunk00 10099 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_from_chunk00(lua_State* tolua_S) 10100 { 10101 #ifndef TOLUA_RELEASE 10102 tolua_Error tolua_err; 10103 if ( 10104 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10105 !tolua_isuserdata(tolua_S,2,0,&tolua_err) || 10106 !tolua_isnoobj(tolua_S,3,&tolua_err) 10107 ) 10108 goto tolua_lerror; 10109 else 10110 #endif 10111 { 10112 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10113 void* chunk = ((void*) tolua_touserdata(tolua_S,2,0)); 10114 #ifndef TOLUA_RELEASE 10115 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_from_chunk'", NULL); 10116 #endif 10117 { 10118 self->set_from_chunk(chunk); 10119 } 10120 } 10121 return 0; 10122 #ifndef TOLUA_RELEASE 10123 tolua_lerror: 10124 tolua_error(tolua_S,"#ferror in function 'set_from_chunk'.",&tolua_err); 10125 return 0; 10126 #endif 10127 } 10128 #endif //#ifndef TOLUA_DISABLE 10129 10130 /* method: create_message of class fawkes::HumanoidMotionInterface */ 10131 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_create_message00 10132 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_create_message00(lua_State* tolua_S) 10133 { 10134 #ifndef TOLUA_RELEASE 10135 tolua_Error tolua_err; 10136 if ( 10137 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 10138 !tolua_isstring(tolua_S,2,0,&tolua_err) || 10139 !tolua_isnoobj(tolua_S,3,&tolua_err) 10140 ) 10141 goto tolua_lerror; 10142 else 10143 #endif 10144 { 10145 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10146 const char* type = ((const char*) tolua_tostring(tolua_S,2,0)); 10147 #ifndef TOLUA_RELEASE 10148 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'create_message'", NULL); 10149 #endif 10150 { 10151 Message* tolua_ret = (Message*) self->create_message(type); 10152 tolua_pushusertype(tolua_S,(void*)tolua_ret,"Message"); 10153 } 10154 } 10155 return 1; 10156 #ifndef TOLUA_RELEASE 10157 tolua_lerror: 10158 tolua_error(tolua_S,"#ferror in function 'create_message'.",&tolua_err); 10159 return 0; 10160 #endif 10161 } 10162 #endif //#ifndef TOLUA_DISABLE 10163 10164 /* method: read of class fawkes::HumanoidMotionInterface */ 10165 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_read00 10166 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_read00(lua_State* tolua_S) 10167 { 10168 #ifndef TOLUA_RELEASE 10169 tolua_Error tolua_err; 10170 if ( 10171 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10172 !tolua_isnoobj(tolua_S,2,&tolua_err) 10173 ) 10174 goto tolua_lerror; 10175 else 10176 #endif 10177 { 10178 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10179 #ifndef TOLUA_RELEASE 10180 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'read'", NULL); 10181 #endif 10182 { 10183 self->read(); 10184 } 10185 } 10186 return 0; 10187 #ifndef TOLUA_RELEASE 10188 tolua_lerror: 10189 tolua_error(tolua_S,"#ferror in function 'read'.",&tolua_err); 10190 return 0; 10191 #endif 10192 } 10193 #endif //#ifndef TOLUA_DISABLE 10194 10195 /* method: write of class fawkes::HumanoidMotionInterface */ 10196 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_write00 10197 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_write00(lua_State* tolua_S) 10198 { 10199 #ifndef TOLUA_RELEASE 10200 tolua_Error tolua_err; 10201 if ( 10202 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10203 !tolua_isnoobj(tolua_S,2,&tolua_err) 10204 ) 10205 goto tolua_lerror; 10206 else 10207 #endif 10208 { 10209 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10210 #ifndef TOLUA_RELEASE 10211 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'write'", NULL); 10212 #endif 10213 { 10214 self->write(); 10215 } 10216 } 10217 return 0; 10218 #ifndef TOLUA_RELEASE 10219 tolua_lerror: 10220 tolua_error(tolua_S,"#ferror in function 'write'.",&tolua_err); 10221 return 0; 10222 #endif 10223 } 10224 #endif //#ifndef TOLUA_DISABLE 10225 10226 /* method: has_writer of class fawkes::HumanoidMotionInterface */ 10227 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_has_writer00 10228 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_has_writer00(lua_State* tolua_S) 10229 { 10230 #ifndef TOLUA_RELEASE 10231 tolua_Error tolua_err; 10232 if ( 10233 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 10234 !tolua_isnoobj(tolua_S,2,&tolua_err) 10235 ) 10236 goto tolua_lerror; 10237 else 10238 #endif 10239 { 10240 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10241 #ifndef TOLUA_RELEASE 10242 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'has_writer'", NULL); 10243 #endif 10244 { 10245 bool tolua_ret = (bool) self->has_writer(); 10246 tolua_pushboolean(tolua_S,(bool)tolua_ret); 10247 } 10248 } 10249 return 1; 10250 #ifndef TOLUA_RELEASE 10251 tolua_lerror: 10252 tolua_error(tolua_S,"#ferror in function 'has_writer'.",&tolua_err); 10253 return 0; 10254 #endif 10255 } 10256 #endif //#ifndef TOLUA_DISABLE 10257 10258 /* method: num_readers of class fawkes::HumanoidMotionInterface */ 10259 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_num_readers00 10260 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_num_readers00(lua_State* tolua_S) 10261 { 10262 #ifndef TOLUA_RELEASE 10263 tolua_Error tolua_err; 10264 if ( 10265 !tolua_isusertype(tolua_S,1,"const fawkes::HumanoidMotionInterface",0,&tolua_err) || 10266 !tolua_isnoobj(tolua_S,2,&tolua_err) 10267 ) 10268 goto tolua_lerror; 10269 else 10270 #endif 10271 { 10272 const fawkes::HumanoidMotionInterface* self = (const fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10273 #ifndef TOLUA_RELEASE 10274 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'num_readers'", NULL); 10275 #endif 10276 { 10277 unsigned int tolua_ret = (unsigned int) self->num_readers(); 10278 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 10279 } 10280 } 10281 return 1; 10282 #ifndef TOLUA_RELEASE 10283 tolua_lerror: 10284 tolua_error(tolua_S,"#ferror in function 'num_readers'.",&tolua_err); 10285 return 0; 10286 #endif 10287 } 10288 #endif //#ifndef TOLUA_DISABLE 10289 10290 /* method: msgq_enqueue_copy of class fawkes::HumanoidMotionInterface */ 10291 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_enqueue_copy00 10292 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_enqueue_copy00(lua_State* tolua_S) 10293 { 10294 #ifndef TOLUA_RELEASE 10295 tolua_Error tolua_err; 10296 if ( 10297 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10298 !tolua_isusertype(tolua_S,2,"Message",0,&tolua_err) || 10299 !tolua_isnoobj(tolua_S,3,&tolua_err) 10300 ) 10301 goto tolua_lerror; 10302 else 10303 #endif 10304 { 10305 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10306 Message* message = ((Message*) tolua_tousertype(tolua_S,2,0)); 10307 #ifndef TOLUA_RELEASE 10308 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_enqueue_copy'", NULL); 10309 #endif 10310 { 10311 unsigned int tolua_ret = (unsigned int) self->msgq_enqueue_copy(message); 10312 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 10313 } 10314 } 10315 return 1; 10316 #ifndef TOLUA_RELEASE 10317 tolua_lerror: 10318 tolua_error(tolua_S,"#ferror in function 'msgq_enqueue_copy'.",&tolua_err); 10319 return 0; 10320 #endif 10321 } 10322 #endif //#ifndef TOLUA_DISABLE 10323 10324 /* method: msgq_remove of class fawkes::HumanoidMotionInterface */ 10325 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_remove00 10326 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_remove00(lua_State* tolua_S) 10327 { 10328 #ifndef TOLUA_RELEASE 10329 tolua_Error tolua_err; 10330 if ( 10331 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10332 !tolua_isusertype(tolua_S,2,"Message",0,&tolua_err) || 10333 !tolua_isnoobj(tolua_S,3,&tolua_err) 10334 ) 10335 goto tolua_lerror; 10336 else 10337 #endif 10338 { 10339 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10340 Message* message = ((Message*) tolua_tousertype(tolua_S,2,0)); 10341 #ifndef TOLUA_RELEASE 10342 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_remove'", NULL); 10343 #endif 10344 { 10345 self->msgq_remove(message); 10346 } 10347 } 10348 return 0; 10349 #ifndef TOLUA_RELEASE 10350 tolua_lerror: 10351 tolua_error(tolua_S,"#ferror in function 'msgq_remove'.",&tolua_err); 10352 return 0; 10353 #endif 10354 } 10355 #endif //#ifndef TOLUA_DISABLE 10356 10357 /* method: msgq_remove of class fawkes::HumanoidMotionInterface */ 10358 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_remove01 10359 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_remove01(lua_State* tolua_S) 10360 { 10361 tolua_Error tolua_err; 10362 if ( 10363 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10364 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 10365 !tolua_isnoobj(tolua_S,3,&tolua_err) 10366 ) 10367 goto tolua_lerror; 10368 else 10369 { 10370 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10371 unsigned int message_id = ((unsigned int) tolua_tonumber(tolua_S,2,0)); 10372 #ifndef TOLUA_RELEASE 10373 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_remove'", NULL); 10374 #endif 10375 { 10376 self->msgq_remove(message_id); 10377 } 10378 } 10379 return 0; 10380 tolua_lerror: 10381 return tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_remove00(tolua_S); 10382 } 10383 #endif //#ifndef TOLUA_DISABLE 10384 10385 /* method: msgq_size of class fawkes::HumanoidMotionInterface */ 10386 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_size00 10387 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_size00(lua_State* tolua_S) 10388 { 10389 #ifndef TOLUA_RELEASE 10390 tolua_Error tolua_err; 10391 if ( 10392 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10393 !tolua_isnoobj(tolua_S,2,&tolua_err) 10394 ) 10395 goto tolua_lerror; 10396 else 10397 #endif 10398 { 10399 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10400 #ifndef TOLUA_RELEASE 10401 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_size'", NULL); 10402 #endif 10403 { 10404 unsigned int tolua_ret = (unsigned int) self->msgq_size(); 10405 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 10406 } 10407 } 10408 return 1; 10409 #ifndef TOLUA_RELEASE 10410 tolua_lerror: 10411 tolua_error(tolua_S,"#ferror in function 'msgq_size'.",&tolua_err); 10412 return 0; 10413 #endif 10414 } 10415 #endif //#ifndef TOLUA_DISABLE 10416 10417 /* method: msgq_flush of class fawkes::HumanoidMotionInterface */ 10418 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_flush00 10419 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_flush00(lua_State* tolua_S) 10420 { 10421 #ifndef TOLUA_RELEASE 10422 tolua_Error tolua_err; 10423 if ( 10424 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10425 !tolua_isnoobj(tolua_S,2,&tolua_err) 10426 ) 10427 goto tolua_lerror; 10428 else 10429 #endif 10430 { 10431 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10432 #ifndef TOLUA_RELEASE 10433 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_flush'", NULL); 10434 #endif 10435 { 10436 self->msgq_flush(); 10437 } 10438 } 10439 return 0; 10440 #ifndef TOLUA_RELEASE 10441 tolua_lerror: 10442 tolua_error(tolua_S,"#ferror in function 'msgq_flush'.",&tolua_err); 10443 return 0; 10444 #endif 10445 } 10446 #endif //#ifndef TOLUA_DISABLE 10447 10448 /* method: msgq_lock of class fawkes::HumanoidMotionInterface */ 10449 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_lock00 10450 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_lock00(lua_State* tolua_S) 10451 { 10452 #ifndef TOLUA_RELEASE 10453 tolua_Error tolua_err; 10454 if ( 10455 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10456 !tolua_isnoobj(tolua_S,2,&tolua_err) 10457 ) 10458 goto tolua_lerror; 10459 else 10460 #endif 10461 { 10462 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10463 #ifndef TOLUA_RELEASE 10464 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_lock'", NULL); 10465 #endif 10466 { 10467 self->msgq_lock(); 10468 } 10469 } 10470 return 0; 10471 #ifndef TOLUA_RELEASE 10472 tolua_lerror: 10473 tolua_error(tolua_S,"#ferror in function 'msgq_lock'.",&tolua_err); 10474 return 0; 10475 #endif 10476 } 10477 #endif //#ifndef TOLUA_DISABLE 10478 10479 /* method: msgq_try_lock of class fawkes::HumanoidMotionInterface */ 10480 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_try_lock00 10481 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_try_lock00(lua_State* tolua_S) 10482 { 10483 #ifndef TOLUA_RELEASE 10484 tolua_Error tolua_err; 10485 if ( 10486 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10487 !tolua_isnoobj(tolua_S,2,&tolua_err) 10488 ) 10489 goto tolua_lerror; 10490 else 10491 #endif 10492 { 10493 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10494 #ifndef TOLUA_RELEASE 10495 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_try_lock'", NULL); 10496 #endif 10497 { 10498 bool tolua_ret = (bool) self->msgq_try_lock(); 10499 tolua_pushboolean(tolua_S,(bool)tolua_ret); 10500 } 10501 } 10502 return 1; 10503 #ifndef TOLUA_RELEASE 10504 tolua_lerror: 10505 tolua_error(tolua_S,"#ferror in function 'msgq_try_lock'.",&tolua_err); 10506 return 0; 10507 #endif 10508 } 10509 #endif //#ifndef TOLUA_DISABLE 10510 10511 /* method: msgq_unlock of class fawkes::HumanoidMotionInterface */ 10512 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_unlock00 10513 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_unlock00(lua_State* tolua_S) 10514 { 10515 #ifndef TOLUA_RELEASE 10516 tolua_Error tolua_err; 10517 if ( 10518 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10519 !tolua_isnoobj(tolua_S,2,&tolua_err) 10520 ) 10521 goto tolua_lerror; 10522 else 10523 #endif 10524 { 10525 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10526 #ifndef TOLUA_RELEASE 10527 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_unlock'", NULL); 10528 #endif 10529 { 10530 self->msgq_unlock(); 10531 } 10532 } 10533 return 0; 10534 #ifndef TOLUA_RELEASE 10535 tolua_lerror: 10536 tolua_error(tolua_S,"#ferror in function 'msgq_unlock'.",&tolua_err); 10537 return 0; 10538 #endif 10539 } 10540 #endif //#ifndef TOLUA_DISABLE 10541 10542 /* method: msgq_pop of class fawkes::HumanoidMotionInterface */ 10543 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_pop00 10544 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_pop00(lua_State* tolua_S) 10545 { 10546 #ifndef TOLUA_RELEASE 10547 tolua_Error tolua_err; 10548 if ( 10549 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10550 !tolua_isnoobj(tolua_S,2,&tolua_err) 10551 ) 10552 goto tolua_lerror; 10553 else 10554 #endif 10555 { 10556 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10557 #ifndef TOLUA_RELEASE 10558 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_pop'", NULL); 10559 #endif 10560 { 10561 self->msgq_pop(); 10562 } 10563 } 10564 return 0; 10565 #ifndef TOLUA_RELEASE 10566 tolua_lerror: 10567 tolua_error(tolua_S,"#ferror in function 'msgq_pop'.",&tolua_err); 10568 return 0; 10569 #endif 10570 } 10571 #endif //#ifndef TOLUA_DISABLE 10572 10573 /* method: msgq_first of class fawkes::HumanoidMotionInterface */ 10574 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_first00 10575 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_first00(lua_State* tolua_S) 10576 { 10577 #ifndef TOLUA_RELEASE 10578 tolua_Error tolua_err; 10579 if ( 10580 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10581 !tolua_isnoobj(tolua_S,2,&tolua_err) 10582 ) 10583 goto tolua_lerror; 10584 else 10585 #endif 10586 { 10587 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10588 #ifndef TOLUA_RELEASE 10589 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_first'", NULL); 10590 #endif 10591 { 10592 Message* tolua_ret = (Message*) self->msgq_first(); 10593 tolua_pushusertype(tolua_S,(void*)tolua_ret,"Message"); 10594 } 10595 } 10596 return 1; 10597 #ifndef TOLUA_RELEASE 10598 tolua_lerror: 10599 tolua_error(tolua_S,"#ferror in function 'msgq_first'.",&tolua_err); 10600 return 0; 10601 #endif 10602 } 10603 #endif //#ifndef TOLUA_DISABLE 10604 10605 /* method: msgq_empty of class fawkes::HumanoidMotionInterface */ 10606 #ifndef TOLUA_DISABLE_tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_empty00 10607 static int tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_empty00(lua_State* tolua_S) 10608 { 10609 #ifndef TOLUA_RELEASE 10610 tolua_Error tolua_err; 10611 if ( 10612 !tolua_isusertype(tolua_S,1,"fawkes::HumanoidMotionInterface",0,&tolua_err) || 10613 !tolua_isnoobj(tolua_S,2,&tolua_err) 10614 ) 10615 goto tolua_lerror; 10616 else 10617 #endif 10618 { 10619 fawkes::HumanoidMotionInterface* self = (fawkes::HumanoidMotionInterface*) tolua_tousertype(tolua_S,1,0); 10620 #ifndef TOLUA_RELEASE 10621 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_empty'", NULL); 10622 #endif 10623 { 10624 bool tolua_ret = (bool) self->msgq_empty(); 10625 tolua_pushboolean(tolua_S,(bool)tolua_ret); 10626 } 10627 } 10628 return 1; 10629 #ifndef TOLUA_RELEASE 10630 tolua_lerror: 10631 tolua_error(tolua_S,"#ferror in function 'msgq_empty'.",&tolua_err); 10632 return 0; 10633 #endif 10634 } 10635 #endif //#ifndef TOLUA_DISABLE 10636 10637 /* Open function */ 10638 TOLUA_API int tolua_interfaces_HumanoidMotionInterface_open (lua_State* tolua_S) 10639 { 10640 tolua_open(tolua_S); 10641 tolua_reg_types(tolua_S); 10642 tolua_module(tolua_S,NULL,0); 10643 tolua_beginmodule(tolua_S,NULL); 10644 tolua_module(tolua_S,"fawkes",0); 10645 tolua_beginmodule(tolua_S,"fawkes"); 10646 tolua_cclass(tolua_S,"HumanoidMotionInterface","fawkes::HumanoidMotionInterface","Interface",NULL); 10647 tolua_beginmodule(tolua_S,"HumanoidMotionInterface"); 10648 tolua_constant(tolua_S,"LEG_LEFT",fawkes::HumanoidMotionInterface::LEG_LEFT); 10649 tolua_constant(tolua_S,"LEG_RIGHT",fawkes::HumanoidMotionInterface::LEG_RIGHT); 10650 tolua_constant(tolua_S,"STANDUP_DETECT",fawkes::HumanoidMotionInterface::STANDUP_DETECT); 10651 tolua_constant(tolua_S,"STANDUP_BACK",fawkes::HumanoidMotionInterface::STANDUP_BACK); 10652 tolua_constant(tolua_S,"STANDUP_FRONT",fawkes::HumanoidMotionInterface::STANDUP_FRONT); 10653 tolua_constant(tolua_S,"WALK",fawkes::HumanoidMotionInterface::WALK); 10654 tolua_constant(tolua_S,"KICK",fawkes::HumanoidMotionInterface::KICK); 10655 #ifdef __cplusplus 10656 tolua_cclass(tolua_S,"SetWalkParamsMessage","fawkes::HumanoidMotionInterface::SetWalkParamsMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__SetWalkParamsMessage); 10657 #else 10658 tolua_cclass(tolua_S,"SetWalkParamsMessage","fawkes::HumanoidMotionInterface::SetWalkParamsMessage","Message",NULL); 10659 #endif 10660 tolua_beginmodule(tolua_S,"SetWalkParamsMessage"); 10661 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new00); 10662 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new00_local); 10663 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new00_local); 10664 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new01); 10665 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new01_local); 10666 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_new01_local); 10667 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_delete00); 10668 tolua_function(tolua_S,"max_step_length",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_max_step_length00); 10669 tolua_function(tolua_S,"set_max_step_length",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_max_step_length00); 10670 tolua_function(tolua_S,"maxlenof_max_step_length",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_max_step_length00); 10671 tolua_function(tolua_S,"max_step_height",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_max_step_height00); 10672 tolua_function(tolua_S,"set_max_step_height",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_max_step_height00); 10673 tolua_function(tolua_S,"maxlenof_max_step_height",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_max_step_height00); 10674 tolua_function(tolua_S,"max_step_side",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_max_step_side00); 10675 tolua_function(tolua_S,"set_max_step_side",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_max_step_side00); 10676 tolua_function(tolua_S,"maxlenof_max_step_side",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_max_step_side00); 10677 tolua_function(tolua_S,"max_step_turn",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_max_step_turn00); 10678 tolua_function(tolua_S,"set_max_step_turn",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_max_step_turn00); 10679 tolua_function(tolua_S,"maxlenof_max_step_turn",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_max_step_turn00); 10680 tolua_function(tolua_S,"zmp_offset_forward",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_zmp_offset_forward00); 10681 tolua_function(tolua_S,"set_zmp_offset_forward",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_zmp_offset_forward00); 10682 tolua_function(tolua_S,"maxlenof_zmp_offset_forward",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_zmp_offset_forward00); 10683 tolua_function(tolua_S,"zmp_offset_sideward",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_zmp_offset_sideward00); 10684 tolua_function(tolua_S,"set_zmp_offset_sideward",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_zmp_offset_sideward00); 10685 tolua_function(tolua_S,"maxlenof_zmp_offset_sideward",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_zmp_offset_sideward00); 10686 tolua_function(tolua_S,"l_hip_roll_compensation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_l_hip_roll_compensation00); 10687 tolua_function(tolua_S,"set_l_hip_roll_compensation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_l_hip_roll_compensation00); 10688 tolua_function(tolua_S,"maxlenof_l_hip_roll_compensation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_l_hip_roll_compensation00); 10689 tolua_function(tolua_S,"r_hip_roll_compensation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_r_hip_roll_compensation00); 10690 tolua_function(tolua_S,"set_r_hip_roll_compensation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_r_hip_roll_compensation00); 10691 tolua_function(tolua_S,"maxlenof_r_hip_roll_compensation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_r_hip_roll_compensation00); 10692 tolua_function(tolua_S,"hip_height",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_hip_height00); 10693 tolua_function(tolua_S,"set_hip_height",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_hip_height00); 10694 tolua_function(tolua_S,"maxlenof_hip_height",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_hip_height00); 10695 tolua_function(tolua_S,"torso_sideward_orientation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_torso_sideward_orientation00); 10696 tolua_function(tolua_S,"set_torso_sideward_orientation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_set_torso_sideward_orientation00); 10697 tolua_function(tolua_S,"maxlenof_torso_sideward_orientation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkParamsMessage_maxlenof_torso_sideward_orientation00); 10698 tolua_endmodule(tolua_S); 10699 #ifdef __cplusplus 10700 tolua_cclass(tolua_S,"SetWalkArmsParamsMessage","fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__SetWalkArmsParamsMessage); 10701 #else 10702 tolua_cclass(tolua_S,"SetWalkArmsParamsMessage","fawkes::HumanoidMotionInterface::SetWalkArmsParamsMessage","Message",NULL); 10703 #endif 10704 tolua_beginmodule(tolua_S,"SetWalkArmsParamsMessage"); 10705 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new00); 10706 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new00_local); 10707 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new00_local); 10708 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new01); 10709 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new01_local); 10710 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_new01_local); 10711 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_delete00); 10712 tolua_function(tolua_S,"is_arms_enabled",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_is_arms_enabled00); 10713 tolua_function(tolua_S,"set_arms_enabled",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_arms_enabled00); 10714 tolua_function(tolua_S,"maxlenof_arms_enabled",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_arms_enabled00); 10715 tolua_function(tolua_S,"shoulder_pitch_median",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_shoulder_pitch_median00); 10716 tolua_function(tolua_S,"set_shoulder_pitch_median",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_shoulder_pitch_median00); 10717 tolua_function(tolua_S,"maxlenof_shoulder_pitch_median",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_shoulder_pitch_median00); 10718 tolua_function(tolua_S,"shoulder_pitch_amplitude",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_shoulder_pitch_amplitude00); 10719 tolua_function(tolua_S,"set_shoulder_pitch_amplitude",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_shoulder_pitch_amplitude00); 10720 tolua_function(tolua_S,"maxlenof_shoulder_pitch_amplitude",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_shoulder_pitch_amplitude00); 10721 tolua_function(tolua_S,"elbow_roll_median",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_elbow_roll_median00); 10722 tolua_function(tolua_S,"set_elbow_roll_median",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_elbow_roll_median00); 10723 tolua_function(tolua_S,"maxlenof_elbow_roll_median",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_elbow_roll_median00); 10724 tolua_function(tolua_S,"elbow_roll_amplitude",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_elbow_roll_amplitude00); 10725 tolua_function(tolua_S,"set_elbow_roll_amplitude",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_set_elbow_roll_amplitude00); 10726 tolua_function(tolua_S,"maxlenof_elbow_roll_amplitude",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetWalkArmsParamsMessage_maxlenof_elbow_roll_amplitude00); 10727 tolua_endmodule(tolua_S); 10728 #ifdef __cplusplus 10729 tolua_cclass(tolua_S,"StopMessage","fawkes::HumanoidMotionInterface::StopMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__StopMessage); 10730 #else 10731 tolua_cclass(tolua_S,"StopMessage","fawkes::HumanoidMotionInterface::StopMessage","Message",NULL); 10732 #endif 10733 tolua_beginmodule(tolua_S,"StopMessage"); 10734 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StopMessage_new00); 10735 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StopMessage_new00_local); 10736 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StopMessage_new00_local); 10737 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StopMessage_delete00); 10738 tolua_endmodule(tolua_S); 10739 #ifdef __cplusplus 10740 tolua_cclass(tolua_S,"WalkStraightMessage","fawkes::HumanoidMotionInterface::WalkStraightMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__WalkStraightMessage); 10741 #else 10742 tolua_cclass(tolua_S,"WalkStraightMessage","fawkes::HumanoidMotionInterface::WalkStraightMessage","Message",NULL); 10743 #endif 10744 tolua_beginmodule(tolua_S,"WalkStraightMessage"); 10745 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new00); 10746 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new00_local); 10747 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new00_local); 10748 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new01); 10749 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new01_local); 10750 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_new01_local); 10751 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_delete00); 10752 tolua_function(tolua_S,"distance",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_distance00); 10753 tolua_function(tolua_S,"set_distance",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_set_distance00); 10754 tolua_function(tolua_S,"maxlenof_distance",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_maxlenof_distance00); 10755 tolua_function(tolua_S,"num_samples",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_num_samples00); 10756 tolua_function(tolua_S,"set_num_samples",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_set_num_samples00); 10757 tolua_function(tolua_S,"maxlenof_num_samples",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkStraightMessage_maxlenof_num_samples00); 10758 tolua_endmodule(tolua_S); 10759 #ifdef __cplusplus 10760 tolua_cclass(tolua_S,"WalkSidewaysMessage","fawkes::HumanoidMotionInterface::WalkSidewaysMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__WalkSidewaysMessage); 10761 #else 10762 tolua_cclass(tolua_S,"WalkSidewaysMessage","fawkes::HumanoidMotionInterface::WalkSidewaysMessage","Message",NULL); 10763 #endif 10764 tolua_beginmodule(tolua_S,"WalkSidewaysMessage"); 10765 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new00); 10766 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new00_local); 10767 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new00_local); 10768 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new01); 10769 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new01_local); 10770 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_new01_local); 10771 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_delete00); 10772 tolua_function(tolua_S,"distance",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_distance00); 10773 tolua_function(tolua_S,"set_distance",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_set_distance00); 10774 tolua_function(tolua_S,"maxlenof_distance",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_maxlenof_distance00); 10775 tolua_function(tolua_S,"num_samples",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_num_samples00); 10776 tolua_function(tolua_S,"set_num_samples",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_set_num_samples00); 10777 tolua_function(tolua_S,"maxlenof_num_samples",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkSidewaysMessage_maxlenof_num_samples00); 10778 tolua_endmodule(tolua_S); 10779 #ifdef __cplusplus 10780 tolua_cclass(tolua_S,"WalkArcMessage","fawkes::HumanoidMotionInterface::WalkArcMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__WalkArcMessage); 10781 #else 10782 tolua_cclass(tolua_S,"WalkArcMessage","fawkes::HumanoidMotionInterface::WalkArcMessage","Message",NULL); 10783 #endif 10784 tolua_beginmodule(tolua_S,"WalkArcMessage"); 10785 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new00); 10786 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new00_local); 10787 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new00_local); 10788 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new01); 10789 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new01_local); 10790 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_new01_local); 10791 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_delete00); 10792 tolua_function(tolua_S,"angle",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_angle00); 10793 tolua_function(tolua_S,"set_angle",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_set_angle00); 10794 tolua_function(tolua_S,"maxlenof_angle",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_maxlenof_angle00); 10795 tolua_function(tolua_S,"radius",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_radius00); 10796 tolua_function(tolua_S,"set_radius",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_set_radius00); 10797 tolua_function(tolua_S,"maxlenof_radius",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_maxlenof_radius00); 10798 tolua_function(tolua_S,"num_samples",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_num_samples00); 10799 tolua_function(tolua_S,"set_num_samples",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_set_num_samples00); 10800 tolua_function(tolua_S,"maxlenof_num_samples",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkArcMessage_maxlenof_num_samples00); 10801 tolua_endmodule(tolua_S); 10802 #ifdef __cplusplus 10803 tolua_cclass(tolua_S,"WalkMessage","fawkes::HumanoidMotionInterface::WalkMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__WalkMessage); 10804 #else 10805 tolua_cclass(tolua_S,"WalkMessage","fawkes::HumanoidMotionInterface::WalkMessage","Message",NULL); 10806 #endif 10807 tolua_beginmodule(tolua_S,"WalkMessage"); 10808 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new00); 10809 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new00_local); 10810 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new00_local); 10811 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new01); 10812 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new01_local); 10813 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_new01_local); 10814 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_delete00); 10815 tolua_function(tolua_S,"x",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_x00); 10816 tolua_function(tolua_S,"set_x",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_set_x00); 10817 tolua_function(tolua_S,"maxlenof_x",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_maxlenof_x00); 10818 tolua_function(tolua_S,"y",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_y00); 10819 tolua_function(tolua_S,"set_y",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_set_y00); 10820 tolua_function(tolua_S,"maxlenof_y",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_maxlenof_y00); 10821 tolua_function(tolua_S,"theta",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_theta00); 10822 tolua_function(tolua_S,"set_theta",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_set_theta00); 10823 tolua_function(tolua_S,"maxlenof_theta",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_maxlenof_theta00); 10824 tolua_function(tolua_S,"speed",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_speed00); 10825 tolua_function(tolua_S,"set_speed",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_set_speed00); 10826 tolua_function(tolua_S,"maxlenof_speed",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_WalkMessage_maxlenof_speed00); 10827 tolua_endmodule(tolua_S); 10828 #ifdef __cplusplus 10829 tolua_cclass(tolua_S,"TurnMessage","fawkes::HumanoidMotionInterface::TurnMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__TurnMessage); 10830 #else 10831 tolua_cclass(tolua_S,"TurnMessage","fawkes::HumanoidMotionInterface::TurnMessage","Message",NULL); 10832 #endif 10833 tolua_beginmodule(tolua_S,"TurnMessage"); 10834 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new00); 10835 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new00_local); 10836 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new00_local); 10837 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new01); 10838 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new01_local); 10839 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_new01_local); 10840 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_delete00); 10841 tolua_function(tolua_S,"angle",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_angle00); 10842 tolua_function(tolua_S,"set_angle",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_set_angle00); 10843 tolua_function(tolua_S,"maxlenof_angle",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_maxlenof_angle00); 10844 tolua_function(tolua_S,"num_samples",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_num_samples00); 10845 tolua_function(tolua_S,"set_num_samples",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_set_num_samples00); 10846 tolua_function(tolua_S,"maxlenof_num_samples",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_TurnMessage_maxlenof_num_samples00); 10847 tolua_endmodule(tolua_S); 10848 #ifdef __cplusplus 10849 tolua_cclass(tolua_S,"KickMessage","fawkes::HumanoidMotionInterface::KickMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__KickMessage); 10850 #else 10851 tolua_cclass(tolua_S,"KickMessage","fawkes::HumanoidMotionInterface::KickMessage","Message",NULL); 10852 #endif 10853 tolua_beginmodule(tolua_S,"KickMessage"); 10854 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new00); 10855 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new00_local); 10856 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new00_local); 10857 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new01); 10858 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new01_local); 10859 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_new01_local); 10860 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_delete00); 10861 tolua_function(tolua_S,"leg",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_leg00); 10862 tolua_function(tolua_S,"set_leg",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_set_leg00); 10863 tolua_function(tolua_S,"maxlenof_leg",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_maxlenof_leg00); 10864 tolua_function(tolua_S,"strength",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_strength00); 10865 tolua_function(tolua_S,"set_strength",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_set_strength00); 10866 tolua_function(tolua_S,"maxlenof_strength",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_KickMessage_maxlenof_strength00); 10867 tolua_endmodule(tolua_S); 10868 #ifdef __cplusplus 10869 tolua_cclass(tolua_S,"ParkMessage","fawkes::HumanoidMotionInterface::ParkMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__ParkMessage); 10870 #else 10871 tolua_cclass(tolua_S,"ParkMessage","fawkes::HumanoidMotionInterface::ParkMessage","Message",NULL); 10872 #endif 10873 tolua_beginmodule(tolua_S,"ParkMessage"); 10874 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new00); 10875 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new00_local); 10876 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new00_local); 10877 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new01); 10878 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new01_local); 10879 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_new01_local); 10880 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_delete00); 10881 tolua_function(tolua_S,"time_sec",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_time_sec00); 10882 tolua_function(tolua_S,"set_time_sec",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_set_time_sec00); 10883 tolua_function(tolua_S,"maxlenof_time_sec",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_ParkMessage_maxlenof_time_sec00); 10884 tolua_endmodule(tolua_S); 10885 #ifdef __cplusplus 10886 tolua_cclass(tolua_S,"GetUpMessage","fawkes::HumanoidMotionInterface::GetUpMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__GetUpMessage); 10887 #else 10888 tolua_cclass(tolua_S,"GetUpMessage","fawkes::HumanoidMotionInterface::GetUpMessage","Message",NULL); 10889 #endif 10890 tolua_beginmodule(tolua_S,"GetUpMessage"); 10891 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new00); 10892 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new00_local); 10893 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new00_local); 10894 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new01); 10895 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new01_local); 10896 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_new01_local); 10897 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_delete00); 10898 tolua_function(tolua_S,"time_sec",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_time_sec00); 10899 tolua_function(tolua_S,"set_time_sec",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_set_time_sec00); 10900 tolua_function(tolua_S,"maxlenof_time_sec",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_GetUpMessage_maxlenof_time_sec00); 10901 tolua_endmodule(tolua_S); 10902 #ifdef __cplusplus 10903 tolua_cclass(tolua_S,"StandupMessage","fawkes::HumanoidMotionInterface::StandupMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__StandupMessage); 10904 #else 10905 tolua_cclass(tolua_S,"StandupMessage","fawkes::HumanoidMotionInterface::StandupMessage","Message",NULL); 10906 #endif 10907 tolua_beginmodule(tolua_S,"StandupMessage"); 10908 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new00); 10909 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new00_local); 10910 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new00_local); 10911 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new01); 10912 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new01_local); 10913 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_new01_local); 10914 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_delete00); 10915 tolua_function(tolua_S,"from_pos",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_from_pos00); 10916 tolua_function(tolua_S,"set_from_pos",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_set_from_pos00); 10917 tolua_function(tolua_S,"maxlenof_from_pos",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_StandupMessage_maxlenof_from_pos00); 10918 tolua_endmodule(tolua_S); 10919 #ifdef __cplusplus 10920 tolua_cclass(tolua_S,"YawPitchHeadMessage","fawkes::HumanoidMotionInterface::YawPitchHeadMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__YawPitchHeadMessage); 10921 #else 10922 tolua_cclass(tolua_S,"YawPitchHeadMessage","fawkes::HumanoidMotionInterface::YawPitchHeadMessage","Message",NULL); 10923 #endif 10924 tolua_beginmodule(tolua_S,"YawPitchHeadMessage"); 10925 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new00); 10926 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new00_local); 10927 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new00_local); 10928 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new01); 10929 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new01_local); 10930 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_new01_local); 10931 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_delete00); 10932 tolua_function(tolua_S,"yaw",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_yaw00); 10933 tolua_function(tolua_S,"set_yaw",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_set_yaw00); 10934 tolua_function(tolua_S,"maxlenof_yaw",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_maxlenof_yaw00); 10935 tolua_function(tolua_S,"pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_pitch00); 10936 tolua_function(tolua_S,"set_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_set_pitch00); 10937 tolua_function(tolua_S,"maxlenof_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_maxlenof_pitch00); 10938 tolua_function(tolua_S,"time_sec",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_time_sec00); 10939 tolua_function(tolua_S,"set_time_sec",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_set_time_sec00); 10940 tolua_function(tolua_S,"maxlenof_time_sec",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_YawPitchHeadMessage_maxlenof_time_sec00); 10941 tolua_endmodule(tolua_S); 10942 #ifdef __cplusplus 10943 tolua_cclass(tolua_S,"SetStiffnessParamsMessage","fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage","Message",tolua_collect_fawkes__HumanoidMotionInterface__SetStiffnessParamsMessage); 10944 #else 10945 tolua_cclass(tolua_S,"SetStiffnessParamsMessage","fawkes::HumanoidMotionInterface::SetStiffnessParamsMessage","Message",NULL); 10946 #endif 10947 tolua_beginmodule(tolua_S,"SetStiffnessParamsMessage"); 10948 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new00); 10949 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new00_local); 10950 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new00_local); 10951 tolua_function(tolua_S,"new",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new01); 10952 tolua_function(tolua_S,"new_local",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new01_local); 10953 tolua_function(tolua_S,".call",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_new01_local); 10954 tolua_function(tolua_S,"delete",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_delete00); 10955 tolua_function(tolua_S,"motion_pattern",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_motion_pattern00); 10956 tolua_function(tolua_S,"set_motion_pattern",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_motion_pattern00); 10957 tolua_function(tolua_S,"maxlenof_motion_pattern",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_motion_pattern00); 10958 tolua_function(tolua_S,"head_yaw",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_head_yaw00); 10959 tolua_function(tolua_S,"set_head_yaw",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_head_yaw00); 10960 tolua_function(tolua_S,"maxlenof_head_yaw",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_head_yaw00); 10961 tolua_function(tolua_S,"head_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_head_pitch00); 10962 tolua_function(tolua_S,"set_head_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_head_pitch00); 10963 tolua_function(tolua_S,"maxlenof_head_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_head_pitch00); 10964 tolua_function(tolua_S,"l_shoulder_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_shoulder_pitch00); 10965 tolua_function(tolua_S,"set_l_shoulder_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_shoulder_pitch00); 10966 tolua_function(tolua_S,"maxlenof_l_shoulder_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_shoulder_pitch00); 10967 tolua_function(tolua_S,"l_shoulder_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_shoulder_roll00); 10968 tolua_function(tolua_S,"set_l_shoulder_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_shoulder_roll00); 10969 tolua_function(tolua_S,"maxlenof_l_shoulder_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_shoulder_roll00); 10970 tolua_function(tolua_S,"l_elbow_yaw",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_elbow_yaw00); 10971 tolua_function(tolua_S,"set_l_elbow_yaw",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_elbow_yaw00); 10972 tolua_function(tolua_S,"maxlenof_l_elbow_yaw",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_elbow_yaw00); 10973 tolua_function(tolua_S,"l_elbow_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_elbow_roll00); 10974 tolua_function(tolua_S,"set_l_elbow_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_elbow_roll00); 10975 tolua_function(tolua_S,"maxlenof_l_elbow_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_elbow_roll00); 10976 tolua_function(tolua_S,"l_hip_yaw_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_hip_yaw_pitch00); 10977 tolua_function(tolua_S,"set_l_hip_yaw_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_hip_yaw_pitch00); 10978 tolua_function(tolua_S,"maxlenof_l_hip_yaw_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_hip_yaw_pitch00); 10979 tolua_function(tolua_S,"l_hip_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_hip_roll00); 10980 tolua_function(tolua_S,"set_l_hip_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_hip_roll00); 10981 tolua_function(tolua_S,"maxlenof_l_hip_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_hip_roll00); 10982 tolua_function(tolua_S,"l_hip_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_hip_pitch00); 10983 tolua_function(tolua_S,"set_l_hip_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_hip_pitch00); 10984 tolua_function(tolua_S,"maxlenof_l_hip_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_hip_pitch00); 10985 tolua_function(tolua_S,"l_knee_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_knee_pitch00); 10986 tolua_function(tolua_S,"set_l_knee_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_knee_pitch00); 10987 tolua_function(tolua_S,"maxlenof_l_knee_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_knee_pitch00); 10988 tolua_function(tolua_S,"l_ankle_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_ankle_pitch00); 10989 tolua_function(tolua_S,"set_l_ankle_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_ankle_pitch00); 10990 tolua_function(tolua_S,"maxlenof_l_ankle_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_ankle_pitch00); 10991 tolua_function(tolua_S,"l_ankle_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_l_ankle_roll00); 10992 tolua_function(tolua_S,"set_l_ankle_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_l_ankle_roll00); 10993 tolua_function(tolua_S,"maxlenof_l_ankle_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_l_ankle_roll00); 10994 tolua_function(tolua_S,"r_hip_yaw_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_hip_yaw_pitch00); 10995 tolua_function(tolua_S,"set_r_hip_yaw_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_hip_yaw_pitch00); 10996 tolua_function(tolua_S,"maxlenof_r_hip_yaw_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_hip_yaw_pitch00); 10997 tolua_function(tolua_S,"r_hip_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_hip_roll00); 10998 tolua_function(tolua_S,"set_r_hip_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_hip_roll00); 10999 tolua_function(tolua_S,"maxlenof_r_hip_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_hip_roll00); 11000 tolua_function(tolua_S,"r_hip_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_hip_pitch00); 11001 tolua_function(tolua_S,"set_r_hip_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_hip_pitch00); 11002 tolua_function(tolua_S,"maxlenof_r_hip_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_hip_pitch00); 11003 tolua_function(tolua_S,"r_knee_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_knee_pitch00); 11004 tolua_function(tolua_S,"set_r_knee_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_knee_pitch00); 11005 tolua_function(tolua_S,"maxlenof_r_knee_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_knee_pitch00); 11006 tolua_function(tolua_S,"r_ankle_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_ankle_pitch00); 11007 tolua_function(tolua_S,"set_r_ankle_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_ankle_pitch00); 11008 tolua_function(tolua_S,"maxlenof_r_ankle_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_ankle_pitch00); 11009 tolua_function(tolua_S,"r_ankle_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_ankle_roll00); 11010 tolua_function(tolua_S,"set_r_ankle_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_ankle_roll00); 11011 tolua_function(tolua_S,"maxlenof_r_ankle_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_ankle_roll00); 11012 tolua_function(tolua_S,"r_shoulder_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_shoulder_pitch00); 11013 tolua_function(tolua_S,"set_r_shoulder_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_shoulder_pitch00); 11014 tolua_function(tolua_S,"maxlenof_r_shoulder_pitch",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_shoulder_pitch00); 11015 tolua_function(tolua_S,"r_shoulder_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_shoulder_roll00); 11016 tolua_function(tolua_S,"set_r_shoulder_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_shoulder_roll00); 11017 tolua_function(tolua_S,"maxlenof_r_shoulder_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_shoulder_roll00); 11018 tolua_function(tolua_S,"r_elbow_yaw",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_elbow_yaw00); 11019 tolua_function(tolua_S,"set_r_elbow_yaw",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_elbow_yaw00); 11020 tolua_function(tolua_S,"maxlenof_r_elbow_yaw",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_elbow_yaw00); 11021 tolua_function(tolua_S,"r_elbow_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_r_elbow_roll00); 11022 tolua_function(tolua_S,"set_r_elbow_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_set_r_elbow_roll00); 11023 tolua_function(tolua_S,"maxlenof_r_elbow_roll",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_SetStiffnessParamsMessage_maxlenof_r_elbow_roll00); 11024 tolua_endmodule(tolua_S); 11025 tolua_function(tolua_S,"is_walking",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_is_walking00); 11026 tolua_function(tolua_S,"set_walking",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_walking00); 11027 tolua_function(tolua_S,"maxlenof_walking",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_walking00); 11028 tolua_function(tolua_S,"supporting_leg",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_supporting_leg00); 11029 tolua_function(tolua_S,"set_supporting_leg",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_supporting_leg00); 11030 tolua_function(tolua_S,"maxlenof_supporting_leg",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_supporting_leg00); 11031 tolua_function(tolua_S,"max_step_length",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_max_step_length00); 11032 tolua_function(tolua_S,"set_max_step_length",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_max_step_length00); 11033 tolua_function(tolua_S,"maxlenof_max_step_length",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_max_step_length00); 11034 tolua_function(tolua_S,"max_step_height",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_max_step_height00); 11035 tolua_function(tolua_S,"set_max_step_height",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_max_step_height00); 11036 tolua_function(tolua_S,"maxlenof_max_step_height",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_max_step_height00); 11037 tolua_function(tolua_S,"max_step_side",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_max_step_side00); 11038 tolua_function(tolua_S,"set_max_step_side",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_max_step_side00); 11039 tolua_function(tolua_S,"maxlenof_max_step_side",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_max_step_side00); 11040 tolua_function(tolua_S,"max_step_turn",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_max_step_turn00); 11041 tolua_function(tolua_S,"set_max_step_turn",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_max_step_turn00); 11042 tolua_function(tolua_S,"maxlenof_max_step_turn",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_max_step_turn00); 11043 tolua_function(tolua_S,"zmp_offset_forward",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_zmp_offset_forward00); 11044 tolua_function(tolua_S,"set_zmp_offset_forward",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_zmp_offset_forward00); 11045 tolua_function(tolua_S,"maxlenof_zmp_offset_forward",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_zmp_offset_forward00); 11046 tolua_function(tolua_S,"zmp_offset_sideward",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_zmp_offset_sideward00); 11047 tolua_function(tolua_S,"set_zmp_offset_sideward",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_zmp_offset_sideward00); 11048 tolua_function(tolua_S,"maxlenof_zmp_offset_sideward",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_zmp_offset_sideward00); 11049 tolua_function(tolua_S,"l_hip_roll_compensation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_l_hip_roll_compensation00); 11050 tolua_function(tolua_S,"set_l_hip_roll_compensation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_l_hip_roll_compensation00); 11051 tolua_function(tolua_S,"maxlenof_l_hip_roll_compensation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_l_hip_roll_compensation00); 11052 tolua_function(tolua_S,"r_hip_roll_compensation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_r_hip_roll_compensation00); 11053 tolua_function(tolua_S,"set_r_hip_roll_compensation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_r_hip_roll_compensation00); 11054 tolua_function(tolua_S,"maxlenof_r_hip_roll_compensation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_r_hip_roll_compensation00); 11055 tolua_function(tolua_S,"hip_height",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_hip_height00); 11056 tolua_function(tolua_S,"set_hip_height",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_hip_height00); 11057 tolua_function(tolua_S,"maxlenof_hip_height",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_hip_height00); 11058 tolua_function(tolua_S,"torso_sideward_orientation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_torso_sideward_orientation00); 11059 tolua_function(tolua_S,"set_torso_sideward_orientation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_torso_sideward_orientation00); 11060 tolua_function(tolua_S,"maxlenof_torso_sideward_orientation",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_torso_sideward_orientation00); 11061 tolua_function(tolua_S,"is_arms_enabled",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_is_arms_enabled00); 11062 tolua_function(tolua_S,"set_arms_enabled",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_arms_enabled00); 11063 tolua_function(tolua_S,"maxlenof_arms_enabled",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_arms_enabled00); 11064 tolua_function(tolua_S,"shoulder_pitch_median",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_shoulder_pitch_median00); 11065 tolua_function(tolua_S,"set_shoulder_pitch_median",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_shoulder_pitch_median00); 11066 tolua_function(tolua_S,"maxlenof_shoulder_pitch_median",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_shoulder_pitch_median00); 11067 tolua_function(tolua_S,"shoulder_pitch_amplitude",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_shoulder_pitch_amplitude00); 11068 tolua_function(tolua_S,"set_shoulder_pitch_amplitude",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_shoulder_pitch_amplitude00); 11069 tolua_function(tolua_S,"maxlenof_shoulder_pitch_amplitude",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_shoulder_pitch_amplitude00); 11070 tolua_function(tolua_S,"elbow_roll_median",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_elbow_roll_median00); 11071 tolua_function(tolua_S,"set_elbow_roll_median",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_elbow_roll_median00); 11072 tolua_function(tolua_S,"maxlenof_elbow_roll_median",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_elbow_roll_median00); 11073 tolua_function(tolua_S,"elbow_roll_amplitude",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_elbow_roll_amplitude00); 11074 tolua_function(tolua_S,"set_elbow_roll_amplitude",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_elbow_roll_amplitude00); 11075 tolua_function(tolua_S,"maxlenof_elbow_roll_amplitude",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_elbow_roll_amplitude00); 11076 tolua_function(tolua_S,"msgid",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgid00); 11077 tolua_function(tolua_S,"set_msgid",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_msgid00); 11078 tolua_function(tolua_S,"maxlenof_msgid",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_maxlenof_msgid00); 11079 tolua_function(tolua_S,"oftype",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_oftype00); 11080 tolua_function(tolua_S,"datachunk",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_datachunk00); 11081 tolua_function(tolua_S,"datasize",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_datasize00); 11082 tolua_function(tolua_S,"type",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_type00); 11083 tolua_function(tolua_S,"id",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_id00); 11084 tolua_function(tolua_S,"uid",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_uid00); 11085 tolua_function(tolua_S,"serial",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_serial00); 11086 tolua_function(tolua_S,"mem_serial",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_mem_serial00); 11087 tolua_function(tolua_S,".eq",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface__eq00); 11088 tolua_function(tolua_S,"hash",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_hash00); 11089 tolua_function(tolua_S,"hash_size",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_hash_size00); 11090 tolua_function(tolua_S,"hash_printable",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_hash_printable00); 11091 tolua_function(tolua_S,"is_writer",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_is_writer00); 11092 tolua_function(tolua_S,"set_from_chunk",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_set_from_chunk00); 11093 tolua_function(tolua_S,"create_message",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_create_message00); 11094 tolua_function(tolua_S,"read",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_read00); 11095 tolua_function(tolua_S,"write",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_write00); 11096 tolua_function(tolua_S,"has_writer",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_has_writer00); 11097 tolua_function(tolua_S,"num_readers",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_num_readers00); 11098 tolua_function(tolua_S,"msgq_enqueue_copy",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_enqueue_copy00); 11099 tolua_function(tolua_S,"msgq_remove",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_remove00); 11100 tolua_function(tolua_S,"msgq_remove",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_remove01); 11101 tolua_function(tolua_S,"msgq_size",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_size00); 11102 tolua_function(tolua_S,"msgq_flush",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_flush00); 11103 tolua_function(tolua_S,"msgq_lock",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_lock00); 11104 tolua_function(tolua_S,"msgq_try_lock",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_try_lock00); 11105 tolua_function(tolua_S,"msgq_unlock",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_unlock00); 11106 tolua_function(tolua_S,"msgq_pop",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_pop00); 11107 tolua_function(tolua_S,"msgq_first",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_first00); 11108 tolua_function(tolua_S,"msgq_empty",tolua_interfaces_HumanoidMotionInterface_fawkes_HumanoidMotionInterface_msgq_empty00); 11109 tolua_endmodule(tolua_S); 11110 tolua_endmodule(tolua_S); 11111 tolua_endmodule(tolua_S); 11112 return 1; 11113 } 11114 11115 11116 extern "C" { 11117 #if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501 11118 TOLUA_API int luaopen_interfaces_HumanoidMotionInterface (lua_State* tolua_S) { 11119 return tolua_interfaces_HumanoidMotionInterface_open(tolua_S); 11120 }; 11121 #endif 11122 } 11123 11124