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