From ee09e3b1539f61e13bb128ee0641e146282924fe Mon Sep 17 00:00:00 2001 From: miteruzo Date: Wed, 28 Jun 2023 12:34:22 +0900 Subject: [PATCH] =?UTF-8?q?=E3=82=B4=E3=83=BC=E3=83=88=E3=81=86=E3=81=AE?= =?UTF-8?q?=E3=81=82=E3=81=97=EF=BC=8C=E3=83=91=E3=83=A9=E3=83=A1=E3=83=BC?= =?UTF-8?q?=E3=82=BF=E3=81=A0=E3=81=91=E4=BF=9D=E6=8C=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- android/modules/goatoh.mod.hsp | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/android/modules/goatoh.mod.hsp b/android/modules/goatoh.mod.hsp index 497038c..6880bac 100644 --- a/android/modules/goatoh.mod.hsp +++ b/android/modules/goatoh.mod.hsp @@ -1,6 +1,14 @@ #module \ Goatoh +#enum LEG_LF = 0 +#enum LEG_RF +#enum LEG_LH +#enum LEG_RH + +#enum LEG_DIRECTION_FRONT = 1 +#enum LEG_DIRECTION_HIND + #defcfunc local \ New \ double p_initPosX,\ @@ -9,6 +17,16 @@ New \ posX.insNum = p_initPosX posY.insNum = p_initPosY + legArgs.LEG_LF.insNum = 0. + legArgs.LEG_RF.insNum = 0. + legArgs.LEG_LH.insNum = 0. + legArgs.LEG_RH.insNum = 0. + + legDirections.LEG_LF.insNum = LEG_DIRECTION_FRONT + legDirections.LEG_RF.insNum = LEG_DIRECTION_HIND + legDirections.LEG_LH.insNum = LEG_DIRECTION_HIND + legDirections.LEG_RH.insNum = LEG_DIRECTION_FRONT + scale.insNum = 2. ; 角度