Fawkes API
Fawkes Development Version
|
00001 /* 00002 ** Lua binding: interfaces_NaoJointStiffnessInterface 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_NaoJointStiffnessInterface_open (lua_State* tolua_S); 00028 00029 #include <interfaces/NaoJointStiffnessInterface.h> 00030 using namespace fawkes; 00031 00032 /* function to release collected object via destructor */ 00033 #ifdef __cplusplus 00034 00035 static int tolua_collect_fawkes__NaoJointStiffnessInterface__SetBodyStiffnessMessage (lua_State* tolua_S) 00036 { 00037 fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00038 Mtolua_delete(self); 00039 return 0; 00040 } 00041 00042 static int tolua_collect_fawkes__NaoJointStiffnessInterface__SetStiffnessMessage (lua_State* tolua_S) 00043 { 00044 fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00045 Mtolua_delete(self); 00046 return 0; 00047 } 00048 00049 static int tolua_collect_fawkes__NaoJointStiffnessInterface__SetStiffnessesMessage (lua_State* tolua_S) 00050 { 00051 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 00052 Mtolua_delete(self); 00053 return 0; 00054 } 00055 #endif 00056 00057 00058 /* function to register type */ 00059 static void tolua_reg_types (lua_State* tolua_S) 00060 { 00061 tolua_usertype(tolua_S,"Message"); 00062 tolua_usertype(tolua_S,"fawkes::NaoJointStiffnessInterface"); 00063 tolua_usertype(tolua_S,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage"); 00064 tolua_usertype(tolua_S,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage"); 00065 tolua_usertype(tolua_S,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage"); 00066 tolua_usertype(tolua_S,"Interface"); 00067 } 00068 00069 /* method: new of class SetStiffnessMessage */ 00070 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new00 00071 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new00(lua_State* tolua_S) 00072 { 00073 #ifndef TOLUA_RELEASE 00074 tolua_Error tolua_err; 00075 if ( 00076 !tolua_isusertable(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00077 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00078 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 00079 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 00080 !tolua_isnoobj(tolua_S,5,&tolua_err) 00081 ) 00082 goto tolua_lerror; 00083 else 00084 #endif 00085 { 00086 unsigned int ini_servo = ((unsigned int) tolua_tonumber(tolua_S,2,0)); 00087 float ini_value = ((float) tolua_tonumber(tolua_S,3,0)); 00088 float ini_time_sec = ((float) tolua_tonumber(tolua_S,4,0)); 00089 { 00090 fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* tolua_ret = (fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) Mtolua_new((fawkes::NaoJointStiffnessInterface::SetStiffnessMessage)(ini_servo,ini_value,ini_time_sec)); 00091 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage"); 00092 } 00093 } 00094 return 1; 00095 #ifndef TOLUA_RELEASE 00096 tolua_lerror: 00097 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 00098 return 0; 00099 #endif 00100 } 00101 #endif //#ifndef TOLUA_DISABLE 00102 00103 /* method: new_local of class SetStiffnessMessage */ 00104 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new00_local 00105 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new00_local(lua_State* tolua_S) 00106 { 00107 #ifndef TOLUA_RELEASE 00108 tolua_Error tolua_err; 00109 if ( 00110 !tolua_isusertable(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00111 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00112 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 00113 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 00114 !tolua_isnoobj(tolua_S,5,&tolua_err) 00115 ) 00116 goto tolua_lerror; 00117 else 00118 #endif 00119 { 00120 unsigned int ini_servo = ((unsigned int) tolua_tonumber(tolua_S,2,0)); 00121 float ini_value = ((float) tolua_tonumber(tolua_S,3,0)); 00122 float ini_time_sec = ((float) tolua_tonumber(tolua_S,4,0)); 00123 { 00124 fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* tolua_ret = (fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) Mtolua_new((fawkes::NaoJointStiffnessInterface::SetStiffnessMessage)(ini_servo,ini_value,ini_time_sec)); 00125 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage"); 00126 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 00127 } 00128 } 00129 return 1; 00130 #ifndef TOLUA_RELEASE 00131 tolua_lerror: 00132 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 00133 return 0; 00134 #endif 00135 } 00136 #endif //#ifndef TOLUA_DISABLE 00137 00138 /* method: new of class SetStiffnessMessage */ 00139 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new01 00140 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new01(lua_State* tolua_S) 00141 { 00142 tolua_Error tolua_err; 00143 if ( 00144 !tolua_isusertable(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00145 !tolua_isnoobj(tolua_S,2,&tolua_err) 00146 ) 00147 goto tolua_lerror; 00148 else 00149 { 00150 { 00151 fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* tolua_ret = (fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) Mtolua_new((fawkes::NaoJointStiffnessInterface::SetStiffnessMessage)()); 00152 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage"); 00153 } 00154 } 00155 return 1; 00156 tolua_lerror: 00157 return tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new00(tolua_S); 00158 } 00159 #endif //#ifndef TOLUA_DISABLE 00160 00161 /* method: new_local of class SetStiffnessMessage */ 00162 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new01_local 00163 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new01_local(lua_State* tolua_S) 00164 { 00165 tolua_Error tolua_err; 00166 if ( 00167 !tolua_isusertable(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00168 !tolua_isnoobj(tolua_S,2,&tolua_err) 00169 ) 00170 goto tolua_lerror; 00171 else 00172 { 00173 { 00174 fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* tolua_ret = (fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) Mtolua_new((fawkes::NaoJointStiffnessInterface::SetStiffnessMessage)()); 00175 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage"); 00176 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 00177 } 00178 } 00179 return 1; 00180 tolua_lerror: 00181 return tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new00_local(tolua_S); 00182 } 00183 #endif //#ifndef TOLUA_DISABLE 00184 00185 /* method: delete of class SetStiffnessMessage */ 00186 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_delete00 00187 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_delete00(lua_State* tolua_S) 00188 { 00189 #ifndef TOLUA_RELEASE 00190 tolua_Error tolua_err; 00191 if ( 00192 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00193 !tolua_isnoobj(tolua_S,2,&tolua_err) 00194 ) 00195 goto tolua_lerror; 00196 else 00197 #endif 00198 { 00199 fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00200 #ifndef TOLUA_RELEASE 00201 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 00202 #endif 00203 Mtolua_delete(self); 00204 } 00205 return 0; 00206 #ifndef TOLUA_RELEASE 00207 tolua_lerror: 00208 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 00209 return 0; 00210 #endif 00211 } 00212 #endif //#ifndef TOLUA_DISABLE 00213 00214 /* method: servo of class SetStiffnessMessage */ 00215 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_servo00 00216 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_servo00(lua_State* tolua_S) 00217 { 00218 #ifndef TOLUA_RELEASE 00219 tolua_Error tolua_err; 00220 if ( 00221 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00222 !tolua_isnoobj(tolua_S,2,&tolua_err) 00223 ) 00224 goto tolua_lerror; 00225 else 00226 #endif 00227 { 00228 fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00229 #ifndef TOLUA_RELEASE 00230 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'servo'", NULL); 00231 #endif 00232 { 00233 unsigned int tolua_ret = (unsigned int) self->servo(); 00234 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00235 } 00236 } 00237 return 1; 00238 #ifndef TOLUA_RELEASE 00239 tolua_lerror: 00240 tolua_error(tolua_S,"#ferror in function 'servo'.",&tolua_err); 00241 return 0; 00242 #endif 00243 } 00244 #endif //#ifndef TOLUA_DISABLE 00245 00246 /* method: set_servo of class SetStiffnessMessage */ 00247 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_set_servo00 00248 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_set_servo00(lua_State* tolua_S) 00249 { 00250 #ifndef TOLUA_RELEASE 00251 tolua_Error tolua_err; 00252 if ( 00253 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00254 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00255 !tolua_isnoobj(tolua_S,3,&tolua_err) 00256 ) 00257 goto tolua_lerror; 00258 else 00259 #endif 00260 { 00261 fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00262 unsigned const int new_servo = ((unsigned const int) tolua_tonumber(tolua_S,2,0)); 00263 #ifndef TOLUA_RELEASE 00264 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_servo'", NULL); 00265 #endif 00266 { 00267 self->set_servo(new_servo); 00268 } 00269 } 00270 return 0; 00271 #ifndef TOLUA_RELEASE 00272 tolua_lerror: 00273 tolua_error(tolua_S,"#ferror in function 'set_servo'.",&tolua_err); 00274 return 0; 00275 #endif 00276 } 00277 #endif //#ifndef TOLUA_DISABLE 00278 00279 /* method: maxlenof_servo of class SetStiffnessMessage */ 00280 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_maxlenof_servo00 00281 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_maxlenof_servo00(lua_State* tolua_S) 00282 { 00283 #ifndef TOLUA_RELEASE 00284 tolua_Error tolua_err; 00285 if ( 00286 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00287 !tolua_isnoobj(tolua_S,2,&tolua_err) 00288 ) 00289 goto tolua_lerror; 00290 else 00291 #endif 00292 { 00293 const fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00294 #ifndef TOLUA_RELEASE 00295 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_servo'", NULL); 00296 #endif 00297 { 00298 int tolua_ret = (int) self->maxlenof_servo(); 00299 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00300 } 00301 } 00302 return 1; 00303 #ifndef TOLUA_RELEASE 00304 tolua_lerror: 00305 tolua_error(tolua_S,"#ferror in function 'maxlenof_servo'.",&tolua_err); 00306 return 0; 00307 #endif 00308 } 00309 #endif //#ifndef TOLUA_DISABLE 00310 00311 /* method: value of class SetStiffnessMessage */ 00312 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_value00 00313 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_value00(lua_State* tolua_S) 00314 { 00315 #ifndef TOLUA_RELEASE 00316 tolua_Error tolua_err; 00317 if ( 00318 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00319 !tolua_isnoobj(tolua_S,2,&tolua_err) 00320 ) 00321 goto tolua_lerror; 00322 else 00323 #endif 00324 { 00325 fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00326 #ifndef TOLUA_RELEASE 00327 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'value'", NULL); 00328 #endif 00329 { 00330 float tolua_ret = (float) self->value(); 00331 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00332 } 00333 } 00334 return 1; 00335 #ifndef TOLUA_RELEASE 00336 tolua_lerror: 00337 tolua_error(tolua_S,"#ferror in function 'value'.",&tolua_err); 00338 return 0; 00339 #endif 00340 } 00341 #endif //#ifndef TOLUA_DISABLE 00342 00343 /* method: set_value of class SetStiffnessMessage */ 00344 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_set_value00 00345 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_set_value00(lua_State* tolua_S) 00346 { 00347 #ifndef TOLUA_RELEASE 00348 tolua_Error tolua_err; 00349 if ( 00350 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00351 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00352 !tolua_isnoobj(tolua_S,3,&tolua_err) 00353 ) 00354 goto tolua_lerror; 00355 else 00356 #endif 00357 { 00358 fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00359 const float new_value = ((const float) tolua_tonumber(tolua_S,2,0)); 00360 #ifndef TOLUA_RELEASE 00361 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_value'", NULL); 00362 #endif 00363 { 00364 self->set_value(new_value); 00365 } 00366 } 00367 return 0; 00368 #ifndef TOLUA_RELEASE 00369 tolua_lerror: 00370 tolua_error(tolua_S,"#ferror in function 'set_value'.",&tolua_err); 00371 return 0; 00372 #endif 00373 } 00374 #endif //#ifndef TOLUA_DISABLE 00375 00376 /* method: maxlenof_value of class SetStiffnessMessage */ 00377 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_maxlenof_value00 00378 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_maxlenof_value00(lua_State* tolua_S) 00379 { 00380 #ifndef TOLUA_RELEASE 00381 tolua_Error tolua_err; 00382 if ( 00383 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00384 !tolua_isnoobj(tolua_S,2,&tolua_err) 00385 ) 00386 goto tolua_lerror; 00387 else 00388 #endif 00389 { 00390 const fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00391 #ifndef TOLUA_RELEASE 00392 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_value'", NULL); 00393 #endif 00394 { 00395 int tolua_ret = (int) self->maxlenof_value(); 00396 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00397 } 00398 } 00399 return 1; 00400 #ifndef TOLUA_RELEASE 00401 tolua_lerror: 00402 tolua_error(tolua_S,"#ferror in function 'maxlenof_value'.",&tolua_err); 00403 return 0; 00404 #endif 00405 } 00406 #endif //#ifndef TOLUA_DISABLE 00407 00408 /* method: time_sec of class SetStiffnessMessage */ 00409 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_time_sec00 00410 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_time_sec00(lua_State* tolua_S) 00411 { 00412 #ifndef TOLUA_RELEASE 00413 tolua_Error tolua_err; 00414 if ( 00415 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00416 !tolua_isnoobj(tolua_S,2,&tolua_err) 00417 ) 00418 goto tolua_lerror; 00419 else 00420 #endif 00421 { 00422 fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00423 #ifndef TOLUA_RELEASE 00424 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'time_sec'", NULL); 00425 #endif 00426 { 00427 float tolua_ret = (float) self->time_sec(); 00428 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00429 } 00430 } 00431 return 1; 00432 #ifndef TOLUA_RELEASE 00433 tolua_lerror: 00434 tolua_error(tolua_S,"#ferror in function 'time_sec'.",&tolua_err); 00435 return 0; 00436 #endif 00437 } 00438 #endif //#ifndef TOLUA_DISABLE 00439 00440 /* method: set_time_sec of class SetStiffnessMessage */ 00441 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_set_time_sec00 00442 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_set_time_sec00(lua_State* tolua_S) 00443 { 00444 #ifndef TOLUA_RELEASE 00445 tolua_Error tolua_err; 00446 if ( 00447 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00448 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00449 !tolua_isnoobj(tolua_S,3,&tolua_err) 00450 ) 00451 goto tolua_lerror; 00452 else 00453 #endif 00454 { 00455 fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00456 const float new_time_sec = ((const float) tolua_tonumber(tolua_S,2,0)); 00457 #ifndef TOLUA_RELEASE 00458 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_time_sec'", NULL); 00459 #endif 00460 { 00461 self->set_time_sec(new_time_sec); 00462 } 00463 } 00464 return 0; 00465 #ifndef TOLUA_RELEASE 00466 tolua_lerror: 00467 tolua_error(tolua_S,"#ferror in function 'set_time_sec'.",&tolua_err); 00468 return 0; 00469 #endif 00470 } 00471 #endif //#ifndef TOLUA_DISABLE 00472 00473 /* method: maxlenof_time_sec of class SetStiffnessMessage */ 00474 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_maxlenof_time_sec00 00475 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_maxlenof_time_sec00(lua_State* tolua_S) 00476 { 00477 #ifndef TOLUA_RELEASE 00478 tolua_Error tolua_err; 00479 if ( 00480 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessMessage",0,&tolua_err) || 00481 !tolua_isnoobj(tolua_S,2,&tolua_err) 00482 ) 00483 goto tolua_lerror; 00484 else 00485 #endif 00486 { 00487 const fawkes::NaoJointStiffnessInterface::SetStiffnessMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00488 #ifndef TOLUA_RELEASE 00489 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_time_sec'", NULL); 00490 #endif 00491 { 00492 int tolua_ret = (int) self->maxlenof_time_sec(); 00493 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00494 } 00495 } 00496 return 1; 00497 #ifndef TOLUA_RELEASE 00498 tolua_lerror: 00499 tolua_error(tolua_S,"#ferror in function 'maxlenof_time_sec'.",&tolua_err); 00500 return 0; 00501 #endif 00502 } 00503 #endif //#ifndef TOLUA_DISABLE 00504 00505 /* method: new of class SetBodyStiffnessMessage */ 00506 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new00 00507 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new00(lua_State* tolua_S) 00508 { 00509 #ifndef TOLUA_RELEASE 00510 tolua_Error tolua_err; 00511 if ( 00512 !tolua_isusertable(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage",0,&tolua_err) || 00513 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00514 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 00515 !tolua_isnoobj(tolua_S,4,&tolua_err) 00516 ) 00517 goto tolua_lerror; 00518 else 00519 #endif 00520 { 00521 float ini_value = ((float) tolua_tonumber(tolua_S,2,0)); 00522 float ini_time_sec = ((float) tolua_tonumber(tolua_S,3,0)); 00523 { 00524 fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage* tolua_ret = (fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage*) Mtolua_new((fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage)(ini_value,ini_time_sec)); 00525 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage"); 00526 } 00527 } 00528 return 1; 00529 #ifndef TOLUA_RELEASE 00530 tolua_lerror: 00531 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 00532 return 0; 00533 #endif 00534 } 00535 #endif //#ifndef TOLUA_DISABLE 00536 00537 /* method: new_local of class SetBodyStiffnessMessage */ 00538 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new00_local 00539 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new00_local(lua_State* tolua_S) 00540 { 00541 #ifndef TOLUA_RELEASE 00542 tolua_Error tolua_err; 00543 if ( 00544 !tolua_isusertable(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage",0,&tolua_err) || 00545 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00546 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 00547 !tolua_isnoobj(tolua_S,4,&tolua_err) 00548 ) 00549 goto tolua_lerror; 00550 else 00551 #endif 00552 { 00553 float ini_value = ((float) tolua_tonumber(tolua_S,2,0)); 00554 float ini_time_sec = ((float) tolua_tonumber(tolua_S,3,0)); 00555 { 00556 fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage* tolua_ret = (fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage*) Mtolua_new((fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage)(ini_value,ini_time_sec)); 00557 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage"); 00558 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 00559 } 00560 } 00561 return 1; 00562 #ifndef TOLUA_RELEASE 00563 tolua_lerror: 00564 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 00565 return 0; 00566 #endif 00567 } 00568 #endif //#ifndef TOLUA_DISABLE 00569 00570 /* method: new of class SetBodyStiffnessMessage */ 00571 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new01 00572 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new01(lua_State* tolua_S) 00573 { 00574 tolua_Error tolua_err; 00575 if ( 00576 !tolua_isusertable(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage",0,&tolua_err) || 00577 !tolua_isnoobj(tolua_S,2,&tolua_err) 00578 ) 00579 goto tolua_lerror; 00580 else 00581 { 00582 { 00583 fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage* tolua_ret = (fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage*) Mtolua_new((fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage)()); 00584 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage"); 00585 } 00586 } 00587 return 1; 00588 tolua_lerror: 00589 return tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new00(tolua_S); 00590 } 00591 #endif //#ifndef TOLUA_DISABLE 00592 00593 /* method: new_local of class SetBodyStiffnessMessage */ 00594 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new01_local 00595 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new01_local(lua_State* tolua_S) 00596 { 00597 tolua_Error tolua_err; 00598 if ( 00599 !tolua_isusertable(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage",0,&tolua_err) || 00600 !tolua_isnoobj(tolua_S,2,&tolua_err) 00601 ) 00602 goto tolua_lerror; 00603 else 00604 { 00605 { 00606 fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage* tolua_ret = (fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage*) Mtolua_new((fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage)()); 00607 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage"); 00608 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 00609 } 00610 } 00611 return 1; 00612 tolua_lerror: 00613 return tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new00_local(tolua_S); 00614 } 00615 #endif //#ifndef TOLUA_DISABLE 00616 00617 /* method: delete of class SetBodyStiffnessMessage */ 00618 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_delete00 00619 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_delete00(lua_State* tolua_S) 00620 { 00621 #ifndef TOLUA_RELEASE 00622 tolua_Error tolua_err; 00623 if ( 00624 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage",0,&tolua_err) || 00625 !tolua_isnoobj(tolua_S,2,&tolua_err) 00626 ) 00627 goto tolua_lerror; 00628 else 00629 #endif 00630 { 00631 fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00632 #ifndef TOLUA_RELEASE 00633 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 00634 #endif 00635 Mtolua_delete(self); 00636 } 00637 return 0; 00638 #ifndef TOLUA_RELEASE 00639 tolua_lerror: 00640 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 00641 return 0; 00642 #endif 00643 } 00644 #endif //#ifndef TOLUA_DISABLE 00645 00646 /* method: value of class SetBodyStiffnessMessage */ 00647 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_value00 00648 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_value00(lua_State* tolua_S) 00649 { 00650 #ifndef TOLUA_RELEASE 00651 tolua_Error tolua_err; 00652 if ( 00653 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage",0,&tolua_err) || 00654 !tolua_isnoobj(tolua_S,2,&tolua_err) 00655 ) 00656 goto tolua_lerror; 00657 else 00658 #endif 00659 { 00660 fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00661 #ifndef TOLUA_RELEASE 00662 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'value'", NULL); 00663 #endif 00664 { 00665 float tolua_ret = (float) self->value(); 00666 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00667 } 00668 } 00669 return 1; 00670 #ifndef TOLUA_RELEASE 00671 tolua_lerror: 00672 tolua_error(tolua_S,"#ferror in function 'value'.",&tolua_err); 00673 return 0; 00674 #endif 00675 } 00676 #endif //#ifndef TOLUA_DISABLE 00677 00678 /* method: set_value of class SetBodyStiffnessMessage */ 00679 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_set_value00 00680 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_set_value00(lua_State* tolua_S) 00681 { 00682 #ifndef TOLUA_RELEASE 00683 tolua_Error tolua_err; 00684 if ( 00685 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage",0,&tolua_err) || 00686 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00687 !tolua_isnoobj(tolua_S,3,&tolua_err) 00688 ) 00689 goto tolua_lerror; 00690 else 00691 #endif 00692 { 00693 fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00694 const float new_value = ((const float) tolua_tonumber(tolua_S,2,0)); 00695 #ifndef TOLUA_RELEASE 00696 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_value'", NULL); 00697 #endif 00698 { 00699 self->set_value(new_value); 00700 } 00701 } 00702 return 0; 00703 #ifndef TOLUA_RELEASE 00704 tolua_lerror: 00705 tolua_error(tolua_S,"#ferror in function 'set_value'.",&tolua_err); 00706 return 0; 00707 #endif 00708 } 00709 #endif //#ifndef TOLUA_DISABLE 00710 00711 /* method: maxlenof_value of class SetBodyStiffnessMessage */ 00712 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_maxlenof_value00 00713 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_maxlenof_value00(lua_State* tolua_S) 00714 { 00715 #ifndef TOLUA_RELEASE 00716 tolua_Error tolua_err; 00717 if ( 00718 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage",0,&tolua_err) || 00719 !tolua_isnoobj(tolua_S,2,&tolua_err) 00720 ) 00721 goto tolua_lerror; 00722 else 00723 #endif 00724 { 00725 const fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage* self = (const fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00726 #ifndef TOLUA_RELEASE 00727 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_value'", NULL); 00728 #endif 00729 { 00730 int tolua_ret = (int) self->maxlenof_value(); 00731 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00732 } 00733 } 00734 return 1; 00735 #ifndef TOLUA_RELEASE 00736 tolua_lerror: 00737 tolua_error(tolua_S,"#ferror in function 'maxlenof_value'.",&tolua_err); 00738 return 0; 00739 #endif 00740 } 00741 #endif //#ifndef TOLUA_DISABLE 00742 00743 /* method: time_sec of class SetBodyStiffnessMessage */ 00744 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_time_sec00 00745 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_time_sec00(lua_State* tolua_S) 00746 { 00747 #ifndef TOLUA_RELEASE 00748 tolua_Error tolua_err; 00749 if ( 00750 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage",0,&tolua_err) || 00751 !tolua_isnoobj(tolua_S,2,&tolua_err) 00752 ) 00753 goto tolua_lerror; 00754 else 00755 #endif 00756 { 00757 fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00758 #ifndef TOLUA_RELEASE 00759 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'time_sec'", NULL); 00760 #endif 00761 { 00762 float tolua_ret = (float) self->time_sec(); 00763 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00764 } 00765 } 00766 return 1; 00767 #ifndef TOLUA_RELEASE 00768 tolua_lerror: 00769 tolua_error(tolua_S,"#ferror in function 'time_sec'.",&tolua_err); 00770 return 0; 00771 #endif 00772 } 00773 #endif //#ifndef TOLUA_DISABLE 00774 00775 /* method: set_time_sec of class SetBodyStiffnessMessage */ 00776 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_set_time_sec00 00777 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_set_time_sec00(lua_State* tolua_S) 00778 { 00779 #ifndef TOLUA_RELEASE 00780 tolua_Error tolua_err; 00781 if ( 00782 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage",0,&tolua_err) || 00783 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00784 !tolua_isnoobj(tolua_S,3,&tolua_err) 00785 ) 00786 goto tolua_lerror; 00787 else 00788 #endif 00789 { 00790 fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage* self = (fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00791 const float new_time_sec = ((const float) tolua_tonumber(tolua_S,2,0)); 00792 #ifndef TOLUA_RELEASE 00793 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_time_sec'", NULL); 00794 #endif 00795 { 00796 self->set_time_sec(new_time_sec); 00797 } 00798 } 00799 return 0; 00800 #ifndef TOLUA_RELEASE 00801 tolua_lerror: 00802 tolua_error(tolua_S,"#ferror in function 'set_time_sec'.",&tolua_err); 00803 return 0; 00804 #endif 00805 } 00806 #endif //#ifndef TOLUA_DISABLE 00807 00808 /* method: maxlenof_time_sec of class SetBodyStiffnessMessage */ 00809 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_maxlenof_time_sec00 00810 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_maxlenof_time_sec00(lua_State* tolua_S) 00811 { 00812 #ifndef TOLUA_RELEASE 00813 tolua_Error tolua_err; 00814 if ( 00815 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage",0,&tolua_err) || 00816 !tolua_isnoobj(tolua_S,2,&tolua_err) 00817 ) 00818 goto tolua_lerror; 00819 else 00820 #endif 00821 { 00822 const fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage* self = (const fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage*) tolua_tousertype(tolua_S,1,0); 00823 #ifndef TOLUA_RELEASE 00824 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_time_sec'", NULL); 00825 #endif 00826 { 00827 int tolua_ret = (int) self->maxlenof_time_sec(); 00828 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 00829 } 00830 } 00831 return 1; 00832 #ifndef TOLUA_RELEASE 00833 tolua_lerror: 00834 tolua_error(tolua_S,"#ferror in function 'maxlenof_time_sec'.",&tolua_err); 00835 return 0; 00836 #endif 00837 } 00838 #endif //#ifndef TOLUA_DISABLE 00839 00840 /* method: new of class SetStiffnessesMessage */ 00841 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new00 00842 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new00(lua_State* tolua_S) 00843 { 00844 #ifndef TOLUA_RELEASE 00845 tolua_Error tolua_err; 00846 if ( 00847 !tolua_isusertable(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 00848 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00849 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 00850 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 00851 !tolua_isnumber(tolua_S,5,0,&tolua_err) || 00852 !tolua_isnumber(tolua_S,6,0,&tolua_err) || 00853 !tolua_isnumber(tolua_S,7,0,&tolua_err) || 00854 !tolua_isnumber(tolua_S,8,0,&tolua_err) || 00855 !tolua_isnumber(tolua_S,9,0,&tolua_err) || 00856 !tolua_isnumber(tolua_S,10,0,&tolua_err) || 00857 !tolua_isnumber(tolua_S,11,0,&tolua_err) || 00858 !tolua_isnumber(tolua_S,12,0,&tolua_err) || 00859 !tolua_isnumber(tolua_S,13,0,&tolua_err) || 00860 !tolua_isnumber(tolua_S,14,0,&tolua_err) || 00861 !tolua_isnumber(tolua_S,15,0,&tolua_err) || 00862 !tolua_isnumber(tolua_S,16,0,&tolua_err) || 00863 !tolua_isnumber(tolua_S,17,0,&tolua_err) || 00864 !tolua_isnumber(tolua_S,18,0,&tolua_err) || 00865 !tolua_isnumber(tolua_S,19,0,&tolua_err) || 00866 !tolua_isnumber(tolua_S,20,0,&tolua_err) || 00867 !tolua_isnumber(tolua_S,21,0,&tolua_err) || 00868 !tolua_isnumber(tolua_S,22,0,&tolua_err) || 00869 !tolua_isnumber(tolua_S,23,0,&tolua_err) || 00870 !tolua_isnumber(tolua_S,24,0,&tolua_err) || 00871 !tolua_isnumber(tolua_S,25,0,&tolua_err) || 00872 !tolua_isnumber(tolua_S,26,0,&tolua_err) || 00873 !tolua_isnumber(tolua_S,27,0,&tolua_err) || 00874 !tolua_isnumber(tolua_S,28,0,&tolua_err) || 00875 !tolua_isnoobj(tolua_S,29,&tolua_err) 00876 ) 00877 goto tolua_lerror; 00878 else 00879 #endif 00880 { 00881 float ini_time_sec = ((float) tolua_tonumber(tolua_S,2,0)); 00882 float ini_head_yaw = ((float) tolua_tonumber(tolua_S,3,0)); 00883 float ini_head_pitch = ((float) tolua_tonumber(tolua_S,4,0)); 00884 float ini_l_shoulder_pitch = ((float) tolua_tonumber(tolua_S,5,0)); 00885 float ini_l_shoulder_roll = ((float) tolua_tonumber(tolua_S,6,0)); 00886 float ini_l_elbow_yaw = ((float) tolua_tonumber(tolua_S,7,0)); 00887 float ini_l_elbow_roll = ((float) tolua_tonumber(tolua_S,8,0)); 00888 float ini_l_wrist_yaw = ((float) tolua_tonumber(tolua_S,9,0)); 00889 float ini_l_hand = ((float) tolua_tonumber(tolua_S,10,0)); 00890 float ini_l_hip_yaw_pitch = ((float) tolua_tonumber(tolua_S,11,0)); 00891 float ini_l_hip_roll = ((float) tolua_tonumber(tolua_S,12,0)); 00892 float ini_l_hip_pitch = ((float) tolua_tonumber(tolua_S,13,0)); 00893 float ini_l_knee_pitch = ((float) tolua_tonumber(tolua_S,14,0)); 00894 float ini_l_ankle_pitch = ((float) tolua_tonumber(tolua_S,15,0)); 00895 float ini_l_ankle_roll = ((float) tolua_tonumber(tolua_S,16,0)); 00896 float ini_r_shoulder_pitch = ((float) tolua_tonumber(tolua_S,17,0)); 00897 float ini_r_shoulder_roll = ((float) tolua_tonumber(tolua_S,18,0)); 00898 float ini_r_elbow_yaw = ((float) tolua_tonumber(tolua_S,19,0)); 00899 float ini_r_wrist_yaw = ((float) tolua_tonumber(tolua_S,20,0)); 00900 float ini_r_hand = ((float) tolua_tonumber(tolua_S,21,0)); 00901 float ini_r_hip_yaw_pitch = ((float) tolua_tonumber(tolua_S,22,0)); 00902 float ini_r_hip_roll = ((float) tolua_tonumber(tolua_S,23,0)); 00903 float ini_r_hip_pitch = ((float) tolua_tonumber(tolua_S,24,0)); 00904 float ini_r_knee_pitch = ((float) tolua_tonumber(tolua_S,25,0)); 00905 float ini_r_ankle_pitch = ((float) tolua_tonumber(tolua_S,26,0)); 00906 float ini_r_ankle_roll = ((float) tolua_tonumber(tolua_S,27,0)); 00907 float ini_r_elbow_roll = ((float) tolua_tonumber(tolua_S,28,0)); 00908 { 00909 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* tolua_ret = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) Mtolua_new((fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage)(ini_time_sec,ini_head_yaw,ini_head_pitch,ini_l_shoulder_pitch,ini_l_shoulder_roll,ini_l_elbow_yaw,ini_l_elbow_roll,ini_l_wrist_yaw,ini_l_hand,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_shoulder_pitch,ini_r_shoulder_roll,ini_r_elbow_yaw,ini_r_wrist_yaw,ini_r_hand,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_elbow_roll)); 00910 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage"); 00911 } 00912 } 00913 return 1; 00914 #ifndef TOLUA_RELEASE 00915 tolua_lerror: 00916 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 00917 return 0; 00918 #endif 00919 } 00920 #endif //#ifndef TOLUA_DISABLE 00921 00922 /* method: new_local of class SetStiffnessesMessage */ 00923 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new00_local 00924 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new00_local(lua_State* tolua_S) 00925 { 00926 #ifndef TOLUA_RELEASE 00927 tolua_Error tolua_err; 00928 if ( 00929 !tolua_isusertable(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 00930 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 00931 !tolua_isnumber(tolua_S,3,0,&tolua_err) || 00932 !tolua_isnumber(tolua_S,4,0,&tolua_err) || 00933 !tolua_isnumber(tolua_S,5,0,&tolua_err) || 00934 !tolua_isnumber(tolua_S,6,0,&tolua_err) || 00935 !tolua_isnumber(tolua_S,7,0,&tolua_err) || 00936 !tolua_isnumber(tolua_S,8,0,&tolua_err) || 00937 !tolua_isnumber(tolua_S,9,0,&tolua_err) || 00938 !tolua_isnumber(tolua_S,10,0,&tolua_err) || 00939 !tolua_isnumber(tolua_S,11,0,&tolua_err) || 00940 !tolua_isnumber(tolua_S,12,0,&tolua_err) || 00941 !tolua_isnumber(tolua_S,13,0,&tolua_err) || 00942 !tolua_isnumber(tolua_S,14,0,&tolua_err) || 00943 !tolua_isnumber(tolua_S,15,0,&tolua_err) || 00944 !tolua_isnumber(tolua_S,16,0,&tolua_err) || 00945 !tolua_isnumber(tolua_S,17,0,&tolua_err) || 00946 !tolua_isnumber(tolua_S,18,0,&tolua_err) || 00947 !tolua_isnumber(tolua_S,19,0,&tolua_err) || 00948 !tolua_isnumber(tolua_S,20,0,&tolua_err) || 00949 !tolua_isnumber(tolua_S,21,0,&tolua_err) || 00950 !tolua_isnumber(tolua_S,22,0,&tolua_err) || 00951 !tolua_isnumber(tolua_S,23,0,&tolua_err) || 00952 !tolua_isnumber(tolua_S,24,0,&tolua_err) || 00953 !tolua_isnumber(tolua_S,25,0,&tolua_err) || 00954 !tolua_isnumber(tolua_S,26,0,&tolua_err) || 00955 !tolua_isnumber(tolua_S,27,0,&tolua_err) || 00956 !tolua_isnumber(tolua_S,28,0,&tolua_err) || 00957 !tolua_isnoobj(tolua_S,29,&tolua_err) 00958 ) 00959 goto tolua_lerror; 00960 else 00961 #endif 00962 { 00963 float ini_time_sec = ((float) tolua_tonumber(tolua_S,2,0)); 00964 float ini_head_yaw = ((float) tolua_tonumber(tolua_S,3,0)); 00965 float ini_head_pitch = ((float) tolua_tonumber(tolua_S,4,0)); 00966 float ini_l_shoulder_pitch = ((float) tolua_tonumber(tolua_S,5,0)); 00967 float ini_l_shoulder_roll = ((float) tolua_tonumber(tolua_S,6,0)); 00968 float ini_l_elbow_yaw = ((float) tolua_tonumber(tolua_S,7,0)); 00969 float ini_l_elbow_roll = ((float) tolua_tonumber(tolua_S,8,0)); 00970 float ini_l_wrist_yaw = ((float) tolua_tonumber(tolua_S,9,0)); 00971 float ini_l_hand = ((float) tolua_tonumber(tolua_S,10,0)); 00972 float ini_l_hip_yaw_pitch = ((float) tolua_tonumber(tolua_S,11,0)); 00973 float ini_l_hip_roll = ((float) tolua_tonumber(tolua_S,12,0)); 00974 float ini_l_hip_pitch = ((float) tolua_tonumber(tolua_S,13,0)); 00975 float ini_l_knee_pitch = ((float) tolua_tonumber(tolua_S,14,0)); 00976 float ini_l_ankle_pitch = ((float) tolua_tonumber(tolua_S,15,0)); 00977 float ini_l_ankle_roll = ((float) tolua_tonumber(tolua_S,16,0)); 00978 float ini_r_shoulder_pitch = ((float) tolua_tonumber(tolua_S,17,0)); 00979 float ini_r_shoulder_roll = ((float) tolua_tonumber(tolua_S,18,0)); 00980 float ini_r_elbow_yaw = ((float) tolua_tonumber(tolua_S,19,0)); 00981 float ini_r_wrist_yaw = ((float) tolua_tonumber(tolua_S,20,0)); 00982 float ini_r_hand = ((float) tolua_tonumber(tolua_S,21,0)); 00983 float ini_r_hip_yaw_pitch = ((float) tolua_tonumber(tolua_S,22,0)); 00984 float ini_r_hip_roll = ((float) tolua_tonumber(tolua_S,23,0)); 00985 float ini_r_hip_pitch = ((float) tolua_tonumber(tolua_S,24,0)); 00986 float ini_r_knee_pitch = ((float) tolua_tonumber(tolua_S,25,0)); 00987 float ini_r_ankle_pitch = ((float) tolua_tonumber(tolua_S,26,0)); 00988 float ini_r_ankle_roll = ((float) tolua_tonumber(tolua_S,27,0)); 00989 float ini_r_elbow_roll = ((float) tolua_tonumber(tolua_S,28,0)); 00990 { 00991 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* tolua_ret = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) Mtolua_new((fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage)(ini_time_sec,ini_head_yaw,ini_head_pitch,ini_l_shoulder_pitch,ini_l_shoulder_roll,ini_l_elbow_yaw,ini_l_elbow_roll,ini_l_wrist_yaw,ini_l_hand,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_shoulder_pitch,ini_r_shoulder_roll,ini_r_elbow_yaw,ini_r_wrist_yaw,ini_r_hand,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_elbow_roll)); 00992 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage"); 00993 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 00994 } 00995 } 00996 return 1; 00997 #ifndef TOLUA_RELEASE 00998 tolua_lerror: 00999 tolua_error(tolua_S,"#ferror in function 'new'.",&tolua_err); 01000 return 0; 01001 #endif 01002 } 01003 #endif //#ifndef TOLUA_DISABLE 01004 01005 /* method: new of class SetStiffnessesMessage */ 01006 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new01 01007 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new01(lua_State* tolua_S) 01008 { 01009 tolua_Error tolua_err; 01010 if ( 01011 !tolua_isusertable(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01012 !tolua_isnoobj(tolua_S,2,&tolua_err) 01013 ) 01014 goto tolua_lerror; 01015 else 01016 { 01017 { 01018 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* tolua_ret = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) Mtolua_new((fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage)()); 01019 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage"); 01020 } 01021 } 01022 return 1; 01023 tolua_lerror: 01024 return tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new00(tolua_S); 01025 } 01026 #endif //#ifndef TOLUA_DISABLE 01027 01028 /* method: new_local of class SetStiffnessesMessage */ 01029 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new01_local 01030 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new01_local(lua_State* tolua_S) 01031 { 01032 tolua_Error tolua_err; 01033 if ( 01034 !tolua_isusertable(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01035 !tolua_isnoobj(tolua_S,2,&tolua_err) 01036 ) 01037 goto tolua_lerror; 01038 else 01039 { 01040 { 01041 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* tolua_ret = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) Mtolua_new((fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage)()); 01042 tolua_pushusertype(tolua_S,(void*)tolua_ret,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage"); 01043 tolua_register_gc(tolua_S,lua_gettop(tolua_S)); 01044 } 01045 } 01046 return 1; 01047 tolua_lerror: 01048 return tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new00_local(tolua_S); 01049 } 01050 #endif //#ifndef TOLUA_DISABLE 01051 01052 /* method: delete of class SetStiffnessesMessage */ 01053 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_delete00 01054 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_delete00(lua_State* tolua_S) 01055 { 01056 #ifndef TOLUA_RELEASE 01057 tolua_Error tolua_err; 01058 if ( 01059 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01060 !tolua_isnoobj(tolua_S,2,&tolua_err) 01061 ) 01062 goto tolua_lerror; 01063 else 01064 #endif 01065 { 01066 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01067 #ifndef TOLUA_RELEASE 01068 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'delete'", NULL); 01069 #endif 01070 Mtolua_delete(self); 01071 } 01072 return 0; 01073 #ifndef TOLUA_RELEASE 01074 tolua_lerror: 01075 tolua_error(tolua_S,"#ferror in function 'delete'.",&tolua_err); 01076 return 0; 01077 #endif 01078 } 01079 #endif //#ifndef TOLUA_DISABLE 01080 01081 /* method: time_sec of class SetStiffnessesMessage */ 01082 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_time_sec00 01083 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_time_sec00(lua_State* tolua_S) 01084 { 01085 #ifndef TOLUA_RELEASE 01086 tolua_Error tolua_err; 01087 if ( 01088 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01089 !tolua_isnoobj(tolua_S,2,&tolua_err) 01090 ) 01091 goto tolua_lerror; 01092 else 01093 #endif 01094 { 01095 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01096 #ifndef TOLUA_RELEASE 01097 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'time_sec'", NULL); 01098 #endif 01099 { 01100 float tolua_ret = (float) self->time_sec(); 01101 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01102 } 01103 } 01104 return 1; 01105 #ifndef TOLUA_RELEASE 01106 tolua_lerror: 01107 tolua_error(tolua_S,"#ferror in function 'time_sec'.",&tolua_err); 01108 return 0; 01109 #endif 01110 } 01111 #endif //#ifndef TOLUA_DISABLE 01112 01113 /* method: set_time_sec of class SetStiffnessesMessage */ 01114 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_time_sec00 01115 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_time_sec00(lua_State* tolua_S) 01116 { 01117 #ifndef TOLUA_RELEASE 01118 tolua_Error tolua_err; 01119 if ( 01120 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01121 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01122 !tolua_isnoobj(tolua_S,3,&tolua_err) 01123 ) 01124 goto tolua_lerror; 01125 else 01126 #endif 01127 { 01128 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01129 const float new_time_sec = ((const float) tolua_tonumber(tolua_S,2,0)); 01130 #ifndef TOLUA_RELEASE 01131 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_time_sec'", NULL); 01132 #endif 01133 { 01134 self->set_time_sec(new_time_sec); 01135 } 01136 } 01137 return 0; 01138 #ifndef TOLUA_RELEASE 01139 tolua_lerror: 01140 tolua_error(tolua_S,"#ferror in function 'set_time_sec'.",&tolua_err); 01141 return 0; 01142 #endif 01143 } 01144 #endif //#ifndef TOLUA_DISABLE 01145 01146 /* method: maxlenof_time_sec of class SetStiffnessesMessage */ 01147 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_time_sec00 01148 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_time_sec00(lua_State* tolua_S) 01149 { 01150 #ifndef TOLUA_RELEASE 01151 tolua_Error tolua_err; 01152 if ( 01153 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01154 !tolua_isnoobj(tolua_S,2,&tolua_err) 01155 ) 01156 goto tolua_lerror; 01157 else 01158 #endif 01159 { 01160 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01161 #ifndef TOLUA_RELEASE 01162 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_time_sec'", NULL); 01163 #endif 01164 { 01165 int tolua_ret = (int) self->maxlenof_time_sec(); 01166 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01167 } 01168 } 01169 return 1; 01170 #ifndef TOLUA_RELEASE 01171 tolua_lerror: 01172 tolua_error(tolua_S,"#ferror in function 'maxlenof_time_sec'.",&tolua_err); 01173 return 0; 01174 #endif 01175 } 01176 #endif //#ifndef TOLUA_DISABLE 01177 01178 /* method: head_yaw of class SetStiffnessesMessage */ 01179 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_head_yaw00 01180 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_head_yaw00(lua_State* tolua_S) 01181 { 01182 #ifndef TOLUA_RELEASE 01183 tolua_Error tolua_err; 01184 if ( 01185 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01186 !tolua_isnoobj(tolua_S,2,&tolua_err) 01187 ) 01188 goto tolua_lerror; 01189 else 01190 #endif 01191 { 01192 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01193 #ifndef TOLUA_RELEASE 01194 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'head_yaw'", NULL); 01195 #endif 01196 { 01197 float tolua_ret = (float) self->head_yaw(); 01198 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01199 } 01200 } 01201 return 1; 01202 #ifndef TOLUA_RELEASE 01203 tolua_lerror: 01204 tolua_error(tolua_S,"#ferror in function 'head_yaw'.",&tolua_err); 01205 return 0; 01206 #endif 01207 } 01208 #endif //#ifndef TOLUA_DISABLE 01209 01210 /* method: set_head_yaw of class SetStiffnessesMessage */ 01211 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_head_yaw00 01212 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_head_yaw00(lua_State* tolua_S) 01213 { 01214 #ifndef TOLUA_RELEASE 01215 tolua_Error tolua_err; 01216 if ( 01217 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01218 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01219 !tolua_isnoobj(tolua_S,3,&tolua_err) 01220 ) 01221 goto tolua_lerror; 01222 else 01223 #endif 01224 { 01225 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01226 const float new_head_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 01227 #ifndef TOLUA_RELEASE 01228 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_head_yaw'", NULL); 01229 #endif 01230 { 01231 self->set_head_yaw(new_head_yaw); 01232 } 01233 } 01234 return 0; 01235 #ifndef TOLUA_RELEASE 01236 tolua_lerror: 01237 tolua_error(tolua_S,"#ferror in function 'set_head_yaw'.",&tolua_err); 01238 return 0; 01239 #endif 01240 } 01241 #endif //#ifndef TOLUA_DISABLE 01242 01243 /* method: maxlenof_head_yaw of class SetStiffnessesMessage */ 01244 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_head_yaw00 01245 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_head_yaw00(lua_State* tolua_S) 01246 { 01247 #ifndef TOLUA_RELEASE 01248 tolua_Error tolua_err; 01249 if ( 01250 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01251 !tolua_isnoobj(tolua_S,2,&tolua_err) 01252 ) 01253 goto tolua_lerror; 01254 else 01255 #endif 01256 { 01257 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01258 #ifndef TOLUA_RELEASE 01259 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_head_yaw'", NULL); 01260 #endif 01261 { 01262 int tolua_ret = (int) self->maxlenof_head_yaw(); 01263 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01264 } 01265 } 01266 return 1; 01267 #ifndef TOLUA_RELEASE 01268 tolua_lerror: 01269 tolua_error(tolua_S,"#ferror in function 'maxlenof_head_yaw'.",&tolua_err); 01270 return 0; 01271 #endif 01272 } 01273 #endif //#ifndef TOLUA_DISABLE 01274 01275 /* method: head_pitch of class SetStiffnessesMessage */ 01276 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_head_pitch00 01277 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_head_pitch00(lua_State* tolua_S) 01278 { 01279 #ifndef TOLUA_RELEASE 01280 tolua_Error tolua_err; 01281 if ( 01282 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01283 !tolua_isnoobj(tolua_S,2,&tolua_err) 01284 ) 01285 goto tolua_lerror; 01286 else 01287 #endif 01288 { 01289 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01290 #ifndef TOLUA_RELEASE 01291 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'head_pitch'", NULL); 01292 #endif 01293 { 01294 float tolua_ret = (float) self->head_pitch(); 01295 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01296 } 01297 } 01298 return 1; 01299 #ifndef TOLUA_RELEASE 01300 tolua_lerror: 01301 tolua_error(tolua_S,"#ferror in function 'head_pitch'.",&tolua_err); 01302 return 0; 01303 #endif 01304 } 01305 #endif //#ifndef TOLUA_DISABLE 01306 01307 /* method: set_head_pitch of class SetStiffnessesMessage */ 01308 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_head_pitch00 01309 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_head_pitch00(lua_State* tolua_S) 01310 { 01311 #ifndef TOLUA_RELEASE 01312 tolua_Error tolua_err; 01313 if ( 01314 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01315 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01316 !tolua_isnoobj(tolua_S,3,&tolua_err) 01317 ) 01318 goto tolua_lerror; 01319 else 01320 #endif 01321 { 01322 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01323 const float new_head_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 01324 #ifndef TOLUA_RELEASE 01325 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_head_pitch'", NULL); 01326 #endif 01327 { 01328 self->set_head_pitch(new_head_pitch); 01329 } 01330 } 01331 return 0; 01332 #ifndef TOLUA_RELEASE 01333 tolua_lerror: 01334 tolua_error(tolua_S,"#ferror in function 'set_head_pitch'.",&tolua_err); 01335 return 0; 01336 #endif 01337 } 01338 #endif //#ifndef TOLUA_DISABLE 01339 01340 /* method: maxlenof_head_pitch of class SetStiffnessesMessage */ 01341 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_head_pitch00 01342 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_head_pitch00(lua_State* tolua_S) 01343 { 01344 #ifndef TOLUA_RELEASE 01345 tolua_Error tolua_err; 01346 if ( 01347 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01348 !tolua_isnoobj(tolua_S,2,&tolua_err) 01349 ) 01350 goto tolua_lerror; 01351 else 01352 #endif 01353 { 01354 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01355 #ifndef TOLUA_RELEASE 01356 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_head_pitch'", NULL); 01357 #endif 01358 { 01359 int tolua_ret = (int) self->maxlenof_head_pitch(); 01360 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01361 } 01362 } 01363 return 1; 01364 #ifndef TOLUA_RELEASE 01365 tolua_lerror: 01366 tolua_error(tolua_S,"#ferror in function 'maxlenof_head_pitch'.",&tolua_err); 01367 return 0; 01368 #endif 01369 } 01370 #endif //#ifndef TOLUA_DISABLE 01371 01372 /* method: l_shoulder_pitch of class SetStiffnessesMessage */ 01373 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_shoulder_pitch00 01374 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_shoulder_pitch00(lua_State* tolua_S) 01375 { 01376 #ifndef TOLUA_RELEASE 01377 tolua_Error tolua_err; 01378 if ( 01379 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01380 !tolua_isnoobj(tolua_S,2,&tolua_err) 01381 ) 01382 goto tolua_lerror; 01383 else 01384 #endif 01385 { 01386 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01387 #ifndef TOLUA_RELEASE 01388 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_shoulder_pitch'", NULL); 01389 #endif 01390 { 01391 float tolua_ret = (float) self->l_shoulder_pitch(); 01392 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01393 } 01394 } 01395 return 1; 01396 #ifndef TOLUA_RELEASE 01397 tolua_lerror: 01398 tolua_error(tolua_S,"#ferror in function 'l_shoulder_pitch'.",&tolua_err); 01399 return 0; 01400 #endif 01401 } 01402 #endif //#ifndef TOLUA_DISABLE 01403 01404 /* method: set_l_shoulder_pitch of class SetStiffnessesMessage */ 01405 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_shoulder_pitch00 01406 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_shoulder_pitch00(lua_State* tolua_S) 01407 { 01408 #ifndef TOLUA_RELEASE 01409 tolua_Error tolua_err; 01410 if ( 01411 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01412 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01413 !tolua_isnoobj(tolua_S,3,&tolua_err) 01414 ) 01415 goto tolua_lerror; 01416 else 01417 #endif 01418 { 01419 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01420 const float new_l_shoulder_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 01421 #ifndef TOLUA_RELEASE 01422 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_shoulder_pitch'", NULL); 01423 #endif 01424 { 01425 self->set_l_shoulder_pitch(new_l_shoulder_pitch); 01426 } 01427 } 01428 return 0; 01429 #ifndef TOLUA_RELEASE 01430 tolua_lerror: 01431 tolua_error(tolua_S,"#ferror in function 'set_l_shoulder_pitch'.",&tolua_err); 01432 return 0; 01433 #endif 01434 } 01435 #endif //#ifndef TOLUA_DISABLE 01436 01437 /* method: maxlenof_l_shoulder_pitch of class SetStiffnessesMessage */ 01438 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_shoulder_pitch00 01439 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_shoulder_pitch00(lua_State* tolua_S) 01440 { 01441 #ifndef TOLUA_RELEASE 01442 tolua_Error tolua_err; 01443 if ( 01444 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01445 !tolua_isnoobj(tolua_S,2,&tolua_err) 01446 ) 01447 goto tolua_lerror; 01448 else 01449 #endif 01450 { 01451 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01452 #ifndef TOLUA_RELEASE 01453 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_shoulder_pitch'", NULL); 01454 #endif 01455 { 01456 int tolua_ret = (int) self->maxlenof_l_shoulder_pitch(); 01457 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01458 } 01459 } 01460 return 1; 01461 #ifndef TOLUA_RELEASE 01462 tolua_lerror: 01463 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_shoulder_pitch'.",&tolua_err); 01464 return 0; 01465 #endif 01466 } 01467 #endif //#ifndef TOLUA_DISABLE 01468 01469 /* method: l_shoulder_roll of class SetStiffnessesMessage */ 01470 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_shoulder_roll00 01471 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_shoulder_roll00(lua_State* tolua_S) 01472 { 01473 #ifndef TOLUA_RELEASE 01474 tolua_Error tolua_err; 01475 if ( 01476 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01477 !tolua_isnoobj(tolua_S,2,&tolua_err) 01478 ) 01479 goto tolua_lerror; 01480 else 01481 #endif 01482 { 01483 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01484 #ifndef TOLUA_RELEASE 01485 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_shoulder_roll'", NULL); 01486 #endif 01487 { 01488 float tolua_ret = (float) self->l_shoulder_roll(); 01489 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01490 } 01491 } 01492 return 1; 01493 #ifndef TOLUA_RELEASE 01494 tolua_lerror: 01495 tolua_error(tolua_S,"#ferror in function 'l_shoulder_roll'.",&tolua_err); 01496 return 0; 01497 #endif 01498 } 01499 #endif //#ifndef TOLUA_DISABLE 01500 01501 /* method: set_l_shoulder_roll of class SetStiffnessesMessage */ 01502 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_shoulder_roll00 01503 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_shoulder_roll00(lua_State* tolua_S) 01504 { 01505 #ifndef TOLUA_RELEASE 01506 tolua_Error tolua_err; 01507 if ( 01508 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01509 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01510 !tolua_isnoobj(tolua_S,3,&tolua_err) 01511 ) 01512 goto tolua_lerror; 01513 else 01514 #endif 01515 { 01516 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01517 const float new_l_shoulder_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 01518 #ifndef TOLUA_RELEASE 01519 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_shoulder_roll'", NULL); 01520 #endif 01521 { 01522 self->set_l_shoulder_roll(new_l_shoulder_roll); 01523 } 01524 } 01525 return 0; 01526 #ifndef TOLUA_RELEASE 01527 tolua_lerror: 01528 tolua_error(tolua_S,"#ferror in function 'set_l_shoulder_roll'.",&tolua_err); 01529 return 0; 01530 #endif 01531 } 01532 #endif //#ifndef TOLUA_DISABLE 01533 01534 /* method: maxlenof_l_shoulder_roll of class SetStiffnessesMessage */ 01535 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_shoulder_roll00 01536 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_shoulder_roll00(lua_State* tolua_S) 01537 { 01538 #ifndef TOLUA_RELEASE 01539 tolua_Error tolua_err; 01540 if ( 01541 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01542 !tolua_isnoobj(tolua_S,2,&tolua_err) 01543 ) 01544 goto tolua_lerror; 01545 else 01546 #endif 01547 { 01548 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01549 #ifndef TOLUA_RELEASE 01550 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_shoulder_roll'", NULL); 01551 #endif 01552 { 01553 int tolua_ret = (int) self->maxlenof_l_shoulder_roll(); 01554 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01555 } 01556 } 01557 return 1; 01558 #ifndef TOLUA_RELEASE 01559 tolua_lerror: 01560 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_shoulder_roll'.",&tolua_err); 01561 return 0; 01562 #endif 01563 } 01564 #endif //#ifndef TOLUA_DISABLE 01565 01566 /* method: l_elbow_yaw of class SetStiffnessesMessage */ 01567 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_elbow_yaw00 01568 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_elbow_yaw00(lua_State* tolua_S) 01569 { 01570 #ifndef TOLUA_RELEASE 01571 tolua_Error tolua_err; 01572 if ( 01573 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01574 !tolua_isnoobj(tolua_S,2,&tolua_err) 01575 ) 01576 goto tolua_lerror; 01577 else 01578 #endif 01579 { 01580 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01581 #ifndef TOLUA_RELEASE 01582 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_elbow_yaw'", NULL); 01583 #endif 01584 { 01585 float tolua_ret = (float) self->l_elbow_yaw(); 01586 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01587 } 01588 } 01589 return 1; 01590 #ifndef TOLUA_RELEASE 01591 tolua_lerror: 01592 tolua_error(tolua_S,"#ferror in function 'l_elbow_yaw'.",&tolua_err); 01593 return 0; 01594 #endif 01595 } 01596 #endif //#ifndef TOLUA_DISABLE 01597 01598 /* method: set_l_elbow_yaw of class SetStiffnessesMessage */ 01599 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_elbow_yaw00 01600 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_elbow_yaw00(lua_State* tolua_S) 01601 { 01602 #ifndef TOLUA_RELEASE 01603 tolua_Error tolua_err; 01604 if ( 01605 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01606 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01607 !tolua_isnoobj(tolua_S,3,&tolua_err) 01608 ) 01609 goto tolua_lerror; 01610 else 01611 #endif 01612 { 01613 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01614 const float new_l_elbow_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 01615 #ifndef TOLUA_RELEASE 01616 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_elbow_yaw'", NULL); 01617 #endif 01618 { 01619 self->set_l_elbow_yaw(new_l_elbow_yaw); 01620 } 01621 } 01622 return 0; 01623 #ifndef TOLUA_RELEASE 01624 tolua_lerror: 01625 tolua_error(tolua_S,"#ferror in function 'set_l_elbow_yaw'.",&tolua_err); 01626 return 0; 01627 #endif 01628 } 01629 #endif //#ifndef TOLUA_DISABLE 01630 01631 /* method: maxlenof_l_elbow_yaw of class SetStiffnessesMessage */ 01632 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_elbow_yaw00 01633 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_elbow_yaw00(lua_State* tolua_S) 01634 { 01635 #ifndef TOLUA_RELEASE 01636 tolua_Error tolua_err; 01637 if ( 01638 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01639 !tolua_isnoobj(tolua_S,2,&tolua_err) 01640 ) 01641 goto tolua_lerror; 01642 else 01643 #endif 01644 { 01645 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01646 #ifndef TOLUA_RELEASE 01647 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_elbow_yaw'", NULL); 01648 #endif 01649 { 01650 int tolua_ret = (int) self->maxlenof_l_elbow_yaw(); 01651 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01652 } 01653 } 01654 return 1; 01655 #ifndef TOLUA_RELEASE 01656 tolua_lerror: 01657 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_elbow_yaw'.",&tolua_err); 01658 return 0; 01659 #endif 01660 } 01661 #endif //#ifndef TOLUA_DISABLE 01662 01663 /* method: l_elbow_roll of class SetStiffnessesMessage */ 01664 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_elbow_roll00 01665 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_elbow_roll00(lua_State* tolua_S) 01666 { 01667 #ifndef TOLUA_RELEASE 01668 tolua_Error tolua_err; 01669 if ( 01670 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01671 !tolua_isnoobj(tolua_S,2,&tolua_err) 01672 ) 01673 goto tolua_lerror; 01674 else 01675 #endif 01676 { 01677 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01678 #ifndef TOLUA_RELEASE 01679 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_elbow_roll'", NULL); 01680 #endif 01681 { 01682 float tolua_ret = (float) self->l_elbow_roll(); 01683 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01684 } 01685 } 01686 return 1; 01687 #ifndef TOLUA_RELEASE 01688 tolua_lerror: 01689 tolua_error(tolua_S,"#ferror in function 'l_elbow_roll'.",&tolua_err); 01690 return 0; 01691 #endif 01692 } 01693 #endif //#ifndef TOLUA_DISABLE 01694 01695 /* method: set_l_elbow_roll of class SetStiffnessesMessage */ 01696 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_elbow_roll00 01697 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_elbow_roll00(lua_State* tolua_S) 01698 { 01699 #ifndef TOLUA_RELEASE 01700 tolua_Error tolua_err; 01701 if ( 01702 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01703 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01704 !tolua_isnoobj(tolua_S,3,&tolua_err) 01705 ) 01706 goto tolua_lerror; 01707 else 01708 #endif 01709 { 01710 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01711 const float new_l_elbow_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 01712 #ifndef TOLUA_RELEASE 01713 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_elbow_roll'", NULL); 01714 #endif 01715 { 01716 self->set_l_elbow_roll(new_l_elbow_roll); 01717 } 01718 } 01719 return 0; 01720 #ifndef TOLUA_RELEASE 01721 tolua_lerror: 01722 tolua_error(tolua_S,"#ferror in function 'set_l_elbow_roll'.",&tolua_err); 01723 return 0; 01724 #endif 01725 } 01726 #endif //#ifndef TOLUA_DISABLE 01727 01728 /* method: maxlenof_l_elbow_roll of class SetStiffnessesMessage */ 01729 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_elbow_roll00 01730 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_elbow_roll00(lua_State* tolua_S) 01731 { 01732 #ifndef TOLUA_RELEASE 01733 tolua_Error tolua_err; 01734 if ( 01735 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01736 !tolua_isnoobj(tolua_S,2,&tolua_err) 01737 ) 01738 goto tolua_lerror; 01739 else 01740 #endif 01741 { 01742 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01743 #ifndef TOLUA_RELEASE 01744 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_elbow_roll'", NULL); 01745 #endif 01746 { 01747 int tolua_ret = (int) self->maxlenof_l_elbow_roll(); 01748 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01749 } 01750 } 01751 return 1; 01752 #ifndef TOLUA_RELEASE 01753 tolua_lerror: 01754 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_elbow_roll'.",&tolua_err); 01755 return 0; 01756 #endif 01757 } 01758 #endif //#ifndef TOLUA_DISABLE 01759 01760 /* method: l_wrist_yaw of class SetStiffnessesMessage */ 01761 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_wrist_yaw00 01762 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_wrist_yaw00(lua_State* tolua_S) 01763 { 01764 #ifndef TOLUA_RELEASE 01765 tolua_Error tolua_err; 01766 if ( 01767 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01768 !tolua_isnoobj(tolua_S,2,&tolua_err) 01769 ) 01770 goto tolua_lerror; 01771 else 01772 #endif 01773 { 01774 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01775 #ifndef TOLUA_RELEASE 01776 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_wrist_yaw'", NULL); 01777 #endif 01778 { 01779 float tolua_ret = (float) self->l_wrist_yaw(); 01780 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01781 } 01782 } 01783 return 1; 01784 #ifndef TOLUA_RELEASE 01785 tolua_lerror: 01786 tolua_error(tolua_S,"#ferror in function 'l_wrist_yaw'.",&tolua_err); 01787 return 0; 01788 #endif 01789 } 01790 #endif //#ifndef TOLUA_DISABLE 01791 01792 /* method: set_l_wrist_yaw of class SetStiffnessesMessage */ 01793 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_wrist_yaw00 01794 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_wrist_yaw00(lua_State* tolua_S) 01795 { 01796 #ifndef TOLUA_RELEASE 01797 tolua_Error tolua_err; 01798 if ( 01799 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01800 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01801 !tolua_isnoobj(tolua_S,3,&tolua_err) 01802 ) 01803 goto tolua_lerror; 01804 else 01805 #endif 01806 { 01807 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01808 const float new_l_wrist_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 01809 #ifndef TOLUA_RELEASE 01810 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_wrist_yaw'", NULL); 01811 #endif 01812 { 01813 self->set_l_wrist_yaw(new_l_wrist_yaw); 01814 } 01815 } 01816 return 0; 01817 #ifndef TOLUA_RELEASE 01818 tolua_lerror: 01819 tolua_error(tolua_S,"#ferror in function 'set_l_wrist_yaw'.",&tolua_err); 01820 return 0; 01821 #endif 01822 } 01823 #endif //#ifndef TOLUA_DISABLE 01824 01825 /* method: maxlenof_l_wrist_yaw of class SetStiffnessesMessage */ 01826 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_wrist_yaw00 01827 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_wrist_yaw00(lua_State* tolua_S) 01828 { 01829 #ifndef TOLUA_RELEASE 01830 tolua_Error tolua_err; 01831 if ( 01832 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01833 !tolua_isnoobj(tolua_S,2,&tolua_err) 01834 ) 01835 goto tolua_lerror; 01836 else 01837 #endif 01838 { 01839 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01840 #ifndef TOLUA_RELEASE 01841 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_wrist_yaw'", NULL); 01842 #endif 01843 { 01844 int tolua_ret = (int) self->maxlenof_l_wrist_yaw(); 01845 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01846 } 01847 } 01848 return 1; 01849 #ifndef TOLUA_RELEASE 01850 tolua_lerror: 01851 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_wrist_yaw'.",&tolua_err); 01852 return 0; 01853 #endif 01854 } 01855 #endif //#ifndef TOLUA_DISABLE 01856 01857 /* method: l_hand of class SetStiffnessesMessage */ 01858 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_hand00 01859 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_hand00(lua_State* tolua_S) 01860 { 01861 #ifndef TOLUA_RELEASE 01862 tolua_Error tolua_err; 01863 if ( 01864 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01865 !tolua_isnoobj(tolua_S,2,&tolua_err) 01866 ) 01867 goto tolua_lerror; 01868 else 01869 #endif 01870 { 01871 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01872 #ifndef TOLUA_RELEASE 01873 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hand'", NULL); 01874 #endif 01875 { 01876 float tolua_ret = (float) self->l_hand(); 01877 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01878 } 01879 } 01880 return 1; 01881 #ifndef TOLUA_RELEASE 01882 tolua_lerror: 01883 tolua_error(tolua_S,"#ferror in function 'l_hand'.",&tolua_err); 01884 return 0; 01885 #endif 01886 } 01887 #endif //#ifndef TOLUA_DISABLE 01888 01889 /* method: set_l_hand of class SetStiffnessesMessage */ 01890 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_hand00 01891 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_hand00(lua_State* tolua_S) 01892 { 01893 #ifndef TOLUA_RELEASE 01894 tolua_Error tolua_err; 01895 if ( 01896 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01897 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01898 !tolua_isnoobj(tolua_S,3,&tolua_err) 01899 ) 01900 goto tolua_lerror; 01901 else 01902 #endif 01903 { 01904 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01905 const float new_l_hand = ((const float) tolua_tonumber(tolua_S,2,0)); 01906 #ifndef TOLUA_RELEASE 01907 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hand'", NULL); 01908 #endif 01909 { 01910 self->set_l_hand(new_l_hand); 01911 } 01912 } 01913 return 0; 01914 #ifndef TOLUA_RELEASE 01915 tolua_lerror: 01916 tolua_error(tolua_S,"#ferror in function 'set_l_hand'.",&tolua_err); 01917 return 0; 01918 #endif 01919 } 01920 #endif //#ifndef TOLUA_DISABLE 01921 01922 /* method: maxlenof_l_hand of class SetStiffnessesMessage */ 01923 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_hand00 01924 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_hand00(lua_State* tolua_S) 01925 { 01926 #ifndef TOLUA_RELEASE 01927 tolua_Error tolua_err; 01928 if ( 01929 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01930 !tolua_isnoobj(tolua_S,2,&tolua_err) 01931 ) 01932 goto tolua_lerror; 01933 else 01934 #endif 01935 { 01936 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01937 #ifndef TOLUA_RELEASE 01938 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hand'", NULL); 01939 #endif 01940 { 01941 int tolua_ret = (int) self->maxlenof_l_hand(); 01942 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01943 } 01944 } 01945 return 1; 01946 #ifndef TOLUA_RELEASE 01947 tolua_lerror: 01948 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hand'.",&tolua_err); 01949 return 0; 01950 #endif 01951 } 01952 #endif //#ifndef TOLUA_DISABLE 01953 01954 /* method: l_hip_yaw_pitch of class SetStiffnessesMessage */ 01955 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_hip_yaw_pitch00 01956 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_hip_yaw_pitch00(lua_State* tolua_S) 01957 { 01958 #ifndef TOLUA_RELEASE 01959 tolua_Error tolua_err; 01960 if ( 01961 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01962 !tolua_isnoobj(tolua_S,2,&tolua_err) 01963 ) 01964 goto tolua_lerror; 01965 else 01966 #endif 01967 { 01968 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 01969 #ifndef TOLUA_RELEASE 01970 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hip_yaw_pitch'", NULL); 01971 #endif 01972 { 01973 float tolua_ret = (float) self->l_hip_yaw_pitch(); 01974 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 01975 } 01976 } 01977 return 1; 01978 #ifndef TOLUA_RELEASE 01979 tolua_lerror: 01980 tolua_error(tolua_S,"#ferror in function 'l_hip_yaw_pitch'.",&tolua_err); 01981 return 0; 01982 #endif 01983 } 01984 #endif //#ifndef TOLUA_DISABLE 01985 01986 /* method: set_l_hip_yaw_pitch of class SetStiffnessesMessage */ 01987 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_hip_yaw_pitch00 01988 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_hip_yaw_pitch00(lua_State* tolua_S) 01989 { 01990 #ifndef TOLUA_RELEASE 01991 tolua_Error tolua_err; 01992 if ( 01993 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 01994 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 01995 !tolua_isnoobj(tolua_S,3,&tolua_err) 01996 ) 01997 goto tolua_lerror; 01998 else 01999 #endif 02000 { 02001 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02002 const float new_l_hip_yaw_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 02003 #ifndef TOLUA_RELEASE 02004 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hip_yaw_pitch'", NULL); 02005 #endif 02006 { 02007 self->set_l_hip_yaw_pitch(new_l_hip_yaw_pitch); 02008 } 02009 } 02010 return 0; 02011 #ifndef TOLUA_RELEASE 02012 tolua_lerror: 02013 tolua_error(tolua_S,"#ferror in function 'set_l_hip_yaw_pitch'.",&tolua_err); 02014 return 0; 02015 #endif 02016 } 02017 #endif //#ifndef TOLUA_DISABLE 02018 02019 /* method: maxlenof_l_hip_yaw_pitch of class SetStiffnessesMessage */ 02020 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_hip_yaw_pitch00 02021 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_hip_yaw_pitch00(lua_State* tolua_S) 02022 { 02023 #ifndef TOLUA_RELEASE 02024 tolua_Error tolua_err; 02025 if ( 02026 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02027 !tolua_isnoobj(tolua_S,2,&tolua_err) 02028 ) 02029 goto tolua_lerror; 02030 else 02031 #endif 02032 { 02033 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02034 #ifndef TOLUA_RELEASE 02035 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hip_yaw_pitch'", NULL); 02036 #endif 02037 { 02038 int tolua_ret = (int) self->maxlenof_l_hip_yaw_pitch(); 02039 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02040 } 02041 } 02042 return 1; 02043 #ifndef TOLUA_RELEASE 02044 tolua_lerror: 02045 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hip_yaw_pitch'.",&tolua_err); 02046 return 0; 02047 #endif 02048 } 02049 #endif //#ifndef TOLUA_DISABLE 02050 02051 /* method: l_hip_roll of class SetStiffnessesMessage */ 02052 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_hip_roll00 02053 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_hip_roll00(lua_State* tolua_S) 02054 { 02055 #ifndef TOLUA_RELEASE 02056 tolua_Error tolua_err; 02057 if ( 02058 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02059 !tolua_isnoobj(tolua_S,2,&tolua_err) 02060 ) 02061 goto tolua_lerror; 02062 else 02063 #endif 02064 { 02065 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02066 #ifndef TOLUA_RELEASE 02067 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hip_roll'", NULL); 02068 #endif 02069 { 02070 float tolua_ret = (float) self->l_hip_roll(); 02071 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02072 } 02073 } 02074 return 1; 02075 #ifndef TOLUA_RELEASE 02076 tolua_lerror: 02077 tolua_error(tolua_S,"#ferror in function 'l_hip_roll'.",&tolua_err); 02078 return 0; 02079 #endif 02080 } 02081 #endif //#ifndef TOLUA_DISABLE 02082 02083 /* method: set_l_hip_roll of class SetStiffnessesMessage */ 02084 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_hip_roll00 02085 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_hip_roll00(lua_State* tolua_S) 02086 { 02087 #ifndef TOLUA_RELEASE 02088 tolua_Error tolua_err; 02089 if ( 02090 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02091 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02092 !tolua_isnoobj(tolua_S,3,&tolua_err) 02093 ) 02094 goto tolua_lerror; 02095 else 02096 #endif 02097 { 02098 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02099 const float new_l_hip_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 02100 #ifndef TOLUA_RELEASE 02101 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hip_roll'", NULL); 02102 #endif 02103 { 02104 self->set_l_hip_roll(new_l_hip_roll); 02105 } 02106 } 02107 return 0; 02108 #ifndef TOLUA_RELEASE 02109 tolua_lerror: 02110 tolua_error(tolua_S,"#ferror in function 'set_l_hip_roll'.",&tolua_err); 02111 return 0; 02112 #endif 02113 } 02114 #endif //#ifndef TOLUA_DISABLE 02115 02116 /* method: maxlenof_l_hip_roll of class SetStiffnessesMessage */ 02117 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_hip_roll00 02118 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_hip_roll00(lua_State* tolua_S) 02119 { 02120 #ifndef TOLUA_RELEASE 02121 tolua_Error tolua_err; 02122 if ( 02123 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02124 !tolua_isnoobj(tolua_S,2,&tolua_err) 02125 ) 02126 goto tolua_lerror; 02127 else 02128 #endif 02129 { 02130 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02131 #ifndef TOLUA_RELEASE 02132 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hip_roll'", NULL); 02133 #endif 02134 { 02135 int tolua_ret = (int) self->maxlenof_l_hip_roll(); 02136 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02137 } 02138 } 02139 return 1; 02140 #ifndef TOLUA_RELEASE 02141 tolua_lerror: 02142 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hip_roll'.",&tolua_err); 02143 return 0; 02144 #endif 02145 } 02146 #endif //#ifndef TOLUA_DISABLE 02147 02148 /* method: l_hip_pitch of class SetStiffnessesMessage */ 02149 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_hip_pitch00 02150 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_hip_pitch00(lua_State* tolua_S) 02151 { 02152 #ifndef TOLUA_RELEASE 02153 tolua_Error tolua_err; 02154 if ( 02155 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02156 !tolua_isnoobj(tolua_S,2,&tolua_err) 02157 ) 02158 goto tolua_lerror; 02159 else 02160 #endif 02161 { 02162 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02163 #ifndef TOLUA_RELEASE 02164 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hip_pitch'", NULL); 02165 #endif 02166 { 02167 float tolua_ret = (float) self->l_hip_pitch(); 02168 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02169 } 02170 } 02171 return 1; 02172 #ifndef TOLUA_RELEASE 02173 tolua_lerror: 02174 tolua_error(tolua_S,"#ferror in function 'l_hip_pitch'.",&tolua_err); 02175 return 0; 02176 #endif 02177 } 02178 #endif //#ifndef TOLUA_DISABLE 02179 02180 /* method: set_l_hip_pitch of class SetStiffnessesMessage */ 02181 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_hip_pitch00 02182 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_hip_pitch00(lua_State* tolua_S) 02183 { 02184 #ifndef TOLUA_RELEASE 02185 tolua_Error tolua_err; 02186 if ( 02187 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02188 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02189 !tolua_isnoobj(tolua_S,3,&tolua_err) 02190 ) 02191 goto tolua_lerror; 02192 else 02193 #endif 02194 { 02195 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02196 const float new_l_hip_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 02197 #ifndef TOLUA_RELEASE 02198 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hip_pitch'", NULL); 02199 #endif 02200 { 02201 self->set_l_hip_pitch(new_l_hip_pitch); 02202 } 02203 } 02204 return 0; 02205 #ifndef TOLUA_RELEASE 02206 tolua_lerror: 02207 tolua_error(tolua_S,"#ferror in function 'set_l_hip_pitch'.",&tolua_err); 02208 return 0; 02209 #endif 02210 } 02211 #endif //#ifndef TOLUA_DISABLE 02212 02213 /* method: maxlenof_l_hip_pitch of class SetStiffnessesMessage */ 02214 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_hip_pitch00 02215 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_hip_pitch00(lua_State* tolua_S) 02216 { 02217 #ifndef TOLUA_RELEASE 02218 tolua_Error tolua_err; 02219 if ( 02220 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02221 !tolua_isnoobj(tolua_S,2,&tolua_err) 02222 ) 02223 goto tolua_lerror; 02224 else 02225 #endif 02226 { 02227 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02228 #ifndef TOLUA_RELEASE 02229 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hip_pitch'", NULL); 02230 #endif 02231 { 02232 int tolua_ret = (int) self->maxlenof_l_hip_pitch(); 02233 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02234 } 02235 } 02236 return 1; 02237 #ifndef TOLUA_RELEASE 02238 tolua_lerror: 02239 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hip_pitch'.",&tolua_err); 02240 return 0; 02241 #endif 02242 } 02243 #endif //#ifndef TOLUA_DISABLE 02244 02245 /* method: l_knee_pitch of class SetStiffnessesMessage */ 02246 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_knee_pitch00 02247 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_knee_pitch00(lua_State* tolua_S) 02248 { 02249 #ifndef TOLUA_RELEASE 02250 tolua_Error tolua_err; 02251 if ( 02252 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02253 !tolua_isnoobj(tolua_S,2,&tolua_err) 02254 ) 02255 goto tolua_lerror; 02256 else 02257 #endif 02258 { 02259 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02260 #ifndef TOLUA_RELEASE 02261 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_knee_pitch'", NULL); 02262 #endif 02263 { 02264 float tolua_ret = (float) self->l_knee_pitch(); 02265 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02266 } 02267 } 02268 return 1; 02269 #ifndef TOLUA_RELEASE 02270 tolua_lerror: 02271 tolua_error(tolua_S,"#ferror in function 'l_knee_pitch'.",&tolua_err); 02272 return 0; 02273 #endif 02274 } 02275 #endif //#ifndef TOLUA_DISABLE 02276 02277 /* method: set_l_knee_pitch of class SetStiffnessesMessage */ 02278 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_knee_pitch00 02279 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_knee_pitch00(lua_State* tolua_S) 02280 { 02281 #ifndef TOLUA_RELEASE 02282 tolua_Error tolua_err; 02283 if ( 02284 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02285 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02286 !tolua_isnoobj(tolua_S,3,&tolua_err) 02287 ) 02288 goto tolua_lerror; 02289 else 02290 #endif 02291 { 02292 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02293 const float new_l_knee_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 02294 #ifndef TOLUA_RELEASE 02295 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_knee_pitch'", NULL); 02296 #endif 02297 { 02298 self->set_l_knee_pitch(new_l_knee_pitch); 02299 } 02300 } 02301 return 0; 02302 #ifndef TOLUA_RELEASE 02303 tolua_lerror: 02304 tolua_error(tolua_S,"#ferror in function 'set_l_knee_pitch'.",&tolua_err); 02305 return 0; 02306 #endif 02307 } 02308 #endif //#ifndef TOLUA_DISABLE 02309 02310 /* method: maxlenof_l_knee_pitch of class SetStiffnessesMessage */ 02311 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_knee_pitch00 02312 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_knee_pitch00(lua_State* tolua_S) 02313 { 02314 #ifndef TOLUA_RELEASE 02315 tolua_Error tolua_err; 02316 if ( 02317 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02318 !tolua_isnoobj(tolua_S,2,&tolua_err) 02319 ) 02320 goto tolua_lerror; 02321 else 02322 #endif 02323 { 02324 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02325 #ifndef TOLUA_RELEASE 02326 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_knee_pitch'", NULL); 02327 #endif 02328 { 02329 int tolua_ret = (int) self->maxlenof_l_knee_pitch(); 02330 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02331 } 02332 } 02333 return 1; 02334 #ifndef TOLUA_RELEASE 02335 tolua_lerror: 02336 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_knee_pitch'.",&tolua_err); 02337 return 0; 02338 #endif 02339 } 02340 #endif //#ifndef TOLUA_DISABLE 02341 02342 /* method: l_ankle_pitch of class SetStiffnessesMessage */ 02343 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_ankle_pitch00 02344 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_ankle_pitch00(lua_State* tolua_S) 02345 { 02346 #ifndef TOLUA_RELEASE 02347 tolua_Error tolua_err; 02348 if ( 02349 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02350 !tolua_isnoobj(tolua_S,2,&tolua_err) 02351 ) 02352 goto tolua_lerror; 02353 else 02354 #endif 02355 { 02356 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02357 #ifndef TOLUA_RELEASE 02358 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_ankle_pitch'", NULL); 02359 #endif 02360 { 02361 float tolua_ret = (float) self->l_ankle_pitch(); 02362 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02363 } 02364 } 02365 return 1; 02366 #ifndef TOLUA_RELEASE 02367 tolua_lerror: 02368 tolua_error(tolua_S,"#ferror in function 'l_ankle_pitch'.",&tolua_err); 02369 return 0; 02370 #endif 02371 } 02372 #endif //#ifndef TOLUA_DISABLE 02373 02374 /* method: set_l_ankle_pitch of class SetStiffnessesMessage */ 02375 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_ankle_pitch00 02376 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_ankle_pitch00(lua_State* tolua_S) 02377 { 02378 #ifndef TOLUA_RELEASE 02379 tolua_Error tolua_err; 02380 if ( 02381 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02382 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02383 !tolua_isnoobj(tolua_S,3,&tolua_err) 02384 ) 02385 goto tolua_lerror; 02386 else 02387 #endif 02388 { 02389 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02390 const float new_l_ankle_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 02391 #ifndef TOLUA_RELEASE 02392 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_ankle_pitch'", NULL); 02393 #endif 02394 { 02395 self->set_l_ankle_pitch(new_l_ankle_pitch); 02396 } 02397 } 02398 return 0; 02399 #ifndef TOLUA_RELEASE 02400 tolua_lerror: 02401 tolua_error(tolua_S,"#ferror in function 'set_l_ankle_pitch'.",&tolua_err); 02402 return 0; 02403 #endif 02404 } 02405 #endif //#ifndef TOLUA_DISABLE 02406 02407 /* method: maxlenof_l_ankle_pitch of class SetStiffnessesMessage */ 02408 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_ankle_pitch00 02409 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_ankle_pitch00(lua_State* tolua_S) 02410 { 02411 #ifndef TOLUA_RELEASE 02412 tolua_Error tolua_err; 02413 if ( 02414 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02415 !tolua_isnoobj(tolua_S,2,&tolua_err) 02416 ) 02417 goto tolua_lerror; 02418 else 02419 #endif 02420 { 02421 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02422 #ifndef TOLUA_RELEASE 02423 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_ankle_pitch'", NULL); 02424 #endif 02425 { 02426 int tolua_ret = (int) self->maxlenof_l_ankle_pitch(); 02427 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02428 } 02429 } 02430 return 1; 02431 #ifndef TOLUA_RELEASE 02432 tolua_lerror: 02433 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_ankle_pitch'.",&tolua_err); 02434 return 0; 02435 #endif 02436 } 02437 #endif //#ifndef TOLUA_DISABLE 02438 02439 /* method: l_ankle_roll of class SetStiffnessesMessage */ 02440 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_ankle_roll00 02441 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_ankle_roll00(lua_State* tolua_S) 02442 { 02443 #ifndef TOLUA_RELEASE 02444 tolua_Error tolua_err; 02445 if ( 02446 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02447 !tolua_isnoobj(tolua_S,2,&tolua_err) 02448 ) 02449 goto tolua_lerror; 02450 else 02451 #endif 02452 { 02453 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02454 #ifndef TOLUA_RELEASE 02455 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_ankle_roll'", NULL); 02456 #endif 02457 { 02458 float tolua_ret = (float) self->l_ankle_roll(); 02459 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02460 } 02461 } 02462 return 1; 02463 #ifndef TOLUA_RELEASE 02464 tolua_lerror: 02465 tolua_error(tolua_S,"#ferror in function 'l_ankle_roll'.",&tolua_err); 02466 return 0; 02467 #endif 02468 } 02469 #endif //#ifndef TOLUA_DISABLE 02470 02471 /* method: set_l_ankle_roll of class SetStiffnessesMessage */ 02472 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_ankle_roll00 02473 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_ankle_roll00(lua_State* tolua_S) 02474 { 02475 #ifndef TOLUA_RELEASE 02476 tolua_Error tolua_err; 02477 if ( 02478 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02479 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02480 !tolua_isnoobj(tolua_S,3,&tolua_err) 02481 ) 02482 goto tolua_lerror; 02483 else 02484 #endif 02485 { 02486 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02487 const float new_l_ankle_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 02488 #ifndef TOLUA_RELEASE 02489 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_ankle_roll'", NULL); 02490 #endif 02491 { 02492 self->set_l_ankle_roll(new_l_ankle_roll); 02493 } 02494 } 02495 return 0; 02496 #ifndef TOLUA_RELEASE 02497 tolua_lerror: 02498 tolua_error(tolua_S,"#ferror in function 'set_l_ankle_roll'.",&tolua_err); 02499 return 0; 02500 #endif 02501 } 02502 #endif //#ifndef TOLUA_DISABLE 02503 02504 /* method: maxlenof_l_ankle_roll of class SetStiffnessesMessage */ 02505 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_ankle_roll00 02506 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_ankle_roll00(lua_State* tolua_S) 02507 { 02508 #ifndef TOLUA_RELEASE 02509 tolua_Error tolua_err; 02510 if ( 02511 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02512 !tolua_isnoobj(tolua_S,2,&tolua_err) 02513 ) 02514 goto tolua_lerror; 02515 else 02516 #endif 02517 { 02518 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02519 #ifndef TOLUA_RELEASE 02520 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_ankle_roll'", NULL); 02521 #endif 02522 { 02523 int tolua_ret = (int) self->maxlenof_l_ankle_roll(); 02524 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02525 } 02526 } 02527 return 1; 02528 #ifndef TOLUA_RELEASE 02529 tolua_lerror: 02530 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_ankle_roll'.",&tolua_err); 02531 return 0; 02532 #endif 02533 } 02534 #endif //#ifndef TOLUA_DISABLE 02535 02536 /* method: r_shoulder_pitch of class SetStiffnessesMessage */ 02537 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_shoulder_pitch00 02538 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_shoulder_pitch00(lua_State* tolua_S) 02539 { 02540 #ifndef TOLUA_RELEASE 02541 tolua_Error tolua_err; 02542 if ( 02543 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02544 !tolua_isnoobj(tolua_S,2,&tolua_err) 02545 ) 02546 goto tolua_lerror; 02547 else 02548 #endif 02549 { 02550 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02551 #ifndef TOLUA_RELEASE 02552 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_shoulder_pitch'", NULL); 02553 #endif 02554 { 02555 float tolua_ret = (float) self->r_shoulder_pitch(); 02556 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02557 } 02558 } 02559 return 1; 02560 #ifndef TOLUA_RELEASE 02561 tolua_lerror: 02562 tolua_error(tolua_S,"#ferror in function 'r_shoulder_pitch'.",&tolua_err); 02563 return 0; 02564 #endif 02565 } 02566 #endif //#ifndef TOLUA_DISABLE 02567 02568 /* method: set_r_shoulder_pitch of class SetStiffnessesMessage */ 02569 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_shoulder_pitch00 02570 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_shoulder_pitch00(lua_State* tolua_S) 02571 { 02572 #ifndef TOLUA_RELEASE 02573 tolua_Error tolua_err; 02574 if ( 02575 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02576 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02577 !tolua_isnoobj(tolua_S,3,&tolua_err) 02578 ) 02579 goto tolua_lerror; 02580 else 02581 #endif 02582 { 02583 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02584 const float new_r_shoulder_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 02585 #ifndef TOLUA_RELEASE 02586 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_shoulder_pitch'", NULL); 02587 #endif 02588 { 02589 self->set_r_shoulder_pitch(new_r_shoulder_pitch); 02590 } 02591 } 02592 return 0; 02593 #ifndef TOLUA_RELEASE 02594 tolua_lerror: 02595 tolua_error(tolua_S,"#ferror in function 'set_r_shoulder_pitch'.",&tolua_err); 02596 return 0; 02597 #endif 02598 } 02599 #endif //#ifndef TOLUA_DISABLE 02600 02601 /* method: maxlenof_r_shoulder_pitch of class SetStiffnessesMessage */ 02602 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_shoulder_pitch00 02603 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_shoulder_pitch00(lua_State* tolua_S) 02604 { 02605 #ifndef TOLUA_RELEASE 02606 tolua_Error tolua_err; 02607 if ( 02608 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02609 !tolua_isnoobj(tolua_S,2,&tolua_err) 02610 ) 02611 goto tolua_lerror; 02612 else 02613 #endif 02614 { 02615 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02616 #ifndef TOLUA_RELEASE 02617 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_shoulder_pitch'", NULL); 02618 #endif 02619 { 02620 int tolua_ret = (int) self->maxlenof_r_shoulder_pitch(); 02621 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02622 } 02623 } 02624 return 1; 02625 #ifndef TOLUA_RELEASE 02626 tolua_lerror: 02627 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_shoulder_pitch'.",&tolua_err); 02628 return 0; 02629 #endif 02630 } 02631 #endif //#ifndef TOLUA_DISABLE 02632 02633 /* method: r_shoulder_roll of class SetStiffnessesMessage */ 02634 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_shoulder_roll00 02635 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_shoulder_roll00(lua_State* tolua_S) 02636 { 02637 #ifndef TOLUA_RELEASE 02638 tolua_Error tolua_err; 02639 if ( 02640 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02641 !tolua_isnoobj(tolua_S,2,&tolua_err) 02642 ) 02643 goto tolua_lerror; 02644 else 02645 #endif 02646 { 02647 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02648 #ifndef TOLUA_RELEASE 02649 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_shoulder_roll'", NULL); 02650 #endif 02651 { 02652 float tolua_ret = (float) self->r_shoulder_roll(); 02653 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02654 } 02655 } 02656 return 1; 02657 #ifndef TOLUA_RELEASE 02658 tolua_lerror: 02659 tolua_error(tolua_S,"#ferror in function 'r_shoulder_roll'.",&tolua_err); 02660 return 0; 02661 #endif 02662 } 02663 #endif //#ifndef TOLUA_DISABLE 02664 02665 /* method: set_r_shoulder_roll of class SetStiffnessesMessage */ 02666 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_shoulder_roll00 02667 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_shoulder_roll00(lua_State* tolua_S) 02668 { 02669 #ifndef TOLUA_RELEASE 02670 tolua_Error tolua_err; 02671 if ( 02672 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02673 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02674 !tolua_isnoobj(tolua_S,3,&tolua_err) 02675 ) 02676 goto tolua_lerror; 02677 else 02678 #endif 02679 { 02680 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02681 const float new_r_shoulder_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 02682 #ifndef TOLUA_RELEASE 02683 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_shoulder_roll'", NULL); 02684 #endif 02685 { 02686 self->set_r_shoulder_roll(new_r_shoulder_roll); 02687 } 02688 } 02689 return 0; 02690 #ifndef TOLUA_RELEASE 02691 tolua_lerror: 02692 tolua_error(tolua_S,"#ferror in function 'set_r_shoulder_roll'.",&tolua_err); 02693 return 0; 02694 #endif 02695 } 02696 #endif //#ifndef TOLUA_DISABLE 02697 02698 /* method: maxlenof_r_shoulder_roll of class SetStiffnessesMessage */ 02699 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_shoulder_roll00 02700 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_shoulder_roll00(lua_State* tolua_S) 02701 { 02702 #ifndef TOLUA_RELEASE 02703 tolua_Error tolua_err; 02704 if ( 02705 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02706 !tolua_isnoobj(tolua_S,2,&tolua_err) 02707 ) 02708 goto tolua_lerror; 02709 else 02710 #endif 02711 { 02712 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02713 #ifndef TOLUA_RELEASE 02714 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_shoulder_roll'", NULL); 02715 #endif 02716 { 02717 int tolua_ret = (int) self->maxlenof_r_shoulder_roll(); 02718 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02719 } 02720 } 02721 return 1; 02722 #ifndef TOLUA_RELEASE 02723 tolua_lerror: 02724 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_shoulder_roll'.",&tolua_err); 02725 return 0; 02726 #endif 02727 } 02728 #endif //#ifndef TOLUA_DISABLE 02729 02730 /* method: r_elbow_yaw of class SetStiffnessesMessage */ 02731 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_elbow_yaw00 02732 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_elbow_yaw00(lua_State* tolua_S) 02733 { 02734 #ifndef TOLUA_RELEASE 02735 tolua_Error tolua_err; 02736 if ( 02737 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02738 !tolua_isnoobj(tolua_S,2,&tolua_err) 02739 ) 02740 goto tolua_lerror; 02741 else 02742 #endif 02743 { 02744 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02745 #ifndef TOLUA_RELEASE 02746 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_elbow_yaw'", NULL); 02747 #endif 02748 { 02749 float tolua_ret = (float) self->r_elbow_yaw(); 02750 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02751 } 02752 } 02753 return 1; 02754 #ifndef TOLUA_RELEASE 02755 tolua_lerror: 02756 tolua_error(tolua_S,"#ferror in function 'r_elbow_yaw'.",&tolua_err); 02757 return 0; 02758 #endif 02759 } 02760 #endif //#ifndef TOLUA_DISABLE 02761 02762 /* method: set_r_elbow_yaw of class SetStiffnessesMessage */ 02763 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_elbow_yaw00 02764 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_elbow_yaw00(lua_State* tolua_S) 02765 { 02766 #ifndef TOLUA_RELEASE 02767 tolua_Error tolua_err; 02768 if ( 02769 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02770 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02771 !tolua_isnoobj(tolua_S,3,&tolua_err) 02772 ) 02773 goto tolua_lerror; 02774 else 02775 #endif 02776 { 02777 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02778 const float new_r_elbow_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 02779 #ifndef TOLUA_RELEASE 02780 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_elbow_yaw'", NULL); 02781 #endif 02782 { 02783 self->set_r_elbow_yaw(new_r_elbow_yaw); 02784 } 02785 } 02786 return 0; 02787 #ifndef TOLUA_RELEASE 02788 tolua_lerror: 02789 tolua_error(tolua_S,"#ferror in function 'set_r_elbow_yaw'.",&tolua_err); 02790 return 0; 02791 #endif 02792 } 02793 #endif //#ifndef TOLUA_DISABLE 02794 02795 /* method: maxlenof_r_elbow_yaw of class SetStiffnessesMessage */ 02796 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_elbow_yaw00 02797 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_elbow_yaw00(lua_State* tolua_S) 02798 { 02799 #ifndef TOLUA_RELEASE 02800 tolua_Error tolua_err; 02801 if ( 02802 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02803 !tolua_isnoobj(tolua_S,2,&tolua_err) 02804 ) 02805 goto tolua_lerror; 02806 else 02807 #endif 02808 { 02809 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02810 #ifndef TOLUA_RELEASE 02811 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_elbow_yaw'", NULL); 02812 #endif 02813 { 02814 int tolua_ret = (int) self->maxlenof_r_elbow_yaw(); 02815 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02816 } 02817 } 02818 return 1; 02819 #ifndef TOLUA_RELEASE 02820 tolua_lerror: 02821 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_elbow_yaw'.",&tolua_err); 02822 return 0; 02823 #endif 02824 } 02825 #endif //#ifndef TOLUA_DISABLE 02826 02827 /* method: r_wrist_yaw of class SetStiffnessesMessage */ 02828 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_wrist_yaw00 02829 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_wrist_yaw00(lua_State* tolua_S) 02830 { 02831 #ifndef TOLUA_RELEASE 02832 tolua_Error tolua_err; 02833 if ( 02834 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02835 !tolua_isnoobj(tolua_S,2,&tolua_err) 02836 ) 02837 goto tolua_lerror; 02838 else 02839 #endif 02840 { 02841 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02842 #ifndef TOLUA_RELEASE 02843 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_wrist_yaw'", NULL); 02844 #endif 02845 { 02846 float tolua_ret = (float) self->r_wrist_yaw(); 02847 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02848 } 02849 } 02850 return 1; 02851 #ifndef TOLUA_RELEASE 02852 tolua_lerror: 02853 tolua_error(tolua_S,"#ferror in function 'r_wrist_yaw'.",&tolua_err); 02854 return 0; 02855 #endif 02856 } 02857 #endif //#ifndef TOLUA_DISABLE 02858 02859 /* method: set_r_wrist_yaw of class SetStiffnessesMessage */ 02860 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_wrist_yaw00 02861 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_wrist_yaw00(lua_State* tolua_S) 02862 { 02863 #ifndef TOLUA_RELEASE 02864 tolua_Error tolua_err; 02865 if ( 02866 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02867 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02868 !tolua_isnoobj(tolua_S,3,&tolua_err) 02869 ) 02870 goto tolua_lerror; 02871 else 02872 #endif 02873 { 02874 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02875 const float new_r_wrist_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 02876 #ifndef TOLUA_RELEASE 02877 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_wrist_yaw'", NULL); 02878 #endif 02879 { 02880 self->set_r_wrist_yaw(new_r_wrist_yaw); 02881 } 02882 } 02883 return 0; 02884 #ifndef TOLUA_RELEASE 02885 tolua_lerror: 02886 tolua_error(tolua_S,"#ferror in function 'set_r_wrist_yaw'.",&tolua_err); 02887 return 0; 02888 #endif 02889 } 02890 #endif //#ifndef TOLUA_DISABLE 02891 02892 /* method: maxlenof_r_wrist_yaw of class SetStiffnessesMessage */ 02893 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_wrist_yaw00 02894 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_wrist_yaw00(lua_State* tolua_S) 02895 { 02896 #ifndef TOLUA_RELEASE 02897 tolua_Error tolua_err; 02898 if ( 02899 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02900 !tolua_isnoobj(tolua_S,2,&tolua_err) 02901 ) 02902 goto tolua_lerror; 02903 else 02904 #endif 02905 { 02906 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02907 #ifndef TOLUA_RELEASE 02908 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_wrist_yaw'", NULL); 02909 #endif 02910 { 02911 int tolua_ret = (int) self->maxlenof_r_wrist_yaw(); 02912 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02913 } 02914 } 02915 return 1; 02916 #ifndef TOLUA_RELEASE 02917 tolua_lerror: 02918 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_wrist_yaw'.",&tolua_err); 02919 return 0; 02920 #endif 02921 } 02922 #endif //#ifndef TOLUA_DISABLE 02923 02924 /* method: r_hand of class SetStiffnessesMessage */ 02925 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_hand00 02926 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_hand00(lua_State* tolua_S) 02927 { 02928 #ifndef TOLUA_RELEASE 02929 tolua_Error tolua_err; 02930 if ( 02931 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02932 !tolua_isnoobj(tolua_S,2,&tolua_err) 02933 ) 02934 goto tolua_lerror; 02935 else 02936 #endif 02937 { 02938 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02939 #ifndef TOLUA_RELEASE 02940 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hand'", NULL); 02941 #endif 02942 { 02943 float tolua_ret = (float) self->r_hand(); 02944 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 02945 } 02946 } 02947 return 1; 02948 #ifndef TOLUA_RELEASE 02949 tolua_lerror: 02950 tolua_error(tolua_S,"#ferror in function 'r_hand'.",&tolua_err); 02951 return 0; 02952 #endif 02953 } 02954 #endif //#ifndef TOLUA_DISABLE 02955 02956 /* method: set_r_hand of class SetStiffnessesMessage */ 02957 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_hand00 02958 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_hand00(lua_State* tolua_S) 02959 { 02960 #ifndef TOLUA_RELEASE 02961 tolua_Error tolua_err; 02962 if ( 02963 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02964 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 02965 !tolua_isnoobj(tolua_S,3,&tolua_err) 02966 ) 02967 goto tolua_lerror; 02968 else 02969 #endif 02970 { 02971 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 02972 const float new_r_hand = ((const float) tolua_tonumber(tolua_S,2,0)); 02973 #ifndef TOLUA_RELEASE 02974 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hand'", NULL); 02975 #endif 02976 { 02977 self->set_r_hand(new_r_hand); 02978 } 02979 } 02980 return 0; 02981 #ifndef TOLUA_RELEASE 02982 tolua_lerror: 02983 tolua_error(tolua_S,"#ferror in function 'set_r_hand'.",&tolua_err); 02984 return 0; 02985 #endif 02986 } 02987 #endif //#ifndef TOLUA_DISABLE 02988 02989 /* method: maxlenof_r_hand of class SetStiffnessesMessage */ 02990 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_hand00 02991 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_hand00(lua_State* tolua_S) 02992 { 02993 #ifndef TOLUA_RELEASE 02994 tolua_Error tolua_err; 02995 if ( 02996 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 02997 !tolua_isnoobj(tolua_S,2,&tolua_err) 02998 ) 02999 goto tolua_lerror; 03000 else 03001 #endif 03002 { 03003 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03004 #ifndef TOLUA_RELEASE 03005 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hand'", NULL); 03006 #endif 03007 { 03008 int tolua_ret = (int) self->maxlenof_r_hand(); 03009 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03010 } 03011 } 03012 return 1; 03013 #ifndef TOLUA_RELEASE 03014 tolua_lerror: 03015 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hand'.",&tolua_err); 03016 return 0; 03017 #endif 03018 } 03019 #endif //#ifndef TOLUA_DISABLE 03020 03021 /* method: r_hip_yaw_pitch of class SetStiffnessesMessage */ 03022 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_hip_yaw_pitch00 03023 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_hip_yaw_pitch00(lua_State* tolua_S) 03024 { 03025 #ifndef TOLUA_RELEASE 03026 tolua_Error tolua_err; 03027 if ( 03028 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03029 !tolua_isnoobj(tolua_S,2,&tolua_err) 03030 ) 03031 goto tolua_lerror; 03032 else 03033 #endif 03034 { 03035 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03036 #ifndef TOLUA_RELEASE 03037 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hip_yaw_pitch'", NULL); 03038 #endif 03039 { 03040 float tolua_ret = (float) self->r_hip_yaw_pitch(); 03041 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03042 } 03043 } 03044 return 1; 03045 #ifndef TOLUA_RELEASE 03046 tolua_lerror: 03047 tolua_error(tolua_S,"#ferror in function 'r_hip_yaw_pitch'.",&tolua_err); 03048 return 0; 03049 #endif 03050 } 03051 #endif //#ifndef TOLUA_DISABLE 03052 03053 /* method: set_r_hip_yaw_pitch of class SetStiffnessesMessage */ 03054 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_hip_yaw_pitch00 03055 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_hip_yaw_pitch00(lua_State* tolua_S) 03056 { 03057 #ifndef TOLUA_RELEASE 03058 tolua_Error tolua_err; 03059 if ( 03060 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03061 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03062 !tolua_isnoobj(tolua_S,3,&tolua_err) 03063 ) 03064 goto tolua_lerror; 03065 else 03066 #endif 03067 { 03068 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03069 const float new_r_hip_yaw_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 03070 #ifndef TOLUA_RELEASE 03071 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hip_yaw_pitch'", NULL); 03072 #endif 03073 { 03074 self->set_r_hip_yaw_pitch(new_r_hip_yaw_pitch); 03075 } 03076 } 03077 return 0; 03078 #ifndef TOLUA_RELEASE 03079 tolua_lerror: 03080 tolua_error(tolua_S,"#ferror in function 'set_r_hip_yaw_pitch'.",&tolua_err); 03081 return 0; 03082 #endif 03083 } 03084 #endif //#ifndef TOLUA_DISABLE 03085 03086 /* method: maxlenof_r_hip_yaw_pitch of class SetStiffnessesMessage */ 03087 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_hip_yaw_pitch00 03088 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_hip_yaw_pitch00(lua_State* tolua_S) 03089 { 03090 #ifndef TOLUA_RELEASE 03091 tolua_Error tolua_err; 03092 if ( 03093 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03094 !tolua_isnoobj(tolua_S,2,&tolua_err) 03095 ) 03096 goto tolua_lerror; 03097 else 03098 #endif 03099 { 03100 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03101 #ifndef TOLUA_RELEASE 03102 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hip_yaw_pitch'", NULL); 03103 #endif 03104 { 03105 int tolua_ret = (int) self->maxlenof_r_hip_yaw_pitch(); 03106 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03107 } 03108 } 03109 return 1; 03110 #ifndef TOLUA_RELEASE 03111 tolua_lerror: 03112 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hip_yaw_pitch'.",&tolua_err); 03113 return 0; 03114 #endif 03115 } 03116 #endif //#ifndef TOLUA_DISABLE 03117 03118 /* method: r_hip_roll of class SetStiffnessesMessage */ 03119 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_hip_roll00 03120 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_hip_roll00(lua_State* tolua_S) 03121 { 03122 #ifndef TOLUA_RELEASE 03123 tolua_Error tolua_err; 03124 if ( 03125 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03126 !tolua_isnoobj(tolua_S,2,&tolua_err) 03127 ) 03128 goto tolua_lerror; 03129 else 03130 #endif 03131 { 03132 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03133 #ifndef TOLUA_RELEASE 03134 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hip_roll'", NULL); 03135 #endif 03136 { 03137 float tolua_ret = (float) self->r_hip_roll(); 03138 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03139 } 03140 } 03141 return 1; 03142 #ifndef TOLUA_RELEASE 03143 tolua_lerror: 03144 tolua_error(tolua_S,"#ferror in function 'r_hip_roll'.",&tolua_err); 03145 return 0; 03146 #endif 03147 } 03148 #endif //#ifndef TOLUA_DISABLE 03149 03150 /* method: set_r_hip_roll of class SetStiffnessesMessage */ 03151 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_hip_roll00 03152 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_hip_roll00(lua_State* tolua_S) 03153 { 03154 #ifndef TOLUA_RELEASE 03155 tolua_Error tolua_err; 03156 if ( 03157 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03158 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03159 !tolua_isnoobj(tolua_S,3,&tolua_err) 03160 ) 03161 goto tolua_lerror; 03162 else 03163 #endif 03164 { 03165 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03166 const float new_r_hip_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 03167 #ifndef TOLUA_RELEASE 03168 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hip_roll'", NULL); 03169 #endif 03170 { 03171 self->set_r_hip_roll(new_r_hip_roll); 03172 } 03173 } 03174 return 0; 03175 #ifndef TOLUA_RELEASE 03176 tolua_lerror: 03177 tolua_error(tolua_S,"#ferror in function 'set_r_hip_roll'.",&tolua_err); 03178 return 0; 03179 #endif 03180 } 03181 #endif //#ifndef TOLUA_DISABLE 03182 03183 /* method: maxlenof_r_hip_roll of class SetStiffnessesMessage */ 03184 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_hip_roll00 03185 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_hip_roll00(lua_State* tolua_S) 03186 { 03187 #ifndef TOLUA_RELEASE 03188 tolua_Error tolua_err; 03189 if ( 03190 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03191 !tolua_isnoobj(tolua_S,2,&tolua_err) 03192 ) 03193 goto tolua_lerror; 03194 else 03195 #endif 03196 { 03197 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03198 #ifndef TOLUA_RELEASE 03199 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hip_roll'", NULL); 03200 #endif 03201 { 03202 int tolua_ret = (int) self->maxlenof_r_hip_roll(); 03203 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03204 } 03205 } 03206 return 1; 03207 #ifndef TOLUA_RELEASE 03208 tolua_lerror: 03209 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hip_roll'.",&tolua_err); 03210 return 0; 03211 #endif 03212 } 03213 #endif //#ifndef TOLUA_DISABLE 03214 03215 /* method: r_hip_pitch of class SetStiffnessesMessage */ 03216 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_hip_pitch00 03217 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_hip_pitch00(lua_State* tolua_S) 03218 { 03219 #ifndef TOLUA_RELEASE 03220 tolua_Error tolua_err; 03221 if ( 03222 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03223 !tolua_isnoobj(tolua_S,2,&tolua_err) 03224 ) 03225 goto tolua_lerror; 03226 else 03227 #endif 03228 { 03229 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03230 #ifndef TOLUA_RELEASE 03231 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hip_pitch'", NULL); 03232 #endif 03233 { 03234 float tolua_ret = (float) self->r_hip_pitch(); 03235 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03236 } 03237 } 03238 return 1; 03239 #ifndef TOLUA_RELEASE 03240 tolua_lerror: 03241 tolua_error(tolua_S,"#ferror in function 'r_hip_pitch'.",&tolua_err); 03242 return 0; 03243 #endif 03244 } 03245 #endif //#ifndef TOLUA_DISABLE 03246 03247 /* method: set_r_hip_pitch of class SetStiffnessesMessage */ 03248 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_hip_pitch00 03249 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_hip_pitch00(lua_State* tolua_S) 03250 { 03251 #ifndef TOLUA_RELEASE 03252 tolua_Error tolua_err; 03253 if ( 03254 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03255 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03256 !tolua_isnoobj(tolua_S,3,&tolua_err) 03257 ) 03258 goto tolua_lerror; 03259 else 03260 #endif 03261 { 03262 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03263 const float new_r_hip_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 03264 #ifndef TOLUA_RELEASE 03265 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hip_pitch'", NULL); 03266 #endif 03267 { 03268 self->set_r_hip_pitch(new_r_hip_pitch); 03269 } 03270 } 03271 return 0; 03272 #ifndef TOLUA_RELEASE 03273 tolua_lerror: 03274 tolua_error(tolua_S,"#ferror in function 'set_r_hip_pitch'.",&tolua_err); 03275 return 0; 03276 #endif 03277 } 03278 #endif //#ifndef TOLUA_DISABLE 03279 03280 /* method: maxlenof_r_hip_pitch of class SetStiffnessesMessage */ 03281 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_hip_pitch00 03282 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_hip_pitch00(lua_State* tolua_S) 03283 { 03284 #ifndef TOLUA_RELEASE 03285 tolua_Error tolua_err; 03286 if ( 03287 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03288 !tolua_isnoobj(tolua_S,2,&tolua_err) 03289 ) 03290 goto tolua_lerror; 03291 else 03292 #endif 03293 { 03294 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03295 #ifndef TOLUA_RELEASE 03296 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hip_pitch'", NULL); 03297 #endif 03298 { 03299 int tolua_ret = (int) self->maxlenof_r_hip_pitch(); 03300 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03301 } 03302 } 03303 return 1; 03304 #ifndef TOLUA_RELEASE 03305 tolua_lerror: 03306 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hip_pitch'.",&tolua_err); 03307 return 0; 03308 #endif 03309 } 03310 #endif //#ifndef TOLUA_DISABLE 03311 03312 /* method: r_knee_pitch of class SetStiffnessesMessage */ 03313 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_knee_pitch00 03314 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_knee_pitch00(lua_State* tolua_S) 03315 { 03316 #ifndef TOLUA_RELEASE 03317 tolua_Error tolua_err; 03318 if ( 03319 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03320 !tolua_isnoobj(tolua_S,2,&tolua_err) 03321 ) 03322 goto tolua_lerror; 03323 else 03324 #endif 03325 { 03326 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03327 #ifndef TOLUA_RELEASE 03328 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_knee_pitch'", NULL); 03329 #endif 03330 { 03331 float tolua_ret = (float) self->r_knee_pitch(); 03332 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03333 } 03334 } 03335 return 1; 03336 #ifndef TOLUA_RELEASE 03337 tolua_lerror: 03338 tolua_error(tolua_S,"#ferror in function 'r_knee_pitch'.",&tolua_err); 03339 return 0; 03340 #endif 03341 } 03342 #endif //#ifndef TOLUA_DISABLE 03343 03344 /* method: set_r_knee_pitch of class SetStiffnessesMessage */ 03345 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_knee_pitch00 03346 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_knee_pitch00(lua_State* tolua_S) 03347 { 03348 #ifndef TOLUA_RELEASE 03349 tolua_Error tolua_err; 03350 if ( 03351 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03352 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03353 !tolua_isnoobj(tolua_S,3,&tolua_err) 03354 ) 03355 goto tolua_lerror; 03356 else 03357 #endif 03358 { 03359 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03360 const float new_r_knee_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 03361 #ifndef TOLUA_RELEASE 03362 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_knee_pitch'", NULL); 03363 #endif 03364 { 03365 self->set_r_knee_pitch(new_r_knee_pitch); 03366 } 03367 } 03368 return 0; 03369 #ifndef TOLUA_RELEASE 03370 tolua_lerror: 03371 tolua_error(tolua_S,"#ferror in function 'set_r_knee_pitch'.",&tolua_err); 03372 return 0; 03373 #endif 03374 } 03375 #endif //#ifndef TOLUA_DISABLE 03376 03377 /* method: maxlenof_r_knee_pitch of class SetStiffnessesMessage */ 03378 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_knee_pitch00 03379 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_knee_pitch00(lua_State* tolua_S) 03380 { 03381 #ifndef TOLUA_RELEASE 03382 tolua_Error tolua_err; 03383 if ( 03384 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03385 !tolua_isnoobj(tolua_S,2,&tolua_err) 03386 ) 03387 goto tolua_lerror; 03388 else 03389 #endif 03390 { 03391 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03392 #ifndef TOLUA_RELEASE 03393 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_knee_pitch'", NULL); 03394 #endif 03395 { 03396 int tolua_ret = (int) self->maxlenof_r_knee_pitch(); 03397 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03398 } 03399 } 03400 return 1; 03401 #ifndef TOLUA_RELEASE 03402 tolua_lerror: 03403 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_knee_pitch'.",&tolua_err); 03404 return 0; 03405 #endif 03406 } 03407 #endif //#ifndef TOLUA_DISABLE 03408 03409 /* method: r_ankle_pitch of class SetStiffnessesMessage */ 03410 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_ankle_pitch00 03411 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_ankle_pitch00(lua_State* tolua_S) 03412 { 03413 #ifndef TOLUA_RELEASE 03414 tolua_Error tolua_err; 03415 if ( 03416 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03417 !tolua_isnoobj(tolua_S,2,&tolua_err) 03418 ) 03419 goto tolua_lerror; 03420 else 03421 #endif 03422 { 03423 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03424 #ifndef TOLUA_RELEASE 03425 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_ankle_pitch'", NULL); 03426 #endif 03427 { 03428 float tolua_ret = (float) self->r_ankle_pitch(); 03429 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03430 } 03431 } 03432 return 1; 03433 #ifndef TOLUA_RELEASE 03434 tolua_lerror: 03435 tolua_error(tolua_S,"#ferror in function 'r_ankle_pitch'.",&tolua_err); 03436 return 0; 03437 #endif 03438 } 03439 #endif //#ifndef TOLUA_DISABLE 03440 03441 /* method: set_r_ankle_pitch of class SetStiffnessesMessage */ 03442 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_ankle_pitch00 03443 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_ankle_pitch00(lua_State* tolua_S) 03444 { 03445 #ifndef TOLUA_RELEASE 03446 tolua_Error tolua_err; 03447 if ( 03448 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03449 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03450 !tolua_isnoobj(tolua_S,3,&tolua_err) 03451 ) 03452 goto tolua_lerror; 03453 else 03454 #endif 03455 { 03456 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03457 const float new_r_ankle_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 03458 #ifndef TOLUA_RELEASE 03459 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_ankle_pitch'", NULL); 03460 #endif 03461 { 03462 self->set_r_ankle_pitch(new_r_ankle_pitch); 03463 } 03464 } 03465 return 0; 03466 #ifndef TOLUA_RELEASE 03467 tolua_lerror: 03468 tolua_error(tolua_S,"#ferror in function 'set_r_ankle_pitch'.",&tolua_err); 03469 return 0; 03470 #endif 03471 } 03472 #endif //#ifndef TOLUA_DISABLE 03473 03474 /* method: maxlenof_r_ankle_pitch of class SetStiffnessesMessage */ 03475 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_ankle_pitch00 03476 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_ankle_pitch00(lua_State* tolua_S) 03477 { 03478 #ifndef TOLUA_RELEASE 03479 tolua_Error tolua_err; 03480 if ( 03481 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03482 !tolua_isnoobj(tolua_S,2,&tolua_err) 03483 ) 03484 goto tolua_lerror; 03485 else 03486 #endif 03487 { 03488 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03489 #ifndef TOLUA_RELEASE 03490 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_ankle_pitch'", NULL); 03491 #endif 03492 { 03493 int tolua_ret = (int) self->maxlenof_r_ankle_pitch(); 03494 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03495 } 03496 } 03497 return 1; 03498 #ifndef TOLUA_RELEASE 03499 tolua_lerror: 03500 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_ankle_pitch'.",&tolua_err); 03501 return 0; 03502 #endif 03503 } 03504 #endif //#ifndef TOLUA_DISABLE 03505 03506 /* method: r_ankle_roll of class SetStiffnessesMessage */ 03507 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_ankle_roll00 03508 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_ankle_roll00(lua_State* tolua_S) 03509 { 03510 #ifndef TOLUA_RELEASE 03511 tolua_Error tolua_err; 03512 if ( 03513 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03514 !tolua_isnoobj(tolua_S,2,&tolua_err) 03515 ) 03516 goto tolua_lerror; 03517 else 03518 #endif 03519 { 03520 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03521 #ifndef TOLUA_RELEASE 03522 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_ankle_roll'", NULL); 03523 #endif 03524 { 03525 float tolua_ret = (float) self->r_ankle_roll(); 03526 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03527 } 03528 } 03529 return 1; 03530 #ifndef TOLUA_RELEASE 03531 tolua_lerror: 03532 tolua_error(tolua_S,"#ferror in function 'r_ankle_roll'.",&tolua_err); 03533 return 0; 03534 #endif 03535 } 03536 #endif //#ifndef TOLUA_DISABLE 03537 03538 /* method: set_r_ankle_roll of class SetStiffnessesMessage */ 03539 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_ankle_roll00 03540 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_ankle_roll00(lua_State* tolua_S) 03541 { 03542 #ifndef TOLUA_RELEASE 03543 tolua_Error tolua_err; 03544 if ( 03545 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03546 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03547 !tolua_isnoobj(tolua_S,3,&tolua_err) 03548 ) 03549 goto tolua_lerror; 03550 else 03551 #endif 03552 { 03553 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03554 const float new_r_ankle_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 03555 #ifndef TOLUA_RELEASE 03556 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_ankle_roll'", NULL); 03557 #endif 03558 { 03559 self->set_r_ankle_roll(new_r_ankle_roll); 03560 } 03561 } 03562 return 0; 03563 #ifndef TOLUA_RELEASE 03564 tolua_lerror: 03565 tolua_error(tolua_S,"#ferror in function 'set_r_ankle_roll'.",&tolua_err); 03566 return 0; 03567 #endif 03568 } 03569 #endif //#ifndef TOLUA_DISABLE 03570 03571 /* method: maxlenof_r_ankle_roll of class SetStiffnessesMessage */ 03572 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_ankle_roll00 03573 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_ankle_roll00(lua_State* tolua_S) 03574 { 03575 #ifndef TOLUA_RELEASE 03576 tolua_Error tolua_err; 03577 if ( 03578 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03579 !tolua_isnoobj(tolua_S,2,&tolua_err) 03580 ) 03581 goto tolua_lerror; 03582 else 03583 #endif 03584 { 03585 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03586 #ifndef TOLUA_RELEASE 03587 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_ankle_roll'", NULL); 03588 #endif 03589 { 03590 int tolua_ret = (int) self->maxlenof_r_ankle_roll(); 03591 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03592 } 03593 } 03594 return 1; 03595 #ifndef TOLUA_RELEASE 03596 tolua_lerror: 03597 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_ankle_roll'.",&tolua_err); 03598 return 0; 03599 #endif 03600 } 03601 #endif //#ifndef TOLUA_DISABLE 03602 03603 /* method: r_elbow_roll of class SetStiffnessesMessage */ 03604 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_elbow_roll00 03605 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_elbow_roll00(lua_State* tolua_S) 03606 { 03607 #ifndef TOLUA_RELEASE 03608 tolua_Error tolua_err; 03609 if ( 03610 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03611 !tolua_isnoobj(tolua_S,2,&tolua_err) 03612 ) 03613 goto tolua_lerror; 03614 else 03615 #endif 03616 { 03617 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03618 #ifndef TOLUA_RELEASE 03619 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_elbow_roll'", NULL); 03620 #endif 03621 { 03622 float tolua_ret = (float) self->r_elbow_roll(); 03623 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03624 } 03625 } 03626 return 1; 03627 #ifndef TOLUA_RELEASE 03628 tolua_lerror: 03629 tolua_error(tolua_S,"#ferror in function 'r_elbow_roll'.",&tolua_err); 03630 return 0; 03631 #endif 03632 } 03633 #endif //#ifndef TOLUA_DISABLE 03634 03635 /* method: set_r_elbow_roll of class SetStiffnessesMessage */ 03636 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_elbow_roll00 03637 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_elbow_roll00(lua_State* tolua_S) 03638 { 03639 #ifndef TOLUA_RELEASE 03640 tolua_Error tolua_err; 03641 if ( 03642 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03643 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03644 !tolua_isnoobj(tolua_S,3,&tolua_err) 03645 ) 03646 goto tolua_lerror; 03647 else 03648 #endif 03649 { 03650 fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03651 const float new_r_elbow_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 03652 #ifndef TOLUA_RELEASE 03653 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_elbow_roll'", NULL); 03654 #endif 03655 { 03656 self->set_r_elbow_roll(new_r_elbow_roll); 03657 } 03658 } 03659 return 0; 03660 #ifndef TOLUA_RELEASE 03661 tolua_lerror: 03662 tolua_error(tolua_S,"#ferror in function 'set_r_elbow_roll'.",&tolua_err); 03663 return 0; 03664 #endif 03665 } 03666 #endif //#ifndef TOLUA_DISABLE 03667 03668 /* method: maxlenof_r_elbow_roll of class SetStiffnessesMessage */ 03669 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_elbow_roll00 03670 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_elbow_roll00(lua_State* tolua_S) 03671 { 03672 #ifndef TOLUA_RELEASE 03673 tolua_Error tolua_err; 03674 if ( 03675 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage",0,&tolua_err) || 03676 !tolua_isnoobj(tolua_S,2,&tolua_err) 03677 ) 03678 goto tolua_lerror; 03679 else 03680 #endif 03681 { 03682 const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage* self = (const fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage*) tolua_tousertype(tolua_S,1,0); 03683 #ifndef TOLUA_RELEASE 03684 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_elbow_roll'", NULL); 03685 #endif 03686 { 03687 int tolua_ret = (int) self->maxlenof_r_elbow_roll(); 03688 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03689 } 03690 } 03691 return 1; 03692 #ifndef TOLUA_RELEASE 03693 tolua_lerror: 03694 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_elbow_roll'.",&tolua_err); 03695 return 0; 03696 #endif 03697 } 03698 #endif //#ifndef TOLUA_DISABLE 03699 03700 /* method: head_yaw of class fawkes::NaoJointStiffnessInterface */ 03701 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_head_yaw00 03702 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_head_yaw00(lua_State* tolua_S) 03703 { 03704 #ifndef TOLUA_RELEASE 03705 tolua_Error tolua_err; 03706 if ( 03707 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 03708 !tolua_isnoobj(tolua_S,2,&tolua_err) 03709 ) 03710 goto tolua_lerror; 03711 else 03712 #endif 03713 { 03714 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 03715 #ifndef TOLUA_RELEASE 03716 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'head_yaw'", NULL); 03717 #endif 03718 { 03719 float tolua_ret = (float) self->head_yaw(); 03720 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03721 } 03722 } 03723 return 1; 03724 #ifndef TOLUA_RELEASE 03725 tolua_lerror: 03726 tolua_error(tolua_S,"#ferror in function 'head_yaw'.",&tolua_err); 03727 return 0; 03728 #endif 03729 } 03730 #endif //#ifndef TOLUA_DISABLE 03731 03732 /* method: set_head_yaw of class fawkes::NaoJointStiffnessInterface */ 03733 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_head_yaw00 03734 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_head_yaw00(lua_State* tolua_S) 03735 { 03736 #ifndef TOLUA_RELEASE 03737 tolua_Error tolua_err; 03738 if ( 03739 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 03740 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03741 !tolua_isnoobj(tolua_S,3,&tolua_err) 03742 ) 03743 goto tolua_lerror; 03744 else 03745 #endif 03746 { 03747 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 03748 const float new_head_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 03749 #ifndef TOLUA_RELEASE 03750 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_head_yaw'", NULL); 03751 #endif 03752 { 03753 self->set_head_yaw(new_head_yaw); 03754 } 03755 } 03756 return 0; 03757 #ifndef TOLUA_RELEASE 03758 tolua_lerror: 03759 tolua_error(tolua_S,"#ferror in function 'set_head_yaw'.",&tolua_err); 03760 return 0; 03761 #endif 03762 } 03763 #endif //#ifndef TOLUA_DISABLE 03764 03765 /* method: maxlenof_head_yaw of class fawkes::NaoJointStiffnessInterface */ 03766 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_head_yaw00 03767 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_head_yaw00(lua_State* tolua_S) 03768 { 03769 #ifndef TOLUA_RELEASE 03770 tolua_Error tolua_err; 03771 if ( 03772 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 03773 !tolua_isnoobj(tolua_S,2,&tolua_err) 03774 ) 03775 goto tolua_lerror; 03776 else 03777 #endif 03778 { 03779 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 03780 #ifndef TOLUA_RELEASE 03781 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_head_yaw'", NULL); 03782 #endif 03783 { 03784 int tolua_ret = (int) self->maxlenof_head_yaw(); 03785 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03786 } 03787 } 03788 return 1; 03789 #ifndef TOLUA_RELEASE 03790 tolua_lerror: 03791 tolua_error(tolua_S,"#ferror in function 'maxlenof_head_yaw'.",&tolua_err); 03792 return 0; 03793 #endif 03794 } 03795 #endif //#ifndef TOLUA_DISABLE 03796 03797 /* method: head_pitch of class fawkes::NaoJointStiffnessInterface */ 03798 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_head_pitch00 03799 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_head_pitch00(lua_State* tolua_S) 03800 { 03801 #ifndef TOLUA_RELEASE 03802 tolua_Error tolua_err; 03803 if ( 03804 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 03805 !tolua_isnoobj(tolua_S,2,&tolua_err) 03806 ) 03807 goto tolua_lerror; 03808 else 03809 #endif 03810 { 03811 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 03812 #ifndef TOLUA_RELEASE 03813 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'head_pitch'", NULL); 03814 #endif 03815 { 03816 float tolua_ret = (float) self->head_pitch(); 03817 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03818 } 03819 } 03820 return 1; 03821 #ifndef TOLUA_RELEASE 03822 tolua_lerror: 03823 tolua_error(tolua_S,"#ferror in function 'head_pitch'.",&tolua_err); 03824 return 0; 03825 #endif 03826 } 03827 #endif //#ifndef TOLUA_DISABLE 03828 03829 /* method: set_head_pitch of class fawkes::NaoJointStiffnessInterface */ 03830 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_head_pitch00 03831 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_head_pitch00(lua_State* tolua_S) 03832 { 03833 #ifndef TOLUA_RELEASE 03834 tolua_Error tolua_err; 03835 if ( 03836 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 03837 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03838 !tolua_isnoobj(tolua_S,3,&tolua_err) 03839 ) 03840 goto tolua_lerror; 03841 else 03842 #endif 03843 { 03844 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 03845 const float new_head_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 03846 #ifndef TOLUA_RELEASE 03847 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_head_pitch'", NULL); 03848 #endif 03849 { 03850 self->set_head_pitch(new_head_pitch); 03851 } 03852 } 03853 return 0; 03854 #ifndef TOLUA_RELEASE 03855 tolua_lerror: 03856 tolua_error(tolua_S,"#ferror in function 'set_head_pitch'.",&tolua_err); 03857 return 0; 03858 #endif 03859 } 03860 #endif //#ifndef TOLUA_DISABLE 03861 03862 /* method: maxlenof_head_pitch of class fawkes::NaoJointStiffnessInterface */ 03863 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_head_pitch00 03864 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_head_pitch00(lua_State* tolua_S) 03865 { 03866 #ifndef TOLUA_RELEASE 03867 tolua_Error tolua_err; 03868 if ( 03869 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 03870 !tolua_isnoobj(tolua_S,2,&tolua_err) 03871 ) 03872 goto tolua_lerror; 03873 else 03874 #endif 03875 { 03876 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 03877 #ifndef TOLUA_RELEASE 03878 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_head_pitch'", NULL); 03879 #endif 03880 { 03881 int tolua_ret = (int) self->maxlenof_head_pitch(); 03882 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03883 } 03884 } 03885 return 1; 03886 #ifndef TOLUA_RELEASE 03887 tolua_lerror: 03888 tolua_error(tolua_S,"#ferror in function 'maxlenof_head_pitch'.",&tolua_err); 03889 return 0; 03890 #endif 03891 } 03892 #endif //#ifndef TOLUA_DISABLE 03893 03894 /* method: l_shoulder_pitch of class fawkes::NaoJointStiffnessInterface */ 03895 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_shoulder_pitch00 03896 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_shoulder_pitch00(lua_State* tolua_S) 03897 { 03898 #ifndef TOLUA_RELEASE 03899 tolua_Error tolua_err; 03900 if ( 03901 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 03902 !tolua_isnoobj(tolua_S,2,&tolua_err) 03903 ) 03904 goto tolua_lerror; 03905 else 03906 #endif 03907 { 03908 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 03909 #ifndef TOLUA_RELEASE 03910 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_shoulder_pitch'", NULL); 03911 #endif 03912 { 03913 float tolua_ret = (float) self->l_shoulder_pitch(); 03914 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03915 } 03916 } 03917 return 1; 03918 #ifndef TOLUA_RELEASE 03919 tolua_lerror: 03920 tolua_error(tolua_S,"#ferror in function 'l_shoulder_pitch'.",&tolua_err); 03921 return 0; 03922 #endif 03923 } 03924 #endif //#ifndef TOLUA_DISABLE 03925 03926 /* method: set_l_shoulder_pitch of class fawkes::NaoJointStiffnessInterface */ 03927 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_shoulder_pitch00 03928 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_shoulder_pitch00(lua_State* tolua_S) 03929 { 03930 #ifndef TOLUA_RELEASE 03931 tolua_Error tolua_err; 03932 if ( 03933 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 03934 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 03935 !tolua_isnoobj(tolua_S,3,&tolua_err) 03936 ) 03937 goto tolua_lerror; 03938 else 03939 #endif 03940 { 03941 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 03942 const float new_l_shoulder_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 03943 #ifndef TOLUA_RELEASE 03944 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_shoulder_pitch'", NULL); 03945 #endif 03946 { 03947 self->set_l_shoulder_pitch(new_l_shoulder_pitch); 03948 } 03949 } 03950 return 0; 03951 #ifndef TOLUA_RELEASE 03952 tolua_lerror: 03953 tolua_error(tolua_S,"#ferror in function 'set_l_shoulder_pitch'.",&tolua_err); 03954 return 0; 03955 #endif 03956 } 03957 #endif //#ifndef TOLUA_DISABLE 03958 03959 /* method: maxlenof_l_shoulder_pitch of class fawkes::NaoJointStiffnessInterface */ 03960 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_shoulder_pitch00 03961 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_shoulder_pitch00(lua_State* tolua_S) 03962 { 03963 #ifndef TOLUA_RELEASE 03964 tolua_Error tolua_err; 03965 if ( 03966 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 03967 !tolua_isnoobj(tolua_S,2,&tolua_err) 03968 ) 03969 goto tolua_lerror; 03970 else 03971 #endif 03972 { 03973 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 03974 #ifndef TOLUA_RELEASE 03975 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_shoulder_pitch'", NULL); 03976 #endif 03977 { 03978 int tolua_ret = (int) self->maxlenof_l_shoulder_pitch(); 03979 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 03980 } 03981 } 03982 return 1; 03983 #ifndef TOLUA_RELEASE 03984 tolua_lerror: 03985 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_shoulder_pitch'.",&tolua_err); 03986 return 0; 03987 #endif 03988 } 03989 #endif //#ifndef TOLUA_DISABLE 03990 03991 /* method: l_shoulder_roll of class fawkes::NaoJointStiffnessInterface */ 03992 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_shoulder_roll00 03993 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_shoulder_roll00(lua_State* tolua_S) 03994 { 03995 #ifndef TOLUA_RELEASE 03996 tolua_Error tolua_err; 03997 if ( 03998 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 03999 !tolua_isnoobj(tolua_S,2,&tolua_err) 04000 ) 04001 goto tolua_lerror; 04002 else 04003 #endif 04004 { 04005 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04006 #ifndef TOLUA_RELEASE 04007 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_shoulder_roll'", NULL); 04008 #endif 04009 { 04010 float tolua_ret = (float) self->l_shoulder_roll(); 04011 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04012 } 04013 } 04014 return 1; 04015 #ifndef TOLUA_RELEASE 04016 tolua_lerror: 04017 tolua_error(tolua_S,"#ferror in function 'l_shoulder_roll'.",&tolua_err); 04018 return 0; 04019 #endif 04020 } 04021 #endif //#ifndef TOLUA_DISABLE 04022 04023 /* method: set_l_shoulder_roll of class fawkes::NaoJointStiffnessInterface */ 04024 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_shoulder_roll00 04025 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_shoulder_roll00(lua_State* tolua_S) 04026 { 04027 #ifndef TOLUA_RELEASE 04028 tolua_Error tolua_err; 04029 if ( 04030 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04031 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04032 !tolua_isnoobj(tolua_S,3,&tolua_err) 04033 ) 04034 goto tolua_lerror; 04035 else 04036 #endif 04037 { 04038 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04039 const float new_l_shoulder_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 04040 #ifndef TOLUA_RELEASE 04041 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_shoulder_roll'", NULL); 04042 #endif 04043 { 04044 self->set_l_shoulder_roll(new_l_shoulder_roll); 04045 } 04046 } 04047 return 0; 04048 #ifndef TOLUA_RELEASE 04049 tolua_lerror: 04050 tolua_error(tolua_S,"#ferror in function 'set_l_shoulder_roll'.",&tolua_err); 04051 return 0; 04052 #endif 04053 } 04054 #endif //#ifndef TOLUA_DISABLE 04055 04056 /* method: maxlenof_l_shoulder_roll of class fawkes::NaoJointStiffnessInterface */ 04057 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_shoulder_roll00 04058 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_shoulder_roll00(lua_State* tolua_S) 04059 { 04060 #ifndef TOLUA_RELEASE 04061 tolua_Error tolua_err; 04062 if ( 04063 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04064 !tolua_isnoobj(tolua_S,2,&tolua_err) 04065 ) 04066 goto tolua_lerror; 04067 else 04068 #endif 04069 { 04070 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04071 #ifndef TOLUA_RELEASE 04072 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_shoulder_roll'", NULL); 04073 #endif 04074 { 04075 int tolua_ret = (int) self->maxlenof_l_shoulder_roll(); 04076 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04077 } 04078 } 04079 return 1; 04080 #ifndef TOLUA_RELEASE 04081 tolua_lerror: 04082 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_shoulder_roll'.",&tolua_err); 04083 return 0; 04084 #endif 04085 } 04086 #endif //#ifndef TOLUA_DISABLE 04087 04088 /* method: l_elbow_yaw of class fawkes::NaoJointStiffnessInterface */ 04089 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_elbow_yaw00 04090 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_elbow_yaw00(lua_State* tolua_S) 04091 { 04092 #ifndef TOLUA_RELEASE 04093 tolua_Error tolua_err; 04094 if ( 04095 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04096 !tolua_isnoobj(tolua_S,2,&tolua_err) 04097 ) 04098 goto tolua_lerror; 04099 else 04100 #endif 04101 { 04102 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04103 #ifndef TOLUA_RELEASE 04104 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_elbow_yaw'", NULL); 04105 #endif 04106 { 04107 float tolua_ret = (float) self->l_elbow_yaw(); 04108 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04109 } 04110 } 04111 return 1; 04112 #ifndef TOLUA_RELEASE 04113 tolua_lerror: 04114 tolua_error(tolua_S,"#ferror in function 'l_elbow_yaw'.",&tolua_err); 04115 return 0; 04116 #endif 04117 } 04118 #endif //#ifndef TOLUA_DISABLE 04119 04120 /* method: set_l_elbow_yaw of class fawkes::NaoJointStiffnessInterface */ 04121 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_elbow_yaw00 04122 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_elbow_yaw00(lua_State* tolua_S) 04123 { 04124 #ifndef TOLUA_RELEASE 04125 tolua_Error tolua_err; 04126 if ( 04127 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04128 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04129 !tolua_isnoobj(tolua_S,3,&tolua_err) 04130 ) 04131 goto tolua_lerror; 04132 else 04133 #endif 04134 { 04135 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04136 const float new_l_elbow_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 04137 #ifndef TOLUA_RELEASE 04138 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_elbow_yaw'", NULL); 04139 #endif 04140 { 04141 self->set_l_elbow_yaw(new_l_elbow_yaw); 04142 } 04143 } 04144 return 0; 04145 #ifndef TOLUA_RELEASE 04146 tolua_lerror: 04147 tolua_error(tolua_S,"#ferror in function 'set_l_elbow_yaw'.",&tolua_err); 04148 return 0; 04149 #endif 04150 } 04151 #endif //#ifndef TOLUA_DISABLE 04152 04153 /* method: maxlenof_l_elbow_yaw of class fawkes::NaoJointStiffnessInterface */ 04154 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_elbow_yaw00 04155 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_elbow_yaw00(lua_State* tolua_S) 04156 { 04157 #ifndef TOLUA_RELEASE 04158 tolua_Error tolua_err; 04159 if ( 04160 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04161 !tolua_isnoobj(tolua_S,2,&tolua_err) 04162 ) 04163 goto tolua_lerror; 04164 else 04165 #endif 04166 { 04167 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04168 #ifndef TOLUA_RELEASE 04169 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_elbow_yaw'", NULL); 04170 #endif 04171 { 04172 int tolua_ret = (int) self->maxlenof_l_elbow_yaw(); 04173 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04174 } 04175 } 04176 return 1; 04177 #ifndef TOLUA_RELEASE 04178 tolua_lerror: 04179 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_elbow_yaw'.",&tolua_err); 04180 return 0; 04181 #endif 04182 } 04183 #endif //#ifndef TOLUA_DISABLE 04184 04185 /* method: l_elbow_roll of class fawkes::NaoJointStiffnessInterface */ 04186 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_elbow_roll00 04187 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_elbow_roll00(lua_State* tolua_S) 04188 { 04189 #ifndef TOLUA_RELEASE 04190 tolua_Error tolua_err; 04191 if ( 04192 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04193 !tolua_isnoobj(tolua_S,2,&tolua_err) 04194 ) 04195 goto tolua_lerror; 04196 else 04197 #endif 04198 { 04199 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04200 #ifndef TOLUA_RELEASE 04201 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_elbow_roll'", NULL); 04202 #endif 04203 { 04204 float tolua_ret = (float) self->l_elbow_roll(); 04205 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04206 } 04207 } 04208 return 1; 04209 #ifndef TOLUA_RELEASE 04210 tolua_lerror: 04211 tolua_error(tolua_S,"#ferror in function 'l_elbow_roll'.",&tolua_err); 04212 return 0; 04213 #endif 04214 } 04215 #endif //#ifndef TOLUA_DISABLE 04216 04217 /* method: set_l_elbow_roll of class fawkes::NaoJointStiffnessInterface */ 04218 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_elbow_roll00 04219 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_elbow_roll00(lua_State* tolua_S) 04220 { 04221 #ifndef TOLUA_RELEASE 04222 tolua_Error tolua_err; 04223 if ( 04224 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04225 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04226 !tolua_isnoobj(tolua_S,3,&tolua_err) 04227 ) 04228 goto tolua_lerror; 04229 else 04230 #endif 04231 { 04232 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04233 const float new_l_elbow_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 04234 #ifndef TOLUA_RELEASE 04235 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_elbow_roll'", NULL); 04236 #endif 04237 { 04238 self->set_l_elbow_roll(new_l_elbow_roll); 04239 } 04240 } 04241 return 0; 04242 #ifndef TOLUA_RELEASE 04243 tolua_lerror: 04244 tolua_error(tolua_S,"#ferror in function 'set_l_elbow_roll'.",&tolua_err); 04245 return 0; 04246 #endif 04247 } 04248 #endif //#ifndef TOLUA_DISABLE 04249 04250 /* method: maxlenof_l_elbow_roll of class fawkes::NaoJointStiffnessInterface */ 04251 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_elbow_roll00 04252 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_elbow_roll00(lua_State* tolua_S) 04253 { 04254 #ifndef TOLUA_RELEASE 04255 tolua_Error tolua_err; 04256 if ( 04257 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04258 !tolua_isnoobj(tolua_S,2,&tolua_err) 04259 ) 04260 goto tolua_lerror; 04261 else 04262 #endif 04263 { 04264 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04265 #ifndef TOLUA_RELEASE 04266 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_elbow_roll'", NULL); 04267 #endif 04268 { 04269 int tolua_ret = (int) self->maxlenof_l_elbow_roll(); 04270 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04271 } 04272 } 04273 return 1; 04274 #ifndef TOLUA_RELEASE 04275 tolua_lerror: 04276 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_elbow_roll'.",&tolua_err); 04277 return 0; 04278 #endif 04279 } 04280 #endif //#ifndef TOLUA_DISABLE 04281 04282 /* method: l_wrist_yaw of class fawkes::NaoJointStiffnessInterface */ 04283 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_wrist_yaw00 04284 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_wrist_yaw00(lua_State* tolua_S) 04285 { 04286 #ifndef TOLUA_RELEASE 04287 tolua_Error tolua_err; 04288 if ( 04289 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04290 !tolua_isnoobj(tolua_S,2,&tolua_err) 04291 ) 04292 goto tolua_lerror; 04293 else 04294 #endif 04295 { 04296 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04297 #ifndef TOLUA_RELEASE 04298 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_wrist_yaw'", NULL); 04299 #endif 04300 { 04301 float tolua_ret = (float) self->l_wrist_yaw(); 04302 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04303 } 04304 } 04305 return 1; 04306 #ifndef TOLUA_RELEASE 04307 tolua_lerror: 04308 tolua_error(tolua_S,"#ferror in function 'l_wrist_yaw'.",&tolua_err); 04309 return 0; 04310 #endif 04311 } 04312 #endif //#ifndef TOLUA_DISABLE 04313 04314 /* method: set_l_wrist_yaw of class fawkes::NaoJointStiffnessInterface */ 04315 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_wrist_yaw00 04316 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_wrist_yaw00(lua_State* tolua_S) 04317 { 04318 #ifndef TOLUA_RELEASE 04319 tolua_Error tolua_err; 04320 if ( 04321 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04322 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04323 !tolua_isnoobj(tolua_S,3,&tolua_err) 04324 ) 04325 goto tolua_lerror; 04326 else 04327 #endif 04328 { 04329 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04330 const float new_l_wrist_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 04331 #ifndef TOLUA_RELEASE 04332 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_wrist_yaw'", NULL); 04333 #endif 04334 { 04335 self->set_l_wrist_yaw(new_l_wrist_yaw); 04336 } 04337 } 04338 return 0; 04339 #ifndef TOLUA_RELEASE 04340 tolua_lerror: 04341 tolua_error(tolua_S,"#ferror in function 'set_l_wrist_yaw'.",&tolua_err); 04342 return 0; 04343 #endif 04344 } 04345 #endif //#ifndef TOLUA_DISABLE 04346 04347 /* method: maxlenof_l_wrist_yaw of class fawkes::NaoJointStiffnessInterface */ 04348 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_wrist_yaw00 04349 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_wrist_yaw00(lua_State* tolua_S) 04350 { 04351 #ifndef TOLUA_RELEASE 04352 tolua_Error tolua_err; 04353 if ( 04354 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04355 !tolua_isnoobj(tolua_S,2,&tolua_err) 04356 ) 04357 goto tolua_lerror; 04358 else 04359 #endif 04360 { 04361 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04362 #ifndef TOLUA_RELEASE 04363 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_wrist_yaw'", NULL); 04364 #endif 04365 { 04366 int tolua_ret = (int) self->maxlenof_l_wrist_yaw(); 04367 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04368 } 04369 } 04370 return 1; 04371 #ifndef TOLUA_RELEASE 04372 tolua_lerror: 04373 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_wrist_yaw'.",&tolua_err); 04374 return 0; 04375 #endif 04376 } 04377 #endif //#ifndef TOLUA_DISABLE 04378 04379 /* method: l_hand of class fawkes::NaoJointStiffnessInterface */ 04380 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_hand00 04381 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_hand00(lua_State* tolua_S) 04382 { 04383 #ifndef TOLUA_RELEASE 04384 tolua_Error tolua_err; 04385 if ( 04386 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04387 !tolua_isnoobj(tolua_S,2,&tolua_err) 04388 ) 04389 goto tolua_lerror; 04390 else 04391 #endif 04392 { 04393 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04394 #ifndef TOLUA_RELEASE 04395 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hand'", NULL); 04396 #endif 04397 { 04398 float tolua_ret = (float) self->l_hand(); 04399 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04400 } 04401 } 04402 return 1; 04403 #ifndef TOLUA_RELEASE 04404 tolua_lerror: 04405 tolua_error(tolua_S,"#ferror in function 'l_hand'.",&tolua_err); 04406 return 0; 04407 #endif 04408 } 04409 #endif //#ifndef TOLUA_DISABLE 04410 04411 /* method: set_l_hand of class fawkes::NaoJointStiffnessInterface */ 04412 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_hand00 04413 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_hand00(lua_State* tolua_S) 04414 { 04415 #ifndef TOLUA_RELEASE 04416 tolua_Error tolua_err; 04417 if ( 04418 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04419 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04420 !tolua_isnoobj(tolua_S,3,&tolua_err) 04421 ) 04422 goto tolua_lerror; 04423 else 04424 #endif 04425 { 04426 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04427 const float new_l_hand = ((const float) tolua_tonumber(tolua_S,2,0)); 04428 #ifndef TOLUA_RELEASE 04429 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hand'", NULL); 04430 #endif 04431 { 04432 self->set_l_hand(new_l_hand); 04433 } 04434 } 04435 return 0; 04436 #ifndef TOLUA_RELEASE 04437 tolua_lerror: 04438 tolua_error(tolua_S,"#ferror in function 'set_l_hand'.",&tolua_err); 04439 return 0; 04440 #endif 04441 } 04442 #endif //#ifndef TOLUA_DISABLE 04443 04444 /* method: maxlenof_l_hand of class fawkes::NaoJointStiffnessInterface */ 04445 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_hand00 04446 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_hand00(lua_State* tolua_S) 04447 { 04448 #ifndef TOLUA_RELEASE 04449 tolua_Error tolua_err; 04450 if ( 04451 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04452 !tolua_isnoobj(tolua_S,2,&tolua_err) 04453 ) 04454 goto tolua_lerror; 04455 else 04456 #endif 04457 { 04458 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04459 #ifndef TOLUA_RELEASE 04460 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hand'", NULL); 04461 #endif 04462 { 04463 int tolua_ret = (int) self->maxlenof_l_hand(); 04464 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04465 } 04466 } 04467 return 1; 04468 #ifndef TOLUA_RELEASE 04469 tolua_lerror: 04470 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hand'.",&tolua_err); 04471 return 0; 04472 #endif 04473 } 04474 #endif //#ifndef TOLUA_DISABLE 04475 04476 /* method: l_hip_yaw_pitch of class fawkes::NaoJointStiffnessInterface */ 04477 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_hip_yaw_pitch00 04478 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_hip_yaw_pitch00(lua_State* tolua_S) 04479 { 04480 #ifndef TOLUA_RELEASE 04481 tolua_Error tolua_err; 04482 if ( 04483 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04484 !tolua_isnoobj(tolua_S,2,&tolua_err) 04485 ) 04486 goto tolua_lerror; 04487 else 04488 #endif 04489 { 04490 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04491 #ifndef TOLUA_RELEASE 04492 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hip_yaw_pitch'", NULL); 04493 #endif 04494 { 04495 float tolua_ret = (float) self->l_hip_yaw_pitch(); 04496 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04497 } 04498 } 04499 return 1; 04500 #ifndef TOLUA_RELEASE 04501 tolua_lerror: 04502 tolua_error(tolua_S,"#ferror in function 'l_hip_yaw_pitch'.",&tolua_err); 04503 return 0; 04504 #endif 04505 } 04506 #endif //#ifndef TOLUA_DISABLE 04507 04508 /* method: set_l_hip_yaw_pitch of class fawkes::NaoJointStiffnessInterface */ 04509 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_hip_yaw_pitch00 04510 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_hip_yaw_pitch00(lua_State* tolua_S) 04511 { 04512 #ifndef TOLUA_RELEASE 04513 tolua_Error tolua_err; 04514 if ( 04515 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04516 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04517 !tolua_isnoobj(tolua_S,3,&tolua_err) 04518 ) 04519 goto tolua_lerror; 04520 else 04521 #endif 04522 { 04523 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04524 const float new_l_hip_yaw_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 04525 #ifndef TOLUA_RELEASE 04526 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hip_yaw_pitch'", NULL); 04527 #endif 04528 { 04529 self->set_l_hip_yaw_pitch(new_l_hip_yaw_pitch); 04530 } 04531 } 04532 return 0; 04533 #ifndef TOLUA_RELEASE 04534 tolua_lerror: 04535 tolua_error(tolua_S,"#ferror in function 'set_l_hip_yaw_pitch'.",&tolua_err); 04536 return 0; 04537 #endif 04538 } 04539 #endif //#ifndef TOLUA_DISABLE 04540 04541 /* method: maxlenof_l_hip_yaw_pitch of class fawkes::NaoJointStiffnessInterface */ 04542 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_hip_yaw_pitch00 04543 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_hip_yaw_pitch00(lua_State* tolua_S) 04544 { 04545 #ifndef TOLUA_RELEASE 04546 tolua_Error tolua_err; 04547 if ( 04548 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04549 !tolua_isnoobj(tolua_S,2,&tolua_err) 04550 ) 04551 goto tolua_lerror; 04552 else 04553 #endif 04554 { 04555 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04556 #ifndef TOLUA_RELEASE 04557 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hip_yaw_pitch'", NULL); 04558 #endif 04559 { 04560 int tolua_ret = (int) self->maxlenof_l_hip_yaw_pitch(); 04561 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04562 } 04563 } 04564 return 1; 04565 #ifndef TOLUA_RELEASE 04566 tolua_lerror: 04567 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hip_yaw_pitch'.",&tolua_err); 04568 return 0; 04569 #endif 04570 } 04571 #endif //#ifndef TOLUA_DISABLE 04572 04573 /* method: l_hip_roll of class fawkes::NaoJointStiffnessInterface */ 04574 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_hip_roll00 04575 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_hip_roll00(lua_State* tolua_S) 04576 { 04577 #ifndef TOLUA_RELEASE 04578 tolua_Error tolua_err; 04579 if ( 04580 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04581 !tolua_isnoobj(tolua_S,2,&tolua_err) 04582 ) 04583 goto tolua_lerror; 04584 else 04585 #endif 04586 { 04587 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04588 #ifndef TOLUA_RELEASE 04589 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hip_roll'", NULL); 04590 #endif 04591 { 04592 float tolua_ret = (float) self->l_hip_roll(); 04593 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04594 } 04595 } 04596 return 1; 04597 #ifndef TOLUA_RELEASE 04598 tolua_lerror: 04599 tolua_error(tolua_S,"#ferror in function 'l_hip_roll'.",&tolua_err); 04600 return 0; 04601 #endif 04602 } 04603 #endif //#ifndef TOLUA_DISABLE 04604 04605 /* method: set_l_hip_roll of class fawkes::NaoJointStiffnessInterface */ 04606 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_hip_roll00 04607 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_hip_roll00(lua_State* tolua_S) 04608 { 04609 #ifndef TOLUA_RELEASE 04610 tolua_Error tolua_err; 04611 if ( 04612 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04613 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04614 !tolua_isnoobj(tolua_S,3,&tolua_err) 04615 ) 04616 goto tolua_lerror; 04617 else 04618 #endif 04619 { 04620 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04621 const float new_l_hip_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 04622 #ifndef TOLUA_RELEASE 04623 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hip_roll'", NULL); 04624 #endif 04625 { 04626 self->set_l_hip_roll(new_l_hip_roll); 04627 } 04628 } 04629 return 0; 04630 #ifndef TOLUA_RELEASE 04631 tolua_lerror: 04632 tolua_error(tolua_S,"#ferror in function 'set_l_hip_roll'.",&tolua_err); 04633 return 0; 04634 #endif 04635 } 04636 #endif //#ifndef TOLUA_DISABLE 04637 04638 /* method: maxlenof_l_hip_roll of class fawkes::NaoJointStiffnessInterface */ 04639 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_hip_roll00 04640 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_hip_roll00(lua_State* tolua_S) 04641 { 04642 #ifndef TOLUA_RELEASE 04643 tolua_Error tolua_err; 04644 if ( 04645 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04646 !tolua_isnoobj(tolua_S,2,&tolua_err) 04647 ) 04648 goto tolua_lerror; 04649 else 04650 #endif 04651 { 04652 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04653 #ifndef TOLUA_RELEASE 04654 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hip_roll'", NULL); 04655 #endif 04656 { 04657 int tolua_ret = (int) self->maxlenof_l_hip_roll(); 04658 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04659 } 04660 } 04661 return 1; 04662 #ifndef TOLUA_RELEASE 04663 tolua_lerror: 04664 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hip_roll'.",&tolua_err); 04665 return 0; 04666 #endif 04667 } 04668 #endif //#ifndef TOLUA_DISABLE 04669 04670 /* method: l_hip_pitch of class fawkes::NaoJointStiffnessInterface */ 04671 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_hip_pitch00 04672 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_hip_pitch00(lua_State* tolua_S) 04673 { 04674 #ifndef TOLUA_RELEASE 04675 tolua_Error tolua_err; 04676 if ( 04677 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04678 !tolua_isnoobj(tolua_S,2,&tolua_err) 04679 ) 04680 goto tolua_lerror; 04681 else 04682 #endif 04683 { 04684 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04685 #ifndef TOLUA_RELEASE 04686 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_hip_pitch'", NULL); 04687 #endif 04688 { 04689 float tolua_ret = (float) self->l_hip_pitch(); 04690 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04691 } 04692 } 04693 return 1; 04694 #ifndef TOLUA_RELEASE 04695 tolua_lerror: 04696 tolua_error(tolua_S,"#ferror in function 'l_hip_pitch'.",&tolua_err); 04697 return 0; 04698 #endif 04699 } 04700 #endif //#ifndef TOLUA_DISABLE 04701 04702 /* method: set_l_hip_pitch of class fawkes::NaoJointStiffnessInterface */ 04703 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_hip_pitch00 04704 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_hip_pitch00(lua_State* tolua_S) 04705 { 04706 #ifndef TOLUA_RELEASE 04707 tolua_Error tolua_err; 04708 if ( 04709 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04710 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04711 !tolua_isnoobj(tolua_S,3,&tolua_err) 04712 ) 04713 goto tolua_lerror; 04714 else 04715 #endif 04716 { 04717 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04718 const float new_l_hip_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 04719 #ifndef TOLUA_RELEASE 04720 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_hip_pitch'", NULL); 04721 #endif 04722 { 04723 self->set_l_hip_pitch(new_l_hip_pitch); 04724 } 04725 } 04726 return 0; 04727 #ifndef TOLUA_RELEASE 04728 tolua_lerror: 04729 tolua_error(tolua_S,"#ferror in function 'set_l_hip_pitch'.",&tolua_err); 04730 return 0; 04731 #endif 04732 } 04733 #endif //#ifndef TOLUA_DISABLE 04734 04735 /* method: maxlenof_l_hip_pitch of class fawkes::NaoJointStiffnessInterface */ 04736 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_hip_pitch00 04737 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_hip_pitch00(lua_State* tolua_S) 04738 { 04739 #ifndef TOLUA_RELEASE 04740 tolua_Error tolua_err; 04741 if ( 04742 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04743 !tolua_isnoobj(tolua_S,2,&tolua_err) 04744 ) 04745 goto tolua_lerror; 04746 else 04747 #endif 04748 { 04749 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04750 #ifndef TOLUA_RELEASE 04751 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_hip_pitch'", NULL); 04752 #endif 04753 { 04754 int tolua_ret = (int) self->maxlenof_l_hip_pitch(); 04755 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04756 } 04757 } 04758 return 1; 04759 #ifndef TOLUA_RELEASE 04760 tolua_lerror: 04761 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_hip_pitch'.",&tolua_err); 04762 return 0; 04763 #endif 04764 } 04765 #endif //#ifndef TOLUA_DISABLE 04766 04767 /* method: l_knee_pitch of class fawkes::NaoJointStiffnessInterface */ 04768 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_knee_pitch00 04769 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_knee_pitch00(lua_State* tolua_S) 04770 { 04771 #ifndef TOLUA_RELEASE 04772 tolua_Error tolua_err; 04773 if ( 04774 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04775 !tolua_isnoobj(tolua_S,2,&tolua_err) 04776 ) 04777 goto tolua_lerror; 04778 else 04779 #endif 04780 { 04781 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04782 #ifndef TOLUA_RELEASE 04783 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_knee_pitch'", NULL); 04784 #endif 04785 { 04786 float tolua_ret = (float) self->l_knee_pitch(); 04787 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04788 } 04789 } 04790 return 1; 04791 #ifndef TOLUA_RELEASE 04792 tolua_lerror: 04793 tolua_error(tolua_S,"#ferror in function 'l_knee_pitch'.",&tolua_err); 04794 return 0; 04795 #endif 04796 } 04797 #endif //#ifndef TOLUA_DISABLE 04798 04799 /* method: set_l_knee_pitch of class fawkes::NaoJointStiffnessInterface */ 04800 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_knee_pitch00 04801 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_knee_pitch00(lua_State* tolua_S) 04802 { 04803 #ifndef TOLUA_RELEASE 04804 tolua_Error tolua_err; 04805 if ( 04806 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04807 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04808 !tolua_isnoobj(tolua_S,3,&tolua_err) 04809 ) 04810 goto tolua_lerror; 04811 else 04812 #endif 04813 { 04814 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04815 const float new_l_knee_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 04816 #ifndef TOLUA_RELEASE 04817 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_knee_pitch'", NULL); 04818 #endif 04819 { 04820 self->set_l_knee_pitch(new_l_knee_pitch); 04821 } 04822 } 04823 return 0; 04824 #ifndef TOLUA_RELEASE 04825 tolua_lerror: 04826 tolua_error(tolua_S,"#ferror in function 'set_l_knee_pitch'.",&tolua_err); 04827 return 0; 04828 #endif 04829 } 04830 #endif //#ifndef TOLUA_DISABLE 04831 04832 /* method: maxlenof_l_knee_pitch of class fawkes::NaoJointStiffnessInterface */ 04833 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_knee_pitch00 04834 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_knee_pitch00(lua_State* tolua_S) 04835 { 04836 #ifndef TOLUA_RELEASE 04837 tolua_Error tolua_err; 04838 if ( 04839 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04840 !tolua_isnoobj(tolua_S,2,&tolua_err) 04841 ) 04842 goto tolua_lerror; 04843 else 04844 #endif 04845 { 04846 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04847 #ifndef TOLUA_RELEASE 04848 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_knee_pitch'", NULL); 04849 #endif 04850 { 04851 int tolua_ret = (int) self->maxlenof_l_knee_pitch(); 04852 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04853 } 04854 } 04855 return 1; 04856 #ifndef TOLUA_RELEASE 04857 tolua_lerror: 04858 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_knee_pitch'.",&tolua_err); 04859 return 0; 04860 #endif 04861 } 04862 #endif //#ifndef TOLUA_DISABLE 04863 04864 /* method: l_ankle_pitch of class fawkes::NaoJointStiffnessInterface */ 04865 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_ankle_pitch00 04866 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_ankle_pitch00(lua_State* tolua_S) 04867 { 04868 #ifndef TOLUA_RELEASE 04869 tolua_Error tolua_err; 04870 if ( 04871 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04872 !tolua_isnoobj(tolua_S,2,&tolua_err) 04873 ) 04874 goto tolua_lerror; 04875 else 04876 #endif 04877 { 04878 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04879 #ifndef TOLUA_RELEASE 04880 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_ankle_pitch'", NULL); 04881 #endif 04882 { 04883 float tolua_ret = (float) self->l_ankle_pitch(); 04884 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04885 } 04886 } 04887 return 1; 04888 #ifndef TOLUA_RELEASE 04889 tolua_lerror: 04890 tolua_error(tolua_S,"#ferror in function 'l_ankle_pitch'.",&tolua_err); 04891 return 0; 04892 #endif 04893 } 04894 #endif //#ifndef TOLUA_DISABLE 04895 04896 /* method: set_l_ankle_pitch of class fawkes::NaoJointStiffnessInterface */ 04897 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_ankle_pitch00 04898 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_ankle_pitch00(lua_State* tolua_S) 04899 { 04900 #ifndef TOLUA_RELEASE 04901 tolua_Error tolua_err; 04902 if ( 04903 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04904 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 04905 !tolua_isnoobj(tolua_S,3,&tolua_err) 04906 ) 04907 goto tolua_lerror; 04908 else 04909 #endif 04910 { 04911 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04912 const float new_l_ankle_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 04913 #ifndef TOLUA_RELEASE 04914 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_ankle_pitch'", NULL); 04915 #endif 04916 { 04917 self->set_l_ankle_pitch(new_l_ankle_pitch); 04918 } 04919 } 04920 return 0; 04921 #ifndef TOLUA_RELEASE 04922 tolua_lerror: 04923 tolua_error(tolua_S,"#ferror in function 'set_l_ankle_pitch'.",&tolua_err); 04924 return 0; 04925 #endif 04926 } 04927 #endif //#ifndef TOLUA_DISABLE 04928 04929 /* method: maxlenof_l_ankle_pitch of class fawkes::NaoJointStiffnessInterface */ 04930 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_ankle_pitch00 04931 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_ankle_pitch00(lua_State* tolua_S) 04932 { 04933 #ifndef TOLUA_RELEASE 04934 tolua_Error tolua_err; 04935 if ( 04936 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04937 !tolua_isnoobj(tolua_S,2,&tolua_err) 04938 ) 04939 goto tolua_lerror; 04940 else 04941 #endif 04942 { 04943 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04944 #ifndef TOLUA_RELEASE 04945 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_ankle_pitch'", NULL); 04946 #endif 04947 { 04948 int tolua_ret = (int) self->maxlenof_l_ankle_pitch(); 04949 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04950 } 04951 } 04952 return 1; 04953 #ifndef TOLUA_RELEASE 04954 tolua_lerror: 04955 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_ankle_pitch'.",&tolua_err); 04956 return 0; 04957 #endif 04958 } 04959 #endif //#ifndef TOLUA_DISABLE 04960 04961 /* method: l_ankle_roll of class fawkes::NaoJointStiffnessInterface */ 04962 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_ankle_roll00 04963 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_ankle_roll00(lua_State* tolua_S) 04964 { 04965 #ifndef TOLUA_RELEASE 04966 tolua_Error tolua_err; 04967 if ( 04968 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 04969 !tolua_isnoobj(tolua_S,2,&tolua_err) 04970 ) 04971 goto tolua_lerror; 04972 else 04973 #endif 04974 { 04975 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 04976 #ifndef TOLUA_RELEASE 04977 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'l_ankle_roll'", NULL); 04978 #endif 04979 { 04980 float tolua_ret = (float) self->l_ankle_roll(); 04981 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 04982 } 04983 } 04984 return 1; 04985 #ifndef TOLUA_RELEASE 04986 tolua_lerror: 04987 tolua_error(tolua_S,"#ferror in function 'l_ankle_roll'.",&tolua_err); 04988 return 0; 04989 #endif 04990 } 04991 #endif //#ifndef TOLUA_DISABLE 04992 04993 /* method: set_l_ankle_roll of class fawkes::NaoJointStiffnessInterface */ 04994 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_ankle_roll00 04995 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_ankle_roll00(lua_State* tolua_S) 04996 { 04997 #ifndef TOLUA_RELEASE 04998 tolua_Error tolua_err; 04999 if ( 05000 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05001 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05002 !tolua_isnoobj(tolua_S,3,&tolua_err) 05003 ) 05004 goto tolua_lerror; 05005 else 05006 #endif 05007 { 05008 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05009 const float new_l_ankle_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 05010 #ifndef TOLUA_RELEASE 05011 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_l_ankle_roll'", NULL); 05012 #endif 05013 { 05014 self->set_l_ankle_roll(new_l_ankle_roll); 05015 } 05016 } 05017 return 0; 05018 #ifndef TOLUA_RELEASE 05019 tolua_lerror: 05020 tolua_error(tolua_S,"#ferror in function 'set_l_ankle_roll'.",&tolua_err); 05021 return 0; 05022 #endif 05023 } 05024 #endif //#ifndef TOLUA_DISABLE 05025 05026 /* method: maxlenof_l_ankle_roll of class fawkes::NaoJointStiffnessInterface */ 05027 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_ankle_roll00 05028 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_ankle_roll00(lua_State* tolua_S) 05029 { 05030 #ifndef TOLUA_RELEASE 05031 tolua_Error tolua_err; 05032 if ( 05033 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05034 !tolua_isnoobj(tolua_S,2,&tolua_err) 05035 ) 05036 goto tolua_lerror; 05037 else 05038 #endif 05039 { 05040 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05041 #ifndef TOLUA_RELEASE 05042 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_l_ankle_roll'", NULL); 05043 #endif 05044 { 05045 int tolua_ret = (int) self->maxlenof_l_ankle_roll(); 05046 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05047 } 05048 } 05049 return 1; 05050 #ifndef TOLUA_RELEASE 05051 tolua_lerror: 05052 tolua_error(tolua_S,"#ferror in function 'maxlenof_l_ankle_roll'.",&tolua_err); 05053 return 0; 05054 #endif 05055 } 05056 #endif //#ifndef TOLUA_DISABLE 05057 05058 /* method: r_shoulder_pitch of class fawkes::NaoJointStiffnessInterface */ 05059 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_shoulder_pitch00 05060 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_shoulder_pitch00(lua_State* tolua_S) 05061 { 05062 #ifndef TOLUA_RELEASE 05063 tolua_Error tolua_err; 05064 if ( 05065 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05066 !tolua_isnoobj(tolua_S,2,&tolua_err) 05067 ) 05068 goto tolua_lerror; 05069 else 05070 #endif 05071 { 05072 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05073 #ifndef TOLUA_RELEASE 05074 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_shoulder_pitch'", NULL); 05075 #endif 05076 { 05077 float tolua_ret = (float) self->r_shoulder_pitch(); 05078 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05079 } 05080 } 05081 return 1; 05082 #ifndef TOLUA_RELEASE 05083 tolua_lerror: 05084 tolua_error(tolua_S,"#ferror in function 'r_shoulder_pitch'.",&tolua_err); 05085 return 0; 05086 #endif 05087 } 05088 #endif //#ifndef TOLUA_DISABLE 05089 05090 /* method: set_r_shoulder_pitch of class fawkes::NaoJointStiffnessInterface */ 05091 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_shoulder_pitch00 05092 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_shoulder_pitch00(lua_State* tolua_S) 05093 { 05094 #ifndef TOLUA_RELEASE 05095 tolua_Error tolua_err; 05096 if ( 05097 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05098 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05099 !tolua_isnoobj(tolua_S,3,&tolua_err) 05100 ) 05101 goto tolua_lerror; 05102 else 05103 #endif 05104 { 05105 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05106 const float new_r_shoulder_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 05107 #ifndef TOLUA_RELEASE 05108 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_shoulder_pitch'", NULL); 05109 #endif 05110 { 05111 self->set_r_shoulder_pitch(new_r_shoulder_pitch); 05112 } 05113 } 05114 return 0; 05115 #ifndef TOLUA_RELEASE 05116 tolua_lerror: 05117 tolua_error(tolua_S,"#ferror in function 'set_r_shoulder_pitch'.",&tolua_err); 05118 return 0; 05119 #endif 05120 } 05121 #endif //#ifndef TOLUA_DISABLE 05122 05123 /* method: maxlenof_r_shoulder_pitch of class fawkes::NaoJointStiffnessInterface */ 05124 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_shoulder_pitch00 05125 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_shoulder_pitch00(lua_State* tolua_S) 05126 { 05127 #ifndef TOLUA_RELEASE 05128 tolua_Error tolua_err; 05129 if ( 05130 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05131 !tolua_isnoobj(tolua_S,2,&tolua_err) 05132 ) 05133 goto tolua_lerror; 05134 else 05135 #endif 05136 { 05137 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05138 #ifndef TOLUA_RELEASE 05139 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_shoulder_pitch'", NULL); 05140 #endif 05141 { 05142 int tolua_ret = (int) self->maxlenof_r_shoulder_pitch(); 05143 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05144 } 05145 } 05146 return 1; 05147 #ifndef TOLUA_RELEASE 05148 tolua_lerror: 05149 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_shoulder_pitch'.",&tolua_err); 05150 return 0; 05151 #endif 05152 } 05153 #endif //#ifndef TOLUA_DISABLE 05154 05155 /* method: r_shoulder_roll of class fawkes::NaoJointStiffnessInterface */ 05156 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_shoulder_roll00 05157 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_shoulder_roll00(lua_State* tolua_S) 05158 { 05159 #ifndef TOLUA_RELEASE 05160 tolua_Error tolua_err; 05161 if ( 05162 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05163 !tolua_isnoobj(tolua_S,2,&tolua_err) 05164 ) 05165 goto tolua_lerror; 05166 else 05167 #endif 05168 { 05169 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05170 #ifndef TOLUA_RELEASE 05171 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_shoulder_roll'", NULL); 05172 #endif 05173 { 05174 float tolua_ret = (float) self->r_shoulder_roll(); 05175 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05176 } 05177 } 05178 return 1; 05179 #ifndef TOLUA_RELEASE 05180 tolua_lerror: 05181 tolua_error(tolua_S,"#ferror in function 'r_shoulder_roll'.",&tolua_err); 05182 return 0; 05183 #endif 05184 } 05185 #endif //#ifndef TOLUA_DISABLE 05186 05187 /* method: set_r_shoulder_roll of class fawkes::NaoJointStiffnessInterface */ 05188 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_shoulder_roll00 05189 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_shoulder_roll00(lua_State* tolua_S) 05190 { 05191 #ifndef TOLUA_RELEASE 05192 tolua_Error tolua_err; 05193 if ( 05194 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05195 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05196 !tolua_isnoobj(tolua_S,3,&tolua_err) 05197 ) 05198 goto tolua_lerror; 05199 else 05200 #endif 05201 { 05202 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05203 const float new_r_shoulder_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 05204 #ifndef TOLUA_RELEASE 05205 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_shoulder_roll'", NULL); 05206 #endif 05207 { 05208 self->set_r_shoulder_roll(new_r_shoulder_roll); 05209 } 05210 } 05211 return 0; 05212 #ifndef TOLUA_RELEASE 05213 tolua_lerror: 05214 tolua_error(tolua_S,"#ferror in function 'set_r_shoulder_roll'.",&tolua_err); 05215 return 0; 05216 #endif 05217 } 05218 #endif //#ifndef TOLUA_DISABLE 05219 05220 /* method: maxlenof_r_shoulder_roll of class fawkes::NaoJointStiffnessInterface */ 05221 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_shoulder_roll00 05222 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_shoulder_roll00(lua_State* tolua_S) 05223 { 05224 #ifndef TOLUA_RELEASE 05225 tolua_Error tolua_err; 05226 if ( 05227 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05228 !tolua_isnoobj(tolua_S,2,&tolua_err) 05229 ) 05230 goto tolua_lerror; 05231 else 05232 #endif 05233 { 05234 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05235 #ifndef TOLUA_RELEASE 05236 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_shoulder_roll'", NULL); 05237 #endif 05238 { 05239 int tolua_ret = (int) self->maxlenof_r_shoulder_roll(); 05240 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05241 } 05242 } 05243 return 1; 05244 #ifndef TOLUA_RELEASE 05245 tolua_lerror: 05246 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_shoulder_roll'.",&tolua_err); 05247 return 0; 05248 #endif 05249 } 05250 #endif //#ifndef TOLUA_DISABLE 05251 05252 /* method: r_elbow_yaw of class fawkes::NaoJointStiffnessInterface */ 05253 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_elbow_yaw00 05254 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_elbow_yaw00(lua_State* tolua_S) 05255 { 05256 #ifndef TOLUA_RELEASE 05257 tolua_Error tolua_err; 05258 if ( 05259 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05260 !tolua_isnoobj(tolua_S,2,&tolua_err) 05261 ) 05262 goto tolua_lerror; 05263 else 05264 #endif 05265 { 05266 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05267 #ifndef TOLUA_RELEASE 05268 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_elbow_yaw'", NULL); 05269 #endif 05270 { 05271 float tolua_ret = (float) self->r_elbow_yaw(); 05272 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05273 } 05274 } 05275 return 1; 05276 #ifndef TOLUA_RELEASE 05277 tolua_lerror: 05278 tolua_error(tolua_S,"#ferror in function 'r_elbow_yaw'.",&tolua_err); 05279 return 0; 05280 #endif 05281 } 05282 #endif //#ifndef TOLUA_DISABLE 05283 05284 /* method: set_r_elbow_yaw of class fawkes::NaoJointStiffnessInterface */ 05285 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_elbow_yaw00 05286 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_elbow_yaw00(lua_State* tolua_S) 05287 { 05288 #ifndef TOLUA_RELEASE 05289 tolua_Error tolua_err; 05290 if ( 05291 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05292 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05293 !tolua_isnoobj(tolua_S,3,&tolua_err) 05294 ) 05295 goto tolua_lerror; 05296 else 05297 #endif 05298 { 05299 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05300 const float new_r_elbow_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 05301 #ifndef TOLUA_RELEASE 05302 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_elbow_yaw'", NULL); 05303 #endif 05304 { 05305 self->set_r_elbow_yaw(new_r_elbow_yaw); 05306 } 05307 } 05308 return 0; 05309 #ifndef TOLUA_RELEASE 05310 tolua_lerror: 05311 tolua_error(tolua_S,"#ferror in function 'set_r_elbow_yaw'.",&tolua_err); 05312 return 0; 05313 #endif 05314 } 05315 #endif //#ifndef TOLUA_DISABLE 05316 05317 /* method: maxlenof_r_elbow_yaw of class fawkes::NaoJointStiffnessInterface */ 05318 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_elbow_yaw00 05319 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_elbow_yaw00(lua_State* tolua_S) 05320 { 05321 #ifndef TOLUA_RELEASE 05322 tolua_Error tolua_err; 05323 if ( 05324 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05325 !tolua_isnoobj(tolua_S,2,&tolua_err) 05326 ) 05327 goto tolua_lerror; 05328 else 05329 #endif 05330 { 05331 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05332 #ifndef TOLUA_RELEASE 05333 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_elbow_yaw'", NULL); 05334 #endif 05335 { 05336 int tolua_ret = (int) self->maxlenof_r_elbow_yaw(); 05337 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05338 } 05339 } 05340 return 1; 05341 #ifndef TOLUA_RELEASE 05342 tolua_lerror: 05343 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_elbow_yaw'.",&tolua_err); 05344 return 0; 05345 #endif 05346 } 05347 #endif //#ifndef TOLUA_DISABLE 05348 05349 /* method: r_elbow_roll of class fawkes::NaoJointStiffnessInterface */ 05350 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_elbow_roll00 05351 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_elbow_roll00(lua_State* tolua_S) 05352 { 05353 #ifndef TOLUA_RELEASE 05354 tolua_Error tolua_err; 05355 if ( 05356 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05357 !tolua_isnoobj(tolua_S,2,&tolua_err) 05358 ) 05359 goto tolua_lerror; 05360 else 05361 #endif 05362 { 05363 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05364 #ifndef TOLUA_RELEASE 05365 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_elbow_roll'", NULL); 05366 #endif 05367 { 05368 float tolua_ret = (float) self->r_elbow_roll(); 05369 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05370 } 05371 } 05372 return 1; 05373 #ifndef TOLUA_RELEASE 05374 tolua_lerror: 05375 tolua_error(tolua_S,"#ferror in function 'r_elbow_roll'.",&tolua_err); 05376 return 0; 05377 #endif 05378 } 05379 #endif //#ifndef TOLUA_DISABLE 05380 05381 /* method: set_r_elbow_roll of class fawkes::NaoJointStiffnessInterface */ 05382 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_elbow_roll00 05383 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_elbow_roll00(lua_State* tolua_S) 05384 { 05385 #ifndef TOLUA_RELEASE 05386 tolua_Error tolua_err; 05387 if ( 05388 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05389 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05390 !tolua_isnoobj(tolua_S,3,&tolua_err) 05391 ) 05392 goto tolua_lerror; 05393 else 05394 #endif 05395 { 05396 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05397 const float new_r_elbow_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 05398 #ifndef TOLUA_RELEASE 05399 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_elbow_roll'", NULL); 05400 #endif 05401 { 05402 self->set_r_elbow_roll(new_r_elbow_roll); 05403 } 05404 } 05405 return 0; 05406 #ifndef TOLUA_RELEASE 05407 tolua_lerror: 05408 tolua_error(tolua_S,"#ferror in function 'set_r_elbow_roll'.",&tolua_err); 05409 return 0; 05410 #endif 05411 } 05412 #endif //#ifndef TOLUA_DISABLE 05413 05414 /* method: maxlenof_r_elbow_roll of class fawkes::NaoJointStiffnessInterface */ 05415 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_elbow_roll00 05416 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_elbow_roll00(lua_State* tolua_S) 05417 { 05418 #ifndef TOLUA_RELEASE 05419 tolua_Error tolua_err; 05420 if ( 05421 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05422 !tolua_isnoobj(tolua_S,2,&tolua_err) 05423 ) 05424 goto tolua_lerror; 05425 else 05426 #endif 05427 { 05428 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05429 #ifndef TOLUA_RELEASE 05430 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_elbow_roll'", NULL); 05431 #endif 05432 { 05433 int tolua_ret = (int) self->maxlenof_r_elbow_roll(); 05434 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05435 } 05436 } 05437 return 1; 05438 #ifndef TOLUA_RELEASE 05439 tolua_lerror: 05440 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_elbow_roll'.",&tolua_err); 05441 return 0; 05442 #endif 05443 } 05444 #endif //#ifndef TOLUA_DISABLE 05445 05446 /* method: r_wrist_yaw of class fawkes::NaoJointStiffnessInterface */ 05447 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_wrist_yaw00 05448 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_wrist_yaw00(lua_State* tolua_S) 05449 { 05450 #ifndef TOLUA_RELEASE 05451 tolua_Error tolua_err; 05452 if ( 05453 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05454 !tolua_isnoobj(tolua_S,2,&tolua_err) 05455 ) 05456 goto tolua_lerror; 05457 else 05458 #endif 05459 { 05460 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05461 #ifndef TOLUA_RELEASE 05462 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_wrist_yaw'", NULL); 05463 #endif 05464 { 05465 float tolua_ret = (float) self->r_wrist_yaw(); 05466 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05467 } 05468 } 05469 return 1; 05470 #ifndef TOLUA_RELEASE 05471 tolua_lerror: 05472 tolua_error(tolua_S,"#ferror in function 'r_wrist_yaw'.",&tolua_err); 05473 return 0; 05474 #endif 05475 } 05476 #endif //#ifndef TOLUA_DISABLE 05477 05478 /* method: set_r_wrist_yaw of class fawkes::NaoJointStiffnessInterface */ 05479 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_wrist_yaw00 05480 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_wrist_yaw00(lua_State* tolua_S) 05481 { 05482 #ifndef TOLUA_RELEASE 05483 tolua_Error tolua_err; 05484 if ( 05485 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05486 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05487 !tolua_isnoobj(tolua_S,3,&tolua_err) 05488 ) 05489 goto tolua_lerror; 05490 else 05491 #endif 05492 { 05493 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05494 const float new_r_wrist_yaw = ((const float) tolua_tonumber(tolua_S,2,0)); 05495 #ifndef TOLUA_RELEASE 05496 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_wrist_yaw'", NULL); 05497 #endif 05498 { 05499 self->set_r_wrist_yaw(new_r_wrist_yaw); 05500 } 05501 } 05502 return 0; 05503 #ifndef TOLUA_RELEASE 05504 tolua_lerror: 05505 tolua_error(tolua_S,"#ferror in function 'set_r_wrist_yaw'.",&tolua_err); 05506 return 0; 05507 #endif 05508 } 05509 #endif //#ifndef TOLUA_DISABLE 05510 05511 /* method: maxlenof_r_wrist_yaw of class fawkes::NaoJointStiffnessInterface */ 05512 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_wrist_yaw00 05513 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_wrist_yaw00(lua_State* tolua_S) 05514 { 05515 #ifndef TOLUA_RELEASE 05516 tolua_Error tolua_err; 05517 if ( 05518 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05519 !tolua_isnoobj(tolua_S,2,&tolua_err) 05520 ) 05521 goto tolua_lerror; 05522 else 05523 #endif 05524 { 05525 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05526 #ifndef TOLUA_RELEASE 05527 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_wrist_yaw'", NULL); 05528 #endif 05529 { 05530 int tolua_ret = (int) self->maxlenof_r_wrist_yaw(); 05531 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05532 } 05533 } 05534 return 1; 05535 #ifndef TOLUA_RELEASE 05536 tolua_lerror: 05537 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_wrist_yaw'.",&tolua_err); 05538 return 0; 05539 #endif 05540 } 05541 #endif //#ifndef TOLUA_DISABLE 05542 05543 /* method: r_hand of class fawkes::NaoJointStiffnessInterface */ 05544 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_hand00 05545 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_hand00(lua_State* tolua_S) 05546 { 05547 #ifndef TOLUA_RELEASE 05548 tolua_Error tolua_err; 05549 if ( 05550 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05551 !tolua_isnoobj(tolua_S,2,&tolua_err) 05552 ) 05553 goto tolua_lerror; 05554 else 05555 #endif 05556 { 05557 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05558 #ifndef TOLUA_RELEASE 05559 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hand'", NULL); 05560 #endif 05561 { 05562 float tolua_ret = (float) self->r_hand(); 05563 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05564 } 05565 } 05566 return 1; 05567 #ifndef TOLUA_RELEASE 05568 tolua_lerror: 05569 tolua_error(tolua_S,"#ferror in function 'r_hand'.",&tolua_err); 05570 return 0; 05571 #endif 05572 } 05573 #endif //#ifndef TOLUA_DISABLE 05574 05575 /* method: set_r_hand of class fawkes::NaoJointStiffnessInterface */ 05576 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_hand00 05577 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_hand00(lua_State* tolua_S) 05578 { 05579 #ifndef TOLUA_RELEASE 05580 tolua_Error tolua_err; 05581 if ( 05582 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05583 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05584 !tolua_isnoobj(tolua_S,3,&tolua_err) 05585 ) 05586 goto tolua_lerror; 05587 else 05588 #endif 05589 { 05590 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05591 const float new_r_hand = ((const float) tolua_tonumber(tolua_S,2,0)); 05592 #ifndef TOLUA_RELEASE 05593 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hand'", NULL); 05594 #endif 05595 { 05596 self->set_r_hand(new_r_hand); 05597 } 05598 } 05599 return 0; 05600 #ifndef TOLUA_RELEASE 05601 tolua_lerror: 05602 tolua_error(tolua_S,"#ferror in function 'set_r_hand'.",&tolua_err); 05603 return 0; 05604 #endif 05605 } 05606 #endif //#ifndef TOLUA_DISABLE 05607 05608 /* method: maxlenof_r_hand of class fawkes::NaoJointStiffnessInterface */ 05609 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_hand00 05610 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_hand00(lua_State* tolua_S) 05611 { 05612 #ifndef TOLUA_RELEASE 05613 tolua_Error tolua_err; 05614 if ( 05615 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05616 !tolua_isnoobj(tolua_S,2,&tolua_err) 05617 ) 05618 goto tolua_lerror; 05619 else 05620 #endif 05621 { 05622 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05623 #ifndef TOLUA_RELEASE 05624 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hand'", NULL); 05625 #endif 05626 { 05627 int tolua_ret = (int) self->maxlenof_r_hand(); 05628 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05629 } 05630 } 05631 return 1; 05632 #ifndef TOLUA_RELEASE 05633 tolua_lerror: 05634 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hand'.",&tolua_err); 05635 return 0; 05636 #endif 05637 } 05638 #endif //#ifndef TOLUA_DISABLE 05639 05640 /* method: r_hip_yaw_pitch of class fawkes::NaoJointStiffnessInterface */ 05641 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_hip_yaw_pitch00 05642 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_hip_yaw_pitch00(lua_State* tolua_S) 05643 { 05644 #ifndef TOLUA_RELEASE 05645 tolua_Error tolua_err; 05646 if ( 05647 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05648 !tolua_isnoobj(tolua_S,2,&tolua_err) 05649 ) 05650 goto tolua_lerror; 05651 else 05652 #endif 05653 { 05654 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05655 #ifndef TOLUA_RELEASE 05656 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hip_yaw_pitch'", NULL); 05657 #endif 05658 { 05659 float tolua_ret = (float) self->r_hip_yaw_pitch(); 05660 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05661 } 05662 } 05663 return 1; 05664 #ifndef TOLUA_RELEASE 05665 tolua_lerror: 05666 tolua_error(tolua_S,"#ferror in function 'r_hip_yaw_pitch'.",&tolua_err); 05667 return 0; 05668 #endif 05669 } 05670 #endif //#ifndef TOLUA_DISABLE 05671 05672 /* method: set_r_hip_yaw_pitch of class fawkes::NaoJointStiffnessInterface */ 05673 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_hip_yaw_pitch00 05674 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_hip_yaw_pitch00(lua_State* tolua_S) 05675 { 05676 #ifndef TOLUA_RELEASE 05677 tolua_Error tolua_err; 05678 if ( 05679 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05680 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05681 !tolua_isnoobj(tolua_S,3,&tolua_err) 05682 ) 05683 goto tolua_lerror; 05684 else 05685 #endif 05686 { 05687 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05688 const float new_r_hip_yaw_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 05689 #ifndef TOLUA_RELEASE 05690 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hip_yaw_pitch'", NULL); 05691 #endif 05692 { 05693 self->set_r_hip_yaw_pitch(new_r_hip_yaw_pitch); 05694 } 05695 } 05696 return 0; 05697 #ifndef TOLUA_RELEASE 05698 tolua_lerror: 05699 tolua_error(tolua_S,"#ferror in function 'set_r_hip_yaw_pitch'.",&tolua_err); 05700 return 0; 05701 #endif 05702 } 05703 #endif //#ifndef TOLUA_DISABLE 05704 05705 /* method: maxlenof_r_hip_yaw_pitch of class fawkes::NaoJointStiffnessInterface */ 05706 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_hip_yaw_pitch00 05707 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_hip_yaw_pitch00(lua_State* tolua_S) 05708 { 05709 #ifndef TOLUA_RELEASE 05710 tolua_Error tolua_err; 05711 if ( 05712 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05713 !tolua_isnoobj(tolua_S,2,&tolua_err) 05714 ) 05715 goto tolua_lerror; 05716 else 05717 #endif 05718 { 05719 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05720 #ifndef TOLUA_RELEASE 05721 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hip_yaw_pitch'", NULL); 05722 #endif 05723 { 05724 int tolua_ret = (int) self->maxlenof_r_hip_yaw_pitch(); 05725 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05726 } 05727 } 05728 return 1; 05729 #ifndef TOLUA_RELEASE 05730 tolua_lerror: 05731 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hip_yaw_pitch'.",&tolua_err); 05732 return 0; 05733 #endif 05734 } 05735 #endif //#ifndef TOLUA_DISABLE 05736 05737 /* method: r_hip_roll of class fawkes::NaoJointStiffnessInterface */ 05738 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_hip_roll00 05739 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_hip_roll00(lua_State* tolua_S) 05740 { 05741 #ifndef TOLUA_RELEASE 05742 tolua_Error tolua_err; 05743 if ( 05744 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05745 !tolua_isnoobj(tolua_S,2,&tolua_err) 05746 ) 05747 goto tolua_lerror; 05748 else 05749 #endif 05750 { 05751 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05752 #ifndef TOLUA_RELEASE 05753 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hip_roll'", NULL); 05754 #endif 05755 { 05756 float tolua_ret = (float) self->r_hip_roll(); 05757 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05758 } 05759 } 05760 return 1; 05761 #ifndef TOLUA_RELEASE 05762 tolua_lerror: 05763 tolua_error(tolua_S,"#ferror in function 'r_hip_roll'.",&tolua_err); 05764 return 0; 05765 #endif 05766 } 05767 #endif //#ifndef TOLUA_DISABLE 05768 05769 /* method: set_r_hip_roll of class fawkes::NaoJointStiffnessInterface */ 05770 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_hip_roll00 05771 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_hip_roll00(lua_State* tolua_S) 05772 { 05773 #ifndef TOLUA_RELEASE 05774 tolua_Error tolua_err; 05775 if ( 05776 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05777 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05778 !tolua_isnoobj(tolua_S,3,&tolua_err) 05779 ) 05780 goto tolua_lerror; 05781 else 05782 #endif 05783 { 05784 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05785 const float new_r_hip_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 05786 #ifndef TOLUA_RELEASE 05787 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hip_roll'", NULL); 05788 #endif 05789 { 05790 self->set_r_hip_roll(new_r_hip_roll); 05791 } 05792 } 05793 return 0; 05794 #ifndef TOLUA_RELEASE 05795 tolua_lerror: 05796 tolua_error(tolua_S,"#ferror in function 'set_r_hip_roll'.",&tolua_err); 05797 return 0; 05798 #endif 05799 } 05800 #endif //#ifndef TOLUA_DISABLE 05801 05802 /* method: maxlenof_r_hip_roll of class fawkes::NaoJointStiffnessInterface */ 05803 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_hip_roll00 05804 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_hip_roll00(lua_State* tolua_S) 05805 { 05806 #ifndef TOLUA_RELEASE 05807 tolua_Error tolua_err; 05808 if ( 05809 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05810 !tolua_isnoobj(tolua_S,2,&tolua_err) 05811 ) 05812 goto tolua_lerror; 05813 else 05814 #endif 05815 { 05816 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05817 #ifndef TOLUA_RELEASE 05818 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hip_roll'", NULL); 05819 #endif 05820 { 05821 int tolua_ret = (int) self->maxlenof_r_hip_roll(); 05822 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05823 } 05824 } 05825 return 1; 05826 #ifndef TOLUA_RELEASE 05827 tolua_lerror: 05828 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hip_roll'.",&tolua_err); 05829 return 0; 05830 #endif 05831 } 05832 #endif //#ifndef TOLUA_DISABLE 05833 05834 /* method: r_hip_pitch of class fawkes::NaoJointStiffnessInterface */ 05835 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_hip_pitch00 05836 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_hip_pitch00(lua_State* tolua_S) 05837 { 05838 #ifndef TOLUA_RELEASE 05839 tolua_Error tolua_err; 05840 if ( 05841 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05842 !tolua_isnoobj(tolua_S,2,&tolua_err) 05843 ) 05844 goto tolua_lerror; 05845 else 05846 #endif 05847 { 05848 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05849 #ifndef TOLUA_RELEASE 05850 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_hip_pitch'", NULL); 05851 #endif 05852 { 05853 float tolua_ret = (float) self->r_hip_pitch(); 05854 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05855 } 05856 } 05857 return 1; 05858 #ifndef TOLUA_RELEASE 05859 tolua_lerror: 05860 tolua_error(tolua_S,"#ferror in function 'r_hip_pitch'.",&tolua_err); 05861 return 0; 05862 #endif 05863 } 05864 #endif //#ifndef TOLUA_DISABLE 05865 05866 /* method: set_r_hip_pitch of class fawkes::NaoJointStiffnessInterface */ 05867 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_hip_pitch00 05868 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_hip_pitch00(lua_State* tolua_S) 05869 { 05870 #ifndef TOLUA_RELEASE 05871 tolua_Error tolua_err; 05872 if ( 05873 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05874 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05875 !tolua_isnoobj(tolua_S,3,&tolua_err) 05876 ) 05877 goto tolua_lerror; 05878 else 05879 #endif 05880 { 05881 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05882 const float new_r_hip_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 05883 #ifndef TOLUA_RELEASE 05884 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_hip_pitch'", NULL); 05885 #endif 05886 { 05887 self->set_r_hip_pitch(new_r_hip_pitch); 05888 } 05889 } 05890 return 0; 05891 #ifndef TOLUA_RELEASE 05892 tolua_lerror: 05893 tolua_error(tolua_S,"#ferror in function 'set_r_hip_pitch'.",&tolua_err); 05894 return 0; 05895 #endif 05896 } 05897 #endif //#ifndef TOLUA_DISABLE 05898 05899 /* method: maxlenof_r_hip_pitch of class fawkes::NaoJointStiffnessInterface */ 05900 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_hip_pitch00 05901 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_hip_pitch00(lua_State* tolua_S) 05902 { 05903 #ifndef TOLUA_RELEASE 05904 tolua_Error tolua_err; 05905 if ( 05906 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05907 !tolua_isnoobj(tolua_S,2,&tolua_err) 05908 ) 05909 goto tolua_lerror; 05910 else 05911 #endif 05912 { 05913 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05914 #ifndef TOLUA_RELEASE 05915 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_hip_pitch'", NULL); 05916 #endif 05917 { 05918 int tolua_ret = (int) self->maxlenof_r_hip_pitch(); 05919 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05920 } 05921 } 05922 return 1; 05923 #ifndef TOLUA_RELEASE 05924 tolua_lerror: 05925 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_hip_pitch'.",&tolua_err); 05926 return 0; 05927 #endif 05928 } 05929 #endif //#ifndef TOLUA_DISABLE 05930 05931 /* method: r_knee_pitch of class fawkes::NaoJointStiffnessInterface */ 05932 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_knee_pitch00 05933 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_knee_pitch00(lua_State* tolua_S) 05934 { 05935 #ifndef TOLUA_RELEASE 05936 tolua_Error tolua_err; 05937 if ( 05938 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05939 !tolua_isnoobj(tolua_S,2,&tolua_err) 05940 ) 05941 goto tolua_lerror; 05942 else 05943 #endif 05944 { 05945 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05946 #ifndef TOLUA_RELEASE 05947 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_knee_pitch'", NULL); 05948 #endif 05949 { 05950 float tolua_ret = (float) self->r_knee_pitch(); 05951 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 05952 } 05953 } 05954 return 1; 05955 #ifndef TOLUA_RELEASE 05956 tolua_lerror: 05957 tolua_error(tolua_S,"#ferror in function 'r_knee_pitch'.",&tolua_err); 05958 return 0; 05959 #endif 05960 } 05961 #endif //#ifndef TOLUA_DISABLE 05962 05963 /* method: set_r_knee_pitch of class fawkes::NaoJointStiffnessInterface */ 05964 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_knee_pitch00 05965 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_knee_pitch00(lua_State* tolua_S) 05966 { 05967 #ifndef TOLUA_RELEASE 05968 tolua_Error tolua_err; 05969 if ( 05970 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 05971 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 05972 !tolua_isnoobj(tolua_S,3,&tolua_err) 05973 ) 05974 goto tolua_lerror; 05975 else 05976 #endif 05977 { 05978 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 05979 const float new_r_knee_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 05980 #ifndef TOLUA_RELEASE 05981 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_knee_pitch'", NULL); 05982 #endif 05983 { 05984 self->set_r_knee_pitch(new_r_knee_pitch); 05985 } 05986 } 05987 return 0; 05988 #ifndef TOLUA_RELEASE 05989 tolua_lerror: 05990 tolua_error(tolua_S,"#ferror in function 'set_r_knee_pitch'.",&tolua_err); 05991 return 0; 05992 #endif 05993 } 05994 #endif //#ifndef TOLUA_DISABLE 05995 05996 /* method: maxlenof_r_knee_pitch of class fawkes::NaoJointStiffnessInterface */ 05997 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_knee_pitch00 05998 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_knee_pitch00(lua_State* tolua_S) 05999 { 06000 #ifndef TOLUA_RELEASE 06001 tolua_Error tolua_err; 06002 if ( 06003 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06004 !tolua_isnoobj(tolua_S,2,&tolua_err) 06005 ) 06006 goto tolua_lerror; 06007 else 06008 #endif 06009 { 06010 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06011 #ifndef TOLUA_RELEASE 06012 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_knee_pitch'", NULL); 06013 #endif 06014 { 06015 int tolua_ret = (int) self->maxlenof_r_knee_pitch(); 06016 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06017 } 06018 } 06019 return 1; 06020 #ifndef TOLUA_RELEASE 06021 tolua_lerror: 06022 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_knee_pitch'.",&tolua_err); 06023 return 0; 06024 #endif 06025 } 06026 #endif //#ifndef TOLUA_DISABLE 06027 06028 /* method: r_ankle_pitch of class fawkes::NaoJointStiffnessInterface */ 06029 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_ankle_pitch00 06030 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_ankle_pitch00(lua_State* tolua_S) 06031 { 06032 #ifndef TOLUA_RELEASE 06033 tolua_Error tolua_err; 06034 if ( 06035 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06036 !tolua_isnoobj(tolua_S,2,&tolua_err) 06037 ) 06038 goto tolua_lerror; 06039 else 06040 #endif 06041 { 06042 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06043 #ifndef TOLUA_RELEASE 06044 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_ankle_pitch'", NULL); 06045 #endif 06046 { 06047 float tolua_ret = (float) self->r_ankle_pitch(); 06048 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06049 } 06050 } 06051 return 1; 06052 #ifndef TOLUA_RELEASE 06053 tolua_lerror: 06054 tolua_error(tolua_S,"#ferror in function 'r_ankle_pitch'.",&tolua_err); 06055 return 0; 06056 #endif 06057 } 06058 #endif //#ifndef TOLUA_DISABLE 06059 06060 /* method: set_r_ankle_pitch of class fawkes::NaoJointStiffnessInterface */ 06061 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_ankle_pitch00 06062 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_ankle_pitch00(lua_State* tolua_S) 06063 { 06064 #ifndef TOLUA_RELEASE 06065 tolua_Error tolua_err; 06066 if ( 06067 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06068 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06069 !tolua_isnoobj(tolua_S,3,&tolua_err) 06070 ) 06071 goto tolua_lerror; 06072 else 06073 #endif 06074 { 06075 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06076 const float new_r_ankle_pitch = ((const float) tolua_tonumber(tolua_S,2,0)); 06077 #ifndef TOLUA_RELEASE 06078 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_ankle_pitch'", NULL); 06079 #endif 06080 { 06081 self->set_r_ankle_pitch(new_r_ankle_pitch); 06082 } 06083 } 06084 return 0; 06085 #ifndef TOLUA_RELEASE 06086 tolua_lerror: 06087 tolua_error(tolua_S,"#ferror in function 'set_r_ankle_pitch'.",&tolua_err); 06088 return 0; 06089 #endif 06090 } 06091 #endif //#ifndef TOLUA_DISABLE 06092 06093 /* method: maxlenof_r_ankle_pitch of class fawkes::NaoJointStiffnessInterface */ 06094 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_ankle_pitch00 06095 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_ankle_pitch00(lua_State* tolua_S) 06096 { 06097 #ifndef TOLUA_RELEASE 06098 tolua_Error tolua_err; 06099 if ( 06100 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06101 !tolua_isnoobj(tolua_S,2,&tolua_err) 06102 ) 06103 goto tolua_lerror; 06104 else 06105 #endif 06106 { 06107 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06108 #ifndef TOLUA_RELEASE 06109 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_ankle_pitch'", NULL); 06110 #endif 06111 { 06112 int tolua_ret = (int) self->maxlenof_r_ankle_pitch(); 06113 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06114 } 06115 } 06116 return 1; 06117 #ifndef TOLUA_RELEASE 06118 tolua_lerror: 06119 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_ankle_pitch'.",&tolua_err); 06120 return 0; 06121 #endif 06122 } 06123 #endif //#ifndef TOLUA_DISABLE 06124 06125 /* method: r_ankle_roll of class fawkes::NaoJointStiffnessInterface */ 06126 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_ankle_roll00 06127 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_ankle_roll00(lua_State* tolua_S) 06128 { 06129 #ifndef TOLUA_RELEASE 06130 tolua_Error tolua_err; 06131 if ( 06132 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06133 !tolua_isnoobj(tolua_S,2,&tolua_err) 06134 ) 06135 goto tolua_lerror; 06136 else 06137 #endif 06138 { 06139 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06140 #ifndef TOLUA_RELEASE 06141 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'r_ankle_roll'", NULL); 06142 #endif 06143 { 06144 float tolua_ret = (float) self->r_ankle_roll(); 06145 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06146 } 06147 } 06148 return 1; 06149 #ifndef TOLUA_RELEASE 06150 tolua_lerror: 06151 tolua_error(tolua_S,"#ferror in function 'r_ankle_roll'.",&tolua_err); 06152 return 0; 06153 #endif 06154 } 06155 #endif //#ifndef TOLUA_DISABLE 06156 06157 /* method: set_r_ankle_roll of class fawkes::NaoJointStiffnessInterface */ 06158 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_ankle_roll00 06159 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_ankle_roll00(lua_State* tolua_S) 06160 { 06161 #ifndef TOLUA_RELEASE 06162 tolua_Error tolua_err; 06163 if ( 06164 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06165 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06166 !tolua_isnoobj(tolua_S,3,&tolua_err) 06167 ) 06168 goto tolua_lerror; 06169 else 06170 #endif 06171 { 06172 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06173 const float new_r_ankle_roll = ((const float) tolua_tonumber(tolua_S,2,0)); 06174 #ifndef TOLUA_RELEASE 06175 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_r_ankle_roll'", NULL); 06176 #endif 06177 { 06178 self->set_r_ankle_roll(new_r_ankle_roll); 06179 } 06180 } 06181 return 0; 06182 #ifndef TOLUA_RELEASE 06183 tolua_lerror: 06184 tolua_error(tolua_S,"#ferror in function 'set_r_ankle_roll'.",&tolua_err); 06185 return 0; 06186 #endif 06187 } 06188 #endif //#ifndef TOLUA_DISABLE 06189 06190 /* method: maxlenof_r_ankle_roll of class fawkes::NaoJointStiffnessInterface */ 06191 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_ankle_roll00 06192 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_ankle_roll00(lua_State* tolua_S) 06193 { 06194 #ifndef TOLUA_RELEASE 06195 tolua_Error tolua_err; 06196 if ( 06197 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06198 !tolua_isnoobj(tolua_S,2,&tolua_err) 06199 ) 06200 goto tolua_lerror; 06201 else 06202 #endif 06203 { 06204 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06205 #ifndef TOLUA_RELEASE 06206 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_r_ankle_roll'", NULL); 06207 #endif 06208 { 06209 int tolua_ret = (int) self->maxlenof_r_ankle_roll(); 06210 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06211 } 06212 } 06213 return 1; 06214 #ifndef TOLUA_RELEASE 06215 tolua_lerror: 06216 tolua_error(tolua_S,"#ferror in function 'maxlenof_r_ankle_roll'.",&tolua_err); 06217 return 0; 06218 #endif 06219 } 06220 #endif //#ifndef TOLUA_DISABLE 06221 06222 /* method: minimum of class fawkes::NaoJointStiffnessInterface */ 06223 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_minimum00 06224 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_minimum00(lua_State* tolua_S) 06225 { 06226 #ifndef TOLUA_RELEASE 06227 tolua_Error tolua_err; 06228 if ( 06229 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06230 !tolua_isnoobj(tolua_S,2,&tolua_err) 06231 ) 06232 goto tolua_lerror; 06233 else 06234 #endif 06235 { 06236 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06237 #ifndef TOLUA_RELEASE 06238 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'minimum'", NULL); 06239 #endif 06240 { 06241 float tolua_ret = (float) self->minimum(); 06242 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06243 } 06244 } 06245 return 1; 06246 #ifndef TOLUA_RELEASE 06247 tolua_lerror: 06248 tolua_error(tolua_S,"#ferror in function 'minimum'.",&tolua_err); 06249 return 0; 06250 #endif 06251 } 06252 #endif //#ifndef TOLUA_DISABLE 06253 06254 /* method: set_minimum of class fawkes::NaoJointStiffnessInterface */ 06255 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_minimum00 06256 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_minimum00(lua_State* tolua_S) 06257 { 06258 #ifndef TOLUA_RELEASE 06259 tolua_Error tolua_err; 06260 if ( 06261 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06262 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 06263 !tolua_isnoobj(tolua_S,3,&tolua_err) 06264 ) 06265 goto tolua_lerror; 06266 else 06267 #endif 06268 { 06269 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06270 const float new_minimum = ((const float) tolua_tonumber(tolua_S,2,0)); 06271 #ifndef TOLUA_RELEASE 06272 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_minimum'", NULL); 06273 #endif 06274 { 06275 self->set_minimum(new_minimum); 06276 } 06277 } 06278 return 0; 06279 #ifndef TOLUA_RELEASE 06280 tolua_lerror: 06281 tolua_error(tolua_S,"#ferror in function 'set_minimum'.",&tolua_err); 06282 return 0; 06283 #endif 06284 } 06285 #endif //#ifndef TOLUA_DISABLE 06286 06287 /* method: maxlenof_minimum of class fawkes::NaoJointStiffnessInterface */ 06288 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_minimum00 06289 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_minimum00(lua_State* tolua_S) 06290 { 06291 #ifndef TOLUA_RELEASE 06292 tolua_Error tolua_err; 06293 if ( 06294 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06295 !tolua_isnoobj(tolua_S,2,&tolua_err) 06296 ) 06297 goto tolua_lerror; 06298 else 06299 #endif 06300 { 06301 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06302 #ifndef TOLUA_RELEASE 06303 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'maxlenof_minimum'", NULL); 06304 #endif 06305 { 06306 int tolua_ret = (int) self->maxlenof_minimum(); 06307 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06308 } 06309 } 06310 return 1; 06311 #ifndef TOLUA_RELEASE 06312 tolua_lerror: 06313 tolua_error(tolua_S,"#ferror in function 'maxlenof_minimum'.",&tolua_err); 06314 return 0; 06315 #endif 06316 } 06317 #endif //#ifndef TOLUA_DISABLE 06318 06319 /* method: oftype of class fawkes::NaoJointStiffnessInterface */ 06320 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_oftype00 06321 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_oftype00(lua_State* tolua_S) 06322 { 06323 #ifndef TOLUA_RELEASE 06324 tolua_Error tolua_err; 06325 if ( 06326 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06327 !tolua_isstring(tolua_S,2,0,&tolua_err) || 06328 !tolua_isnoobj(tolua_S,3,&tolua_err) 06329 ) 06330 goto tolua_lerror; 06331 else 06332 #endif 06333 { 06334 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06335 const char* interface_type = ((const char*) tolua_tostring(tolua_S,2,0)); 06336 #ifndef TOLUA_RELEASE 06337 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'oftype'", NULL); 06338 #endif 06339 { 06340 bool tolua_ret = (bool) self->oftype(interface_type); 06341 tolua_pushboolean(tolua_S,(bool)tolua_ret); 06342 } 06343 } 06344 return 1; 06345 #ifndef TOLUA_RELEASE 06346 tolua_lerror: 06347 tolua_error(tolua_S,"#ferror in function 'oftype'.",&tolua_err); 06348 return 0; 06349 #endif 06350 } 06351 #endif //#ifndef TOLUA_DISABLE 06352 06353 /* method: datachunk of class fawkes::NaoJointStiffnessInterface */ 06354 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_datachunk00 06355 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_datachunk00(lua_State* tolua_S) 06356 { 06357 #ifndef TOLUA_RELEASE 06358 tolua_Error tolua_err; 06359 if ( 06360 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06361 !tolua_isnoobj(tolua_S,2,&tolua_err) 06362 ) 06363 goto tolua_lerror; 06364 else 06365 #endif 06366 { 06367 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06368 #ifndef TOLUA_RELEASE 06369 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'datachunk'", NULL); 06370 #endif 06371 { 06372 const void* tolua_ret = (const void*) self->datachunk(); 06373 tolua_pushuserdata(tolua_S,(void*)tolua_ret); 06374 } 06375 } 06376 return 1; 06377 #ifndef TOLUA_RELEASE 06378 tolua_lerror: 06379 tolua_error(tolua_S,"#ferror in function 'datachunk'.",&tolua_err); 06380 return 0; 06381 #endif 06382 } 06383 #endif //#ifndef TOLUA_DISABLE 06384 06385 /* method: datasize of class fawkes::NaoJointStiffnessInterface */ 06386 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_datasize00 06387 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_datasize00(lua_State* tolua_S) 06388 { 06389 #ifndef TOLUA_RELEASE 06390 tolua_Error tolua_err; 06391 if ( 06392 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06393 !tolua_isnoobj(tolua_S,2,&tolua_err) 06394 ) 06395 goto tolua_lerror; 06396 else 06397 #endif 06398 { 06399 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06400 #ifndef TOLUA_RELEASE 06401 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'datasize'", NULL); 06402 #endif 06403 { 06404 unsigned int tolua_ret = (unsigned int) self->datasize(); 06405 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06406 } 06407 } 06408 return 1; 06409 #ifndef TOLUA_RELEASE 06410 tolua_lerror: 06411 tolua_error(tolua_S,"#ferror in function 'datasize'.",&tolua_err); 06412 return 0; 06413 #endif 06414 } 06415 #endif //#ifndef TOLUA_DISABLE 06416 06417 /* method: type of class fawkes::NaoJointStiffnessInterface */ 06418 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_type00 06419 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_type00(lua_State* tolua_S) 06420 { 06421 #ifndef TOLUA_RELEASE 06422 tolua_Error tolua_err; 06423 if ( 06424 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06425 !tolua_isnoobj(tolua_S,2,&tolua_err) 06426 ) 06427 goto tolua_lerror; 06428 else 06429 #endif 06430 { 06431 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06432 #ifndef TOLUA_RELEASE 06433 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'type'", NULL); 06434 #endif 06435 { 06436 const char* tolua_ret = (const char*) self->type(); 06437 tolua_pushstring(tolua_S,(const char*)tolua_ret); 06438 } 06439 } 06440 return 1; 06441 #ifndef TOLUA_RELEASE 06442 tolua_lerror: 06443 tolua_error(tolua_S,"#ferror in function 'type'.",&tolua_err); 06444 return 0; 06445 #endif 06446 } 06447 #endif //#ifndef TOLUA_DISABLE 06448 06449 /* method: id of class fawkes::NaoJointStiffnessInterface */ 06450 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_id00 06451 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_id00(lua_State* tolua_S) 06452 { 06453 #ifndef TOLUA_RELEASE 06454 tolua_Error tolua_err; 06455 if ( 06456 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06457 !tolua_isnoobj(tolua_S,2,&tolua_err) 06458 ) 06459 goto tolua_lerror; 06460 else 06461 #endif 06462 { 06463 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06464 #ifndef TOLUA_RELEASE 06465 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'id'", NULL); 06466 #endif 06467 { 06468 const char* tolua_ret = (const char*) self->id(); 06469 tolua_pushstring(tolua_S,(const char*)tolua_ret); 06470 } 06471 } 06472 return 1; 06473 #ifndef TOLUA_RELEASE 06474 tolua_lerror: 06475 tolua_error(tolua_S,"#ferror in function 'id'.",&tolua_err); 06476 return 0; 06477 #endif 06478 } 06479 #endif //#ifndef TOLUA_DISABLE 06480 06481 /* method: uid of class fawkes::NaoJointStiffnessInterface */ 06482 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_uid00 06483 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_uid00(lua_State* tolua_S) 06484 { 06485 #ifndef TOLUA_RELEASE 06486 tolua_Error tolua_err; 06487 if ( 06488 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06489 !tolua_isnoobj(tolua_S,2,&tolua_err) 06490 ) 06491 goto tolua_lerror; 06492 else 06493 #endif 06494 { 06495 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06496 #ifndef TOLUA_RELEASE 06497 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'uid'", NULL); 06498 #endif 06499 { 06500 const char* tolua_ret = (const char*) self->uid(); 06501 tolua_pushstring(tolua_S,(const char*)tolua_ret); 06502 } 06503 } 06504 return 1; 06505 #ifndef TOLUA_RELEASE 06506 tolua_lerror: 06507 tolua_error(tolua_S,"#ferror in function 'uid'.",&tolua_err); 06508 return 0; 06509 #endif 06510 } 06511 #endif //#ifndef TOLUA_DISABLE 06512 06513 /* method: serial of class fawkes::NaoJointStiffnessInterface */ 06514 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_serial00 06515 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_serial00(lua_State* tolua_S) 06516 { 06517 #ifndef TOLUA_RELEASE 06518 tolua_Error tolua_err; 06519 if ( 06520 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06521 !tolua_isnoobj(tolua_S,2,&tolua_err) 06522 ) 06523 goto tolua_lerror; 06524 else 06525 #endif 06526 { 06527 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06528 #ifndef TOLUA_RELEASE 06529 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'serial'", NULL); 06530 #endif 06531 { 06532 unsigned int tolua_ret = (unsigned int) self->serial(); 06533 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06534 } 06535 } 06536 return 1; 06537 #ifndef TOLUA_RELEASE 06538 tolua_lerror: 06539 tolua_error(tolua_S,"#ferror in function 'serial'.",&tolua_err); 06540 return 0; 06541 #endif 06542 } 06543 #endif //#ifndef TOLUA_DISABLE 06544 06545 /* method: mem_serial of class fawkes::NaoJointStiffnessInterface */ 06546 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_mem_serial00 06547 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_mem_serial00(lua_State* tolua_S) 06548 { 06549 #ifndef TOLUA_RELEASE 06550 tolua_Error tolua_err; 06551 if ( 06552 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06553 !tolua_isnoobj(tolua_S,2,&tolua_err) 06554 ) 06555 goto tolua_lerror; 06556 else 06557 #endif 06558 { 06559 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06560 #ifndef TOLUA_RELEASE 06561 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'mem_serial'", NULL); 06562 #endif 06563 { 06564 unsigned int tolua_ret = (unsigned int) self->mem_serial(); 06565 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06566 } 06567 } 06568 return 1; 06569 #ifndef TOLUA_RELEASE 06570 tolua_lerror: 06571 tolua_error(tolua_S,"#ferror in function 'mem_serial'.",&tolua_err); 06572 return 0; 06573 #endif 06574 } 06575 #endif //#ifndef TOLUA_DISABLE 06576 06577 /* method: operator== of class fawkes::NaoJointStiffnessInterface */ 06578 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface__eq00 06579 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface__eq00(lua_State* tolua_S) 06580 { 06581 #ifndef TOLUA_RELEASE 06582 tolua_Error tolua_err; 06583 if ( 06584 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06585 (tolua_isvaluenil(tolua_S,2,&tolua_err) || !tolua_isusertype(tolua_S,2,"Interface",0,&tolua_err)) || 06586 !tolua_isnoobj(tolua_S,3,&tolua_err) 06587 ) 06588 goto tolua_lerror; 06589 else 06590 #endif 06591 { 06592 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06593 Interface* comp = ((Interface*) tolua_tousertype(tolua_S,2,0)); 06594 #ifndef TOLUA_RELEASE 06595 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'operator=='", NULL); 06596 #endif 06597 { 06598 bool tolua_ret = (bool) self->operator==(*comp); 06599 tolua_pushboolean(tolua_S,(bool)tolua_ret); 06600 } 06601 } 06602 return 1; 06603 #ifndef TOLUA_RELEASE 06604 tolua_lerror: 06605 tolua_error(tolua_S,"#ferror in function '.eq'.",&tolua_err); 06606 return 0; 06607 #endif 06608 } 06609 #endif //#ifndef TOLUA_DISABLE 06610 06611 /* method: hash of class fawkes::NaoJointStiffnessInterface */ 06612 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_hash00 06613 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_hash00(lua_State* tolua_S) 06614 { 06615 #ifndef TOLUA_RELEASE 06616 tolua_Error tolua_err; 06617 if ( 06618 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06619 !tolua_isnoobj(tolua_S,2,&tolua_err) 06620 ) 06621 goto tolua_lerror; 06622 else 06623 #endif 06624 { 06625 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06626 #ifndef TOLUA_RELEASE 06627 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash'", NULL); 06628 #endif 06629 { 06630 unsigned const char* tolua_ret = ( unsigned const char*) self->hash(); 06631 tolua_pushstring(tolua_S,(const char*)tolua_ret); 06632 } 06633 } 06634 return 1; 06635 #ifndef TOLUA_RELEASE 06636 tolua_lerror: 06637 tolua_error(tolua_S,"#ferror in function 'hash'.",&tolua_err); 06638 return 0; 06639 #endif 06640 } 06641 #endif //#ifndef TOLUA_DISABLE 06642 06643 /* method: hash_size of class fawkes::NaoJointStiffnessInterface */ 06644 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_hash_size00 06645 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_hash_size00(lua_State* tolua_S) 06646 { 06647 #ifndef TOLUA_RELEASE 06648 tolua_Error tolua_err; 06649 if ( 06650 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06651 !tolua_isnoobj(tolua_S,2,&tolua_err) 06652 ) 06653 goto tolua_lerror; 06654 else 06655 #endif 06656 { 06657 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06658 #ifndef TOLUA_RELEASE 06659 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash_size'", NULL); 06660 #endif 06661 { 06662 int tolua_ret = (int) self->hash_size(); 06663 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06664 } 06665 } 06666 return 1; 06667 #ifndef TOLUA_RELEASE 06668 tolua_lerror: 06669 tolua_error(tolua_S,"#ferror in function 'hash_size'.",&tolua_err); 06670 return 0; 06671 #endif 06672 } 06673 #endif //#ifndef TOLUA_DISABLE 06674 06675 /* method: hash_printable of class fawkes::NaoJointStiffnessInterface */ 06676 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_hash_printable00 06677 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_hash_printable00(lua_State* tolua_S) 06678 { 06679 #ifndef TOLUA_RELEASE 06680 tolua_Error tolua_err; 06681 if ( 06682 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06683 !tolua_isnoobj(tolua_S,2,&tolua_err) 06684 ) 06685 goto tolua_lerror; 06686 else 06687 #endif 06688 { 06689 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06690 #ifndef TOLUA_RELEASE 06691 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'hash_printable'", NULL); 06692 #endif 06693 { 06694 const char* tolua_ret = (const char*) self->hash_printable(); 06695 tolua_pushstring(tolua_S,(const char*)tolua_ret); 06696 } 06697 } 06698 return 1; 06699 #ifndef TOLUA_RELEASE 06700 tolua_lerror: 06701 tolua_error(tolua_S,"#ferror in function 'hash_printable'.",&tolua_err); 06702 return 0; 06703 #endif 06704 } 06705 #endif //#ifndef TOLUA_DISABLE 06706 06707 /* method: is_writer of class fawkes::NaoJointStiffnessInterface */ 06708 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_is_writer00 06709 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_is_writer00(lua_State* tolua_S) 06710 { 06711 #ifndef TOLUA_RELEASE 06712 tolua_Error tolua_err; 06713 if ( 06714 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06715 !tolua_isnoobj(tolua_S,2,&tolua_err) 06716 ) 06717 goto tolua_lerror; 06718 else 06719 #endif 06720 { 06721 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06722 #ifndef TOLUA_RELEASE 06723 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'is_writer'", NULL); 06724 #endif 06725 { 06726 bool tolua_ret = (bool) self->is_writer(); 06727 tolua_pushboolean(tolua_S,(bool)tolua_ret); 06728 } 06729 } 06730 return 1; 06731 #ifndef TOLUA_RELEASE 06732 tolua_lerror: 06733 tolua_error(tolua_S,"#ferror in function 'is_writer'.",&tolua_err); 06734 return 0; 06735 #endif 06736 } 06737 #endif //#ifndef TOLUA_DISABLE 06738 06739 /* method: set_from_chunk of class fawkes::NaoJointStiffnessInterface */ 06740 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_from_chunk00 06741 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_from_chunk00(lua_State* tolua_S) 06742 { 06743 #ifndef TOLUA_RELEASE 06744 tolua_Error tolua_err; 06745 if ( 06746 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06747 !tolua_isuserdata(tolua_S,2,0,&tolua_err) || 06748 !tolua_isnoobj(tolua_S,3,&tolua_err) 06749 ) 06750 goto tolua_lerror; 06751 else 06752 #endif 06753 { 06754 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06755 void* chunk = ((void*) tolua_touserdata(tolua_S,2,0)); 06756 #ifndef TOLUA_RELEASE 06757 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'set_from_chunk'", NULL); 06758 #endif 06759 { 06760 self->set_from_chunk(chunk); 06761 } 06762 } 06763 return 0; 06764 #ifndef TOLUA_RELEASE 06765 tolua_lerror: 06766 tolua_error(tolua_S,"#ferror in function 'set_from_chunk'.",&tolua_err); 06767 return 0; 06768 #endif 06769 } 06770 #endif //#ifndef TOLUA_DISABLE 06771 06772 /* method: create_message of class fawkes::NaoJointStiffnessInterface */ 06773 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_create_message00 06774 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_create_message00(lua_State* tolua_S) 06775 { 06776 #ifndef TOLUA_RELEASE 06777 tolua_Error tolua_err; 06778 if ( 06779 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06780 !tolua_isstring(tolua_S,2,0,&tolua_err) || 06781 !tolua_isnoobj(tolua_S,3,&tolua_err) 06782 ) 06783 goto tolua_lerror; 06784 else 06785 #endif 06786 { 06787 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06788 const char* type = ((const char*) tolua_tostring(tolua_S,2,0)); 06789 #ifndef TOLUA_RELEASE 06790 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'create_message'", NULL); 06791 #endif 06792 { 06793 Message* tolua_ret = (Message*) self->create_message(type); 06794 tolua_pushusertype(tolua_S,(void*)tolua_ret,"Message"); 06795 } 06796 } 06797 return 1; 06798 #ifndef TOLUA_RELEASE 06799 tolua_lerror: 06800 tolua_error(tolua_S,"#ferror in function 'create_message'.",&tolua_err); 06801 return 0; 06802 #endif 06803 } 06804 #endif //#ifndef TOLUA_DISABLE 06805 06806 /* method: read of class fawkes::NaoJointStiffnessInterface */ 06807 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_read00 06808 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_read00(lua_State* tolua_S) 06809 { 06810 #ifndef TOLUA_RELEASE 06811 tolua_Error tolua_err; 06812 if ( 06813 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06814 !tolua_isnoobj(tolua_S,2,&tolua_err) 06815 ) 06816 goto tolua_lerror; 06817 else 06818 #endif 06819 { 06820 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06821 #ifndef TOLUA_RELEASE 06822 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'read'", NULL); 06823 #endif 06824 { 06825 self->read(); 06826 } 06827 } 06828 return 0; 06829 #ifndef TOLUA_RELEASE 06830 tolua_lerror: 06831 tolua_error(tolua_S,"#ferror in function 'read'.",&tolua_err); 06832 return 0; 06833 #endif 06834 } 06835 #endif //#ifndef TOLUA_DISABLE 06836 06837 /* method: write of class fawkes::NaoJointStiffnessInterface */ 06838 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_write00 06839 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_write00(lua_State* tolua_S) 06840 { 06841 #ifndef TOLUA_RELEASE 06842 tolua_Error tolua_err; 06843 if ( 06844 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06845 !tolua_isnoobj(tolua_S,2,&tolua_err) 06846 ) 06847 goto tolua_lerror; 06848 else 06849 #endif 06850 { 06851 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06852 #ifndef TOLUA_RELEASE 06853 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'write'", NULL); 06854 #endif 06855 { 06856 self->write(); 06857 } 06858 } 06859 return 0; 06860 #ifndef TOLUA_RELEASE 06861 tolua_lerror: 06862 tolua_error(tolua_S,"#ferror in function 'write'.",&tolua_err); 06863 return 0; 06864 #endif 06865 } 06866 #endif //#ifndef TOLUA_DISABLE 06867 06868 /* method: has_writer of class fawkes::NaoJointStiffnessInterface */ 06869 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_has_writer00 06870 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_has_writer00(lua_State* tolua_S) 06871 { 06872 #ifndef TOLUA_RELEASE 06873 tolua_Error tolua_err; 06874 if ( 06875 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06876 !tolua_isnoobj(tolua_S,2,&tolua_err) 06877 ) 06878 goto tolua_lerror; 06879 else 06880 #endif 06881 { 06882 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06883 #ifndef TOLUA_RELEASE 06884 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'has_writer'", NULL); 06885 #endif 06886 { 06887 bool tolua_ret = (bool) self->has_writer(); 06888 tolua_pushboolean(tolua_S,(bool)tolua_ret); 06889 } 06890 } 06891 return 1; 06892 #ifndef TOLUA_RELEASE 06893 tolua_lerror: 06894 tolua_error(tolua_S,"#ferror in function 'has_writer'.",&tolua_err); 06895 return 0; 06896 #endif 06897 } 06898 #endif //#ifndef TOLUA_DISABLE 06899 06900 /* method: num_readers of class fawkes::NaoJointStiffnessInterface */ 06901 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_num_readers00 06902 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_num_readers00(lua_State* tolua_S) 06903 { 06904 #ifndef TOLUA_RELEASE 06905 tolua_Error tolua_err; 06906 if ( 06907 !tolua_isusertype(tolua_S,1,"const fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06908 !tolua_isnoobj(tolua_S,2,&tolua_err) 06909 ) 06910 goto tolua_lerror; 06911 else 06912 #endif 06913 { 06914 const fawkes::NaoJointStiffnessInterface* self = (const fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06915 #ifndef TOLUA_RELEASE 06916 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'num_readers'", NULL); 06917 #endif 06918 { 06919 unsigned int tolua_ret = (unsigned int) self->num_readers(); 06920 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06921 } 06922 } 06923 return 1; 06924 #ifndef TOLUA_RELEASE 06925 tolua_lerror: 06926 tolua_error(tolua_S,"#ferror in function 'num_readers'.",&tolua_err); 06927 return 0; 06928 #endif 06929 } 06930 #endif //#ifndef TOLUA_DISABLE 06931 06932 /* method: msgq_enqueue_copy of class fawkes::NaoJointStiffnessInterface */ 06933 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_enqueue_copy00 06934 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_enqueue_copy00(lua_State* tolua_S) 06935 { 06936 #ifndef TOLUA_RELEASE 06937 tolua_Error tolua_err; 06938 if ( 06939 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06940 !tolua_isusertype(tolua_S,2,"Message",0,&tolua_err) || 06941 !tolua_isnoobj(tolua_S,3,&tolua_err) 06942 ) 06943 goto tolua_lerror; 06944 else 06945 #endif 06946 { 06947 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06948 Message* message = ((Message*) tolua_tousertype(tolua_S,2,0)); 06949 #ifndef TOLUA_RELEASE 06950 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_enqueue_copy'", NULL); 06951 #endif 06952 { 06953 unsigned int tolua_ret = (unsigned int) self->msgq_enqueue_copy(message); 06954 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 06955 } 06956 } 06957 return 1; 06958 #ifndef TOLUA_RELEASE 06959 tolua_lerror: 06960 tolua_error(tolua_S,"#ferror in function 'msgq_enqueue_copy'.",&tolua_err); 06961 return 0; 06962 #endif 06963 } 06964 #endif //#ifndef TOLUA_DISABLE 06965 06966 /* method: msgq_remove of class fawkes::NaoJointStiffnessInterface */ 06967 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_remove00 06968 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_remove00(lua_State* tolua_S) 06969 { 06970 #ifndef TOLUA_RELEASE 06971 tolua_Error tolua_err; 06972 if ( 06973 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 06974 !tolua_isusertype(tolua_S,2,"Message",0,&tolua_err) || 06975 !tolua_isnoobj(tolua_S,3,&tolua_err) 06976 ) 06977 goto tolua_lerror; 06978 else 06979 #endif 06980 { 06981 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 06982 Message* message = ((Message*) tolua_tousertype(tolua_S,2,0)); 06983 #ifndef TOLUA_RELEASE 06984 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_remove'", NULL); 06985 #endif 06986 { 06987 self->msgq_remove(message); 06988 } 06989 } 06990 return 0; 06991 #ifndef TOLUA_RELEASE 06992 tolua_lerror: 06993 tolua_error(tolua_S,"#ferror in function 'msgq_remove'.",&tolua_err); 06994 return 0; 06995 #endif 06996 } 06997 #endif //#ifndef TOLUA_DISABLE 06998 06999 /* method: msgq_remove of class fawkes::NaoJointStiffnessInterface */ 07000 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_remove01 07001 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_remove01(lua_State* tolua_S) 07002 { 07003 tolua_Error tolua_err; 07004 if ( 07005 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 07006 !tolua_isnumber(tolua_S,2,0,&tolua_err) || 07007 !tolua_isnoobj(tolua_S,3,&tolua_err) 07008 ) 07009 goto tolua_lerror; 07010 else 07011 { 07012 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 07013 unsigned int message_id = ((unsigned int) tolua_tonumber(tolua_S,2,0)); 07014 #ifndef TOLUA_RELEASE 07015 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_remove'", NULL); 07016 #endif 07017 { 07018 self->msgq_remove(message_id); 07019 } 07020 } 07021 return 0; 07022 tolua_lerror: 07023 return tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_remove00(tolua_S); 07024 } 07025 #endif //#ifndef TOLUA_DISABLE 07026 07027 /* method: msgq_size of class fawkes::NaoJointStiffnessInterface */ 07028 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_size00 07029 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_size00(lua_State* tolua_S) 07030 { 07031 #ifndef TOLUA_RELEASE 07032 tolua_Error tolua_err; 07033 if ( 07034 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 07035 !tolua_isnoobj(tolua_S,2,&tolua_err) 07036 ) 07037 goto tolua_lerror; 07038 else 07039 #endif 07040 { 07041 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 07042 #ifndef TOLUA_RELEASE 07043 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_size'", NULL); 07044 #endif 07045 { 07046 unsigned int tolua_ret = (unsigned int) self->msgq_size(); 07047 tolua_pushnumber(tolua_S,(lua_Number)tolua_ret); 07048 } 07049 } 07050 return 1; 07051 #ifndef TOLUA_RELEASE 07052 tolua_lerror: 07053 tolua_error(tolua_S,"#ferror in function 'msgq_size'.",&tolua_err); 07054 return 0; 07055 #endif 07056 } 07057 #endif //#ifndef TOLUA_DISABLE 07058 07059 /* method: msgq_flush of class fawkes::NaoJointStiffnessInterface */ 07060 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_flush00 07061 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_flush00(lua_State* tolua_S) 07062 { 07063 #ifndef TOLUA_RELEASE 07064 tolua_Error tolua_err; 07065 if ( 07066 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 07067 !tolua_isnoobj(tolua_S,2,&tolua_err) 07068 ) 07069 goto tolua_lerror; 07070 else 07071 #endif 07072 { 07073 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 07074 #ifndef TOLUA_RELEASE 07075 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_flush'", NULL); 07076 #endif 07077 { 07078 self->msgq_flush(); 07079 } 07080 } 07081 return 0; 07082 #ifndef TOLUA_RELEASE 07083 tolua_lerror: 07084 tolua_error(tolua_S,"#ferror in function 'msgq_flush'.",&tolua_err); 07085 return 0; 07086 #endif 07087 } 07088 #endif //#ifndef TOLUA_DISABLE 07089 07090 /* method: msgq_lock of class fawkes::NaoJointStiffnessInterface */ 07091 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_lock00 07092 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_lock00(lua_State* tolua_S) 07093 { 07094 #ifndef TOLUA_RELEASE 07095 tolua_Error tolua_err; 07096 if ( 07097 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 07098 !tolua_isnoobj(tolua_S,2,&tolua_err) 07099 ) 07100 goto tolua_lerror; 07101 else 07102 #endif 07103 { 07104 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 07105 #ifndef TOLUA_RELEASE 07106 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_lock'", NULL); 07107 #endif 07108 { 07109 self->msgq_lock(); 07110 } 07111 } 07112 return 0; 07113 #ifndef TOLUA_RELEASE 07114 tolua_lerror: 07115 tolua_error(tolua_S,"#ferror in function 'msgq_lock'.",&tolua_err); 07116 return 0; 07117 #endif 07118 } 07119 #endif //#ifndef TOLUA_DISABLE 07120 07121 /* method: msgq_try_lock of class fawkes::NaoJointStiffnessInterface */ 07122 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_try_lock00 07123 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_try_lock00(lua_State* tolua_S) 07124 { 07125 #ifndef TOLUA_RELEASE 07126 tolua_Error tolua_err; 07127 if ( 07128 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 07129 !tolua_isnoobj(tolua_S,2,&tolua_err) 07130 ) 07131 goto tolua_lerror; 07132 else 07133 #endif 07134 { 07135 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 07136 #ifndef TOLUA_RELEASE 07137 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_try_lock'", NULL); 07138 #endif 07139 { 07140 bool tolua_ret = (bool) self->msgq_try_lock(); 07141 tolua_pushboolean(tolua_S,(bool)tolua_ret); 07142 } 07143 } 07144 return 1; 07145 #ifndef TOLUA_RELEASE 07146 tolua_lerror: 07147 tolua_error(tolua_S,"#ferror in function 'msgq_try_lock'.",&tolua_err); 07148 return 0; 07149 #endif 07150 } 07151 #endif //#ifndef TOLUA_DISABLE 07152 07153 /* method: msgq_unlock of class fawkes::NaoJointStiffnessInterface */ 07154 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_unlock00 07155 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_unlock00(lua_State* tolua_S) 07156 { 07157 #ifndef TOLUA_RELEASE 07158 tolua_Error tolua_err; 07159 if ( 07160 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 07161 !tolua_isnoobj(tolua_S,2,&tolua_err) 07162 ) 07163 goto tolua_lerror; 07164 else 07165 #endif 07166 { 07167 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 07168 #ifndef TOLUA_RELEASE 07169 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_unlock'", NULL); 07170 #endif 07171 { 07172 self->msgq_unlock(); 07173 } 07174 } 07175 return 0; 07176 #ifndef TOLUA_RELEASE 07177 tolua_lerror: 07178 tolua_error(tolua_S,"#ferror in function 'msgq_unlock'.",&tolua_err); 07179 return 0; 07180 #endif 07181 } 07182 #endif //#ifndef TOLUA_DISABLE 07183 07184 /* method: msgq_pop of class fawkes::NaoJointStiffnessInterface */ 07185 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_pop00 07186 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_pop00(lua_State* tolua_S) 07187 { 07188 #ifndef TOLUA_RELEASE 07189 tolua_Error tolua_err; 07190 if ( 07191 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 07192 !tolua_isnoobj(tolua_S,2,&tolua_err) 07193 ) 07194 goto tolua_lerror; 07195 else 07196 #endif 07197 { 07198 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 07199 #ifndef TOLUA_RELEASE 07200 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_pop'", NULL); 07201 #endif 07202 { 07203 self->msgq_pop(); 07204 } 07205 } 07206 return 0; 07207 #ifndef TOLUA_RELEASE 07208 tolua_lerror: 07209 tolua_error(tolua_S,"#ferror in function 'msgq_pop'.",&tolua_err); 07210 return 0; 07211 #endif 07212 } 07213 #endif //#ifndef TOLUA_DISABLE 07214 07215 /* method: msgq_first of class fawkes::NaoJointStiffnessInterface */ 07216 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_first00 07217 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_first00(lua_State* tolua_S) 07218 { 07219 #ifndef TOLUA_RELEASE 07220 tolua_Error tolua_err; 07221 if ( 07222 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 07223 !tolua_isnoobj(tolua_S,2,&tolua_err) 07224 ) 07225 goto tolua_lerror; 07226 else 07227 #endif 07228 { 07229 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 07230 #ifndef TOLUA_RELEASE 07231 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_first'", NULL); 07232 #endif 07233 { 07234 Message* tolua_ret = (Message*) self->msgq_first(); 07235 tolua_pushusertype(tolua_S,(void*)tolua_ret,"Message"); 07236 } 07237 } 07238 return 1; 07239 #ifndef TOLUA_RELEASE 07240 tolua_lerror: 07241 tolua_error(tolua_S,"#ferror in function 'msgq_first'.",&tolua_err); 07242 return 0; 07243 #endif 07244 } 07245 #endif //#ifndef TOLUA_DISABLE 07246 07247 /* method: msgq_empty of class fawkes::NaoJointStiffnessInterface */ 07248 #ifndef TOLUA_DISABLE_tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_empty00 07249 static int tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_empty00(lua_State* tolua_S) 07250 { 07251 #ifndef TOLUA_RELEASE 07252 tolua_Error tolua_err; 07253 if ( 07254 !tolua_isusertype(tolua_S,1,"fawkes::NaoJointStiffnessInterface",0,&tolua_err) || 07255 !tolua_isnoobj(tolua_S,2,&tolua_err) 07256 ) 07257 goto tolua_lerror; 07258 else 07259 #endif 07260 { 07261 fawkes::NaoJointStiffnessInterface* self = (fawkes::NaoJointStiffnessInterface*) tolua_tousertype(tolua_S,1,0); 07262 #ifndef TOLUA_RELEASE 07263 if (!self) tolua_error(tolua_S,"invalid 'self' in function 'msgq_empty'", NULL); 07264 #endif 07265 { 07266 bool tolua_ret = (bool) self->msgq_empty(); 07267 tolua_pushboolean(tolua_S,(bool)tolua_ret); 07268 } 07269 } 07270 return 1; 07271 #ifndef TOLUA_RELEASE 07272 tolua_lerror: 07273 tolua_error(tolua_S,"#ferror in function 'msgq_empty'.",&tolua_err); 07274 return 0; 07275 #endif 07276 } 07277 #endif //#ifndef TOLUA_DISABLE 07278 07279 /* Open function */ 07280 TOLUA_API int tolua_interfaces_NaoJointStiffnessInterface_open (lua_State* tolua_S) 07281 { 07282 tolua_open(tolua_S); 07283 tolua_reg_types(tolua_S); 07284 tolua_module(tolua_S,NULL,0); 07285 tolua_beginmodule(tolua_S,NULL); 07286 tolua_module(tolua_S,"fawkes",0); 07287 tolua_beginmodule(tolua_S,"fawkes"); 07288 tolua_cclass(tolua_S,"NaoJointStiffnessInterface","fawkes::NaoJointStiffnessInterface","Interface",NULL); 07289 tolua_beginmodule(tolua_S,"NaoJointStiffnessInterface"); 07290 #ifdef __cplusplus 07291 tolua_cclass(tolua_S,"SetStiffnessMessage","fawkes::NaoJointStiffnessInterface::SetStiffnessMessage","Message",tolua_collect_fawkes__NaoJointStiffnessInterface__SetStiffnessMessage); 07292 #else 07293 tolua_cclass(tolua_S,"SetStiffnessMessage","fawkes::NaoJointStiffnessInterface::SetStiffnessMessage","Message",NULL); 07294 #endif 07295 tolua_beginmodule(tolua_S,"SetStiffnessMessage"); 07296 tolua_function(tolua_S,"new",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new00); 07297 tolua_function(tolua_S,"new_local",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new00_local); 07298 tolua_function(tolua_S,".call",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new00_local); 07299 tolua_function(tolua_S,"new",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new01); 07300 tolua_function(tolua_S,"new_local",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new01_local); 07301 tolua_function(tolua_S,".call",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_new01_local); 07302 tolua_function(tolua_S,"delete",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_delete00); 07303 tolua_function(tolua_S,"servo",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_servo00); 07304 tolua_function(tolua_S,"set_servo",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_set_servo00); 07305 tolua_function(tolua_S,"maxlenof_servo",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_maxlenof_servo00); 07306 tolua_function(tolua_S,"value",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_value00); 07307 tolua_function(tolua_S,"set_value",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_set_value00); 07308 tolua_function(tolua_S,"maxlenof_value",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_maxlenof_value00); 07309 tolua_function(tolua_S,"time_sec",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_time_sec00); 07310 tolua_function(tolua_S,"set_time_sec",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_set_time_sec00); 07311 tolua_function(tolua_S,"maxlenof_time_sec",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessMessage_maxlenof_time_sec00); 07312 tolua_endmodule(tolua_S); 07313 #ifdef __cplusplus 07314 tolua_cclass(tolua_S,"SetBodyStiffnessMessage","fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage","Message",tolua_collect_fawkes__NaoJointStiffnessInterface__SetBodyStiffnessMessage); 07315 #else 07316 tolua_cclass(tolua_S,"SetBodyStiffnessMessage","fawkes::NaoJointStiffnessInterface::SetBodyStiffnessMessage","Message",NULL); 07317 #endif 07318 tolua_beginmodule(tolua_S,"SetBodyStiffnessMessage"); 07319 tolua_function(tolua_S,"new",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new00); 07320 tolua_function(tolua_S,"new_local",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new00_local); 07321 tolua_function(tolua_S,".call",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new00_local); 07322 tolua_function(tolua_S,"new",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new01); 07323 tolua_function(tolua_S,"new_local",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new01_local); 07324 tolua_function(tolua_S,".call",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_new01_local); 07325 tolua_function(tolua_S,"delete",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_delete00); 07326 tolua_function(tolua_S,"value",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_value00); 07327 tolua_function(tolua_S,"set_value",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_set_value00); 07328 tolua_function(tolua_S,"maxlenof_value",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_maxlenof_value00); 07329 tolua_function(tolua_S,"time_sec",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_time_sec00); 07330 tolua_function(tolua_S,"set_time_sec",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_set_time_sec00); 07331 tolua_function(tolua_S,"maxlenof_time_sec",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetBodyStiffnessMessage_maxlenof_time_sec00); 07332 tolua_endmodule(tolua_S); 07333 #ifdef __cplusplus 07334 tolua_cclass(tolua_S,"SetStiffnessesMessage","fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage","Message",tolua_collect_fawkes__NaoJointStiffnessInterface__SetStiffnessesMessage); 07335 #else 07336 tolua_cclass(tolua_S,"SetStiffnessesMessage","fawkes::NaoJointStiffnessInterface::SetStiffnessesMessage","Message",NULL); 07337 #endif 07338 tolua_beginmodule(tolua_S,"SetStiffnessesMessage"); 07339 tolua_function(tolua_S,"new",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new00); 07340 tolua_function(tolua_S,"new_local",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new00_local); 07341 tolua_function(tolua_S,".call",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new00_local); 07342 tolua_function(tolua_S,"new",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new01); 07343 tolua_function(tolua_S,"new_local",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new01_local); 07344 tolua_function(tolua_S,".call",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_new01_local); 07345 tolua_function(tolua_S,"delete",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_delete00); 07346 tolua_function(tolua_S,"time_sec",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_time_sec00); 07347 tolua_function(tolua_S,"set_time_sec",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_time_sec00); 07348 tolua_function(tolua_S,"maxlenof_time_sec",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_time_sec00); 07349 tolua_function(tolua_S,"head_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_head_yaw00); 07350 tolua_function(tolua_S,"set_head_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_head_yaw00); 07351 tolua_function(tolua_S,"maxlenof_head_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_head_yaw00); 07352 tolua_function(tolua_S,"head_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_head_pitch00); 07353 tolua_function(tolua_S,"set_head_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_head_pitch00); 07354 tolua_function(tolua_S,"maxlenof_head_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_head_pitch00); 07355 tolua_function(tolua_S,"l_shoulder_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_shoulder_pitch00); 07356 tolua_function(tolua_S,"set_l_shoulder_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_shoulder_pitch00); 07357 tolua_function(tolua_S,"maxlenof_l_shoulder_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_shoulder_pitch00); 07358 tolua_function(tolua_S,"l_shoulder_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_shoulder_roll00); 07359 tolua_function(tolua_S,"set_l_shoulder_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_shoulder_roll00); 07360 tolua_function(tolua_S,"maxlenof_l_shoulder_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_shoulder_roll00); 07361 tolua_function(tolua_S,"l_elbow_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_elbow_yaw00); 07362 tolua_function(tolua_S,"set_l_elbow_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_elbow_yaw00); 07363 tolua_function(tolua_S,"maxlenof_l_elbow_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_elbow_yaw00); 07364 tolua_function(tolua_S,"l_elbow_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_elbow_roll00); 07365 tolua_function(tolua_S,"set_l_elbow_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_elbow_roll00); 07366 tolua_function(tolua_S,"maxlenof_l_elbow_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_elbow_roll00); 07367 tolua_function(tolua_S,"l_wrist_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_wrist_yaw00); 07368 tolua_function(tolua_S,"set_l_wrist_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_wrist_yaw00); 07369 tolua_function(tolua_S,"maxlenof_l_wrist_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_wrist_yaw00); 07370 tolua_function(tolua_S,"l_hand",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_hand00); 07371 tolua_function(tolua_S,"set_l_hand",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_hand00); 07372 tolua_function(tolua_S,"maxlenof_l_hand",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_hand00); 07373 tolua_function(tolua_S,"l_hip_yaw_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_hip_yaw_pitch00); 07374 tolua_function(tolua_S,"set_l_hip_yaw_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_hip_yaw_pitch00); 07375 tolua_function(tolua_S,"maxlenof_l_hip_yaw_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_hip_yaw_pitch00); 07376 tolua_function(tolua_S,"l_hip_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_hip_roll00); 07377 tolua_function(tolua_S,"set_l_hip_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_hip_roll00); 07378 tolua_function(tolua_S,"maxlenof_l_hip_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_hip_roll00); 07379 tolua_function(tolua_S,"l_hip_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_hip_pitch00); 07380 tolua_function(tolua_S,"set_l_hip_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_hip_pitch00); 07381 tolua_function(tolua_S,"maxlenof_l_hip_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_hip_pitch00); 07382 tolua_function(tolua_S,"l_knee_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_knee_pitch00); 07383 tolua_function(tolua_S,"set_l_knee_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_knee_pitch00); 07384 tolua_function(tolua_S,"maxlenof_l_knee_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_knee_pitch00); 07385 tolua_function(tolua_S,"l_ankle_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_ankle_pitch00); 07386 tolua_function(tolua_S,"set_l_ankle_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_ankle_pitch00); 07387 tolua_function(tolua_S,"maxlenof_l_ankle_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_ankle_pitch00); 07388 tolua_function(tolua_S,"l_ankle_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_l_ankle_roll00); 07389 tolua_function(tolua_S,"set_l_ankle_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_l_ankle_roll00); 07390 tolua_function(tolua_S,"maxlenof_l_ankle_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_l_ankle_roll00); 07391 tolua_function(tolua_S,"r_shoulder_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_shoulder_pitch00); 07392 tolua_function(tolua_S,"set_r_shoulder_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_shoulder_pitch00); 07393 tolua_function(tolua_S,"maxlenof_r_shoulder_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_shoulder_pitch00); 07394 tolua_function(tolua_S,"r_shoulder_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_shoulder_roll00); 07395 tolua_function(tolua_S,"set_r_shoulder_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_shoulder_roll00); 07396 tolua_function(tolua_S,"maxlenof_r_shoulder_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_shoulder_roll00); 07397 tolua_function(tolua_S,"r_elbow_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_elbow_yaw00); 07398 tolua_function(tolua_S,"set_r_elbow_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_elbow_yaw00); 07399 tolua_function(tolua_S,"maxlenof_r_elbow_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_elbow_yaw00); 07400 tolua_function(tolua_S,"r_wrist_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_wrist_yaw00); 07401 tolua_function(tolua_S,"set_r_wrist_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_wrist_yaw00); 07402 tolua_function(tolua_S,"maxlenof_r_wrist_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_wrist_yaw00); 07403 tolua_function(tolua_S,"r_hand",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_hand00); 07404 tolua_function(tolua_S,"set_r_hand",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_hand00); 07405 tolua_function(tolua_S,"maxlenof_r_hand",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_hand00); 07406 tolua_function(tolua_S,"r_hip_yaw_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_hip_yaw_pitch00); 07407 tolua_function(tolua_S,"set_r_hip_yaw_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_hip_yaw_pitch00); 07408 tolua_function(tolua_S,"maxlenof_r_hip_yaw_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_hip_yaw_pitch00); 07409 tolua_function(tolua_S,"r_hip_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_hip_roll00); 07410 tolua_function(tolua_S,"set_r_hip_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_hip_roll00); 07411 tolua_function(tolua_S,"maxlenof_r_hip_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_hip_roll00); 07412 tolua_function(tolua_S,"r_hip_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_hip_pitch00); 07413 tolua_function(tolua_S,"set_r_hip_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_hip_pitch00); 07414 tolua_function(tolua_S,"maxlenof_r_hip_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_hip_pitch00); 07415 tolua_function(tolua_S,"r_knee_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_knee_pitch00); 07416 tolua_function(tolua_S,"set_r_knee_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_knee_pitch00); 07417 tolua_function(tolua_S,"maxlenof_r_knee_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_knee_pitch00); 07418 tolua_function(tolua_S,"r_ankle_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_ankle_pitch00); 07419 tolua_function(tolua_S,"set_r_ankle_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_ankle_pitch00); 07420 tolua_function(tolua_S,"maxlenof_r_ankle_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_ankle_pitch00); 07421 tolua_function(tolua_S,"r_ankle_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_ankle_roll00); 07422 tolua_function(tolua_S,"set_r_ankle_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_ankle_roll00); 07423 tolua_function(tolua_S,"maxlenof_r_ankle_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_ankle_roll00); 07424 tolua_function(tolua_S,"r_elbow_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_r_elbow_roll00); 07425 tolua_function(tolua_S,"set_r_elbow_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_set_r_elbow_roll00); 07426 tolua_function(tolua_S,"maxlenof_r_elbow_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_SetStiffnessesMessage_maxlenof_r_elbow_roll00); 07427 tolua_endmodule(tolua_S); 07428 tolua_function(tolua_S,"head_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_head_yaw00); 07429 tolua_function(tolua_S,"set_head_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_head_yaw00); 07430 tolua_function(tolua_S,"maxlenof_head_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_head_yaw00); 07431 tolua_function(tolua_S,"head_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_head_pitch00); 07432 tolua_function(tolua_S,"set_head_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_head_pitch00); 07433 tolua_function(tolua_S,"maxlenof_head_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_head_pitch00); 07434 tolua_function(tolua_S,"l_shoulder_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_shoulder_pitch00); 07435 tolua_function(tolua_S,"set_l_shoulder_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_shoulder_pitch00); 07436 tolua_function(tolua_S,"maxlenof_l_shoulder_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_shoulder_pitch00); 07437 tolua_function(tolua_S,"l_shoulder_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_shoulder_roll00); 07438 tolua_function(tolua_S,"set_l_shoulder_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_shoulder_roll00); 07439 tolua_function(tolua_S,"maxlenof_l_shoulder_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_shoulder_roll00); 07440 tolua_function(tolua_S,"l_elbow_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_elbow_yaw00); 07441 tolua_function(tolua_S,"set_l_elbow_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_elbow_yaw00); 07442 tolua_function(tolua_S,"maxlenof_l_elbow_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_elbow_yaw00); 07443 tolua_function(tolua_S,"l_elbow_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_elbow_roll00); 07444 tolua_function(tolua_S,"set_l_elbow_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_elbow_roll00); 07445 tolua_function(tolua_S,"maxlenof_l_elbow_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_elbow_roll00); 07446 tolua_function(tolua_S,"l_wrist_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_wrist_yaw00); 07447 tolua_function(tolua_S,"set_l_wrist_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_wrist_yaw00); 07448 tolua_function(tolua_S,"maxlenof_l_wrist_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_wrist_yaw00); 07449 tolua_function(tolua_S,"l_hand",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_hand00); 07450 tolua_function(tolua_S,"set_l_hand",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_hand00); 07451 tolua_function(tolua_S,"maxlenof_l_hand",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_hand00); 07452 tolua_function(tolua_S,"l_hip_yaw_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_hip_yaw_pitch00); 07453 tolua_function(tolua_S,"set_l_hip_yaw_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_hip_yaw_pitch00); 07454 tolua_function(tolua_S,"maxlenof_l_hip_yaw_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_hip_yaw_pitch00); 07455 tolua_function(tolua_S,"l_hip_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_hip_roll00); 07456 tolua_function(tolua_S,"set_l_hip_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_hip_roll00); 07457 tolua_function(tolua_S,"maxlenof_l_hip_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_hip_roll00); 07458 tolua_function(tolua_S,"l_hip_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_hip_pitch00); 07459 tolua_function(tolua_S,"set_l_hip_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_hip_pitch00); 07460 tolua_function(tolua_S,"maxlenof_l_hip_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_hip_pitch00); 07461 tolua_function(tolua_S,"l_knee_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_knee_pitch00); 07462 tolua_function(tolua_S,"set_l_knee_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_knee_pitch00); 07463 tolua_function(tolua_S,"maxlenof_l_knee_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_knee_pitch00); 07464 tolua_function(tolua_S,"l_ankle_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_ankle_pitch00); 07465 tolua_function(tolua_S,"set_l_ankle_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_ankle_pitch00); 07466 tolua_function(tolua_S,"maxlenof_l_ankle_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_ankle_pitch00); 07467 tolua_function(tolua_S,"l_ankle_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_l_ankle_roll00); 07468 tolua_function(tolua_S,"set_l_ankle_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_l_ankle_roll00); 07469 tolua_function(tolua_S,"maxlenof_l_ankle_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_l_ankle_roll00); 07470 tolua_function(tolua_S,"r_shoulder_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_shoulder_pitch00); 07471 tolua_function(tolua_S,"set_r_shoulder_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_shoulder_pitch00); 07472 tolua_function(tolua_S,"maxlenof_r_shoulder_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_shoulder_pitch00); 07473 tolua_function(tolua_S,"r_shoulder_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_shoulder_roll00); 07474 tolua_function(tolua_S,"set_r_shoulder_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_shoulder_roll00); 07475 tolua_function(tolua_S,"maxlenof_r_shoulder_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_shoulder_roll00); 07476 tolua_function(tolua_S,"r_elbow_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_elbow_yaw00); 07477 tolua_function(tolua_S,"set_r_elbow_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_elbow_yaw00); 07478 tolua_function(tolua_S,"maxlenof_r_elbow_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_elbow_yaw00); 07479 tolua_function(tolua_S,"r_elbow_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_elbow_roll00); 07480 tolua_function(tolua_S,"set_r_elbow_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_elbow_roll00); 07481 tolua_function(tolua_S,"maxlenof_r_elbow_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_elbow_roll00); 07482 tolua_function(tolua_S,"r_wrist_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_wrist_yaw00); 07483 tolua_function(tolua_S,"set_r_wrist_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_wrist_yaw00); 07484 tolua_function(tolua_S,"maxlenof_r_wrist_yaw",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_wrist_yaw00); 07485 tolua_function(tolua_S,"r_hand",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_hand00); 07486 tolua_function(tolua_S,"set_r_hand",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_hand00); 07487 tolua_function(tolua_S,"maxlenof_r_hand",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_hand00); 07488 tolua_function(tolua_S,"r_hip_yaw_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_hip_yaw_pitch00); 07489 tolua_function(tolua_S,"set_r_hip_yaw_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_hip_yaw_pitch00); 07490 tolua_function(tolua_S,"maxlenof_r_hip_yaw_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_hip_yaw_pitch00); 07491 tolua_function(tolua_S,"r_hip_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_hip_roll00); 07492 tolua_function(tolua_S,"set_r_hip_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_hip_roll00); 07493 tolua_function(tolua_S,"maxlenof_r_hip_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_hip_roll00); 07494 tolua_function(tolua_S,"r_hip_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_hip_pitch00); 07495 tolua_function(tolua_S,"set_r_hip_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_hip_pitch00); 07496 tolua_function(tolua_S,"maxlenof_r_hip_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_hip_pitch00); 07497 tolua_function(tolua_S,"r_knee_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_knee_pitch00); 07498 tolua_function(tolua_S,"set_r_knee_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_knee_pitch00); 07499 tolua_function(tolua_S,"maxlenof_r_knee_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_knee_pitch00); 07500 tolua_function(tolua_S,"r_ankle_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_ankle_pitch00); 07501 tolua_function(tolua_S,"set_r_ankle_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_ankle_pitch00); 07502 tolua_function(tolua_S,"maxlenof_r_ankle_pitch",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_ankle_pitch00); 07503 tolua_function(tolua_S,"r_ankle_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_r_ankle_roll00); 07504 tolua_function(tolua_S,"set_r_ankle_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_r_ankle_roll00); 07505 tolua_function(tolua_S,"maxlenof_r_ankle_roll",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_r_ankle_roll00); 07506 tolua_function(tolua_S,"minimum",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_minimum00); 07507 tolua_function(tolua_S,"set_minimum",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_minimum00); 07508 tolua_function(tolua_S,"maxlenof_minimum",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_maxlenof_minimum00); 07509 tolua_function(tolua_S,"oftype",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_oftype00); 07510 tolua_function(tolua_S,"datachunk",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_datachunk00); 07511 tolua_function(tolua_S,"datasize",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_datasize00); 07512 tolua_function(tolua_S,"type",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_type00); 07513 tolua_function(tolua_S,"id",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_id00); 07514 tolua_function(tolua_S,"uid",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_uid00); 07515 tolua_function(tolua_S,"serial",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_serial00); 07516 tolua_function(tolua_S,"mem_serial",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_mem_serial00); 07517 tolua_function(tolua_S,".eq",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface__eq00); 07518 tolua_function(tolua_S,"hash",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_hash00); 07519 tolua_function(tolua_S,"hash_size",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_hash_size00); 07520 tolua_function(tolua_S,"hash_printable",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_hash_printable00); 07521 tolua_function(tolua_S,"is_writer",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_is_writer00); 07522 tolua_function(tolua_S,"set_from_chunk",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_set_from_chunk00); 07523 tolua_function(tolua_S,"create_message",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_create_message00); 07524 tolua_function(tolua_S,"read",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_read00); 07525 tolua_function(tolua_S,"write",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_write00); 07526 tolua_function(tolua_S,"has_writer",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_has_writer00); 07527 tolua_function(tolua_S,"num_readers",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_num_readers00); 07528 tolua_function(tolua_S,"msgq_enqueue_copy",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_enqueue_copy00); 07529 tolua_function(tolua_S,"msgq_remove",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_remove00); 07530 tolua_function(tolua_S,"msgq_remove",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_remove01); 07531 tolua_function(tolua_S,"msgq_size",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_size00); 07532 tolua_function(tolua_S,"msgq_flush",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_flush00); 07533 tolua_function(tolua_S,"msgq_lock",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_lock00); 07534 tolua_function(tolua_S,"msgq_try_lock",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_try_lock00); 07535 tolua_function(tolua_S,"msgq_unlock",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_unlock00); 07536 tolua_function(tolua_S,"msgq_pop",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_pop00); 07537 tolua_function(tolua_S,"msgq_first",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_first00); 07538 tolua_function(tolua_S,"msgq_empty",tolua_interfaces_NaoJointStiffnessInterface_fawkes_NaoJointStiffnessInterface_msgq_empty00); 07539 tolua_endmodule(tolua_S); 07540 tolua_endmodule(tolua_S); 07541 tolua_endmodule(tolua_S); 07542 return 1; 07543 } 07544 07545 07546 extern "C" { 07547 #if defined(LUA_VERSION_NUM) && LUA_VERSION_NUM >= 501 07548 TOLUA_API int luaopen_interfaces_NaoJointStiffnessInterface (lua_State* tolua_S) { 07549 return tolua_interfaces_NaoJointStiffnessInterface_open(tolua_S); 07550 }; 07551 #endif 07552 } 07553 07554