hi everybody
i’m working on programming my quaruped 3dof/leg and i have some trouble with my basic stamp. the program i have write is very long and i see kinématics inverse have too many variable for the basic stamp.
i want to have my quad walking and turning on flat terran and commanded by a remote control
have i to change my bs2 for and more powerfull ic, may be with a coprocessor and EEprom update? could you help me to choose? i prefere full assembled kit because i’m not skilled in soldering
or helping me for a more simple program
my actual loop for walking forward
IF x=0 THEN p0=550
IF x=0 THEN p1=750
IF x=0 THEN p2=650
IF x=0 THEN p3=850
'----------------------------
IF x=1 THEN p0=p0+3
IF x=1 THEN p1=p1+1
IF x=1 THEN p2=p2+1
IF x=1 THEN p3=p3-1
IF x=1 THEN p48=1100
IF x=1 THEN p59=500
IF x=1 THEN p610=500
IF x=1 THEN p711=900
IF p0=850 XOR p1=850 XOR p2=750 XOR p3=750 THEN GOTO error1
IF p0=850 AND p1=850 AND p2=750 AND p3=750 THEN x=2
IF x=2 THEN p48=900
IF x=2 THEN p59=300
IF x=2 THEN p610=500
IF x=2 THEN p711=900
IF x=2 THEN p0=p0-1
IF x=2 THEN p1=p1-3
IF x=2 THEN p2=p2+1
IF x=2 THEN p3=p3-1
IF p0=750 XOR p1=550 XOR p2=850 XOR p3=650 THEN GOTO error2
IF p0=750 AND p1=550 AND p2=850 AND p3=650 THEN x=3
IF x=3 THEN p48=900
IF x=3 THEN p59=500
IF x=3 THEN p610=300
IF x=3 THEN p711=900
IF x=3 THEN p0=p0-1
IF x=3 THEN p1=p1+1
IF x=3 THEN p2=p2-3
IF x=3 THEN p3=p3-1
IF p0=650 XOR p1=650 XOR p2=550 XOR p3=550 THEN GOTO error3
IF p0=650 AND p1=650 AND p2=550 AND p3=550 THEN x=4
IF x=3 THEN p48=900
IF x=3 THEN p59=500
IF x=3 THEN p610=500
IF x=3 THEN p711=1100
IF x=3 THEN p0=p0-1
IF x=3 THEN p1=p1+1
IF x=3 THEN p2=p2+1
IF x=3 THEN p3=p3+3
IF p0=550 XOR p1=750 XOR p2=650 XOR p3=850 THEN GOTO error4
IF p0=550 AND p1=750 AND p2=650 AND p3=850 THEN x=1
IF x=0 THEN x=1