|
|
@@ -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. |
|
|
|
|
|
|
|
; 角度 |
|
|
|