Hi everyone! :mrgreen:
It’s been an incredibly long time since I made any proper updates - sorry about that (I’ve been incredibly busy ).
Thankfully I’m back now so I should be knocking out posts on a fairly regular basis.
As for updates, I’ve gotten the Hexapod-form of Absolute Zero up and running which is pretty nice and I’d like to introduce my side project - a mini quadruped robot! 8) (I haven’t thought of a name just yet but I’m throwing some things around ).
I’ll disclose more information on that project in due course but at the moment, I’ll leave you guys with a model I drew up for the ‘basic’ form.
Also, here’s the code I wrote up for |Z| - it’s for the BB2 (since I kinda accidentally ‘destroyed’ the Quasar board I was using ).
[code];;; Title: Absolute Zero - Hexapod-Mode Testing (#1)
;;; Description: Going through basic stances and walking motions to determine the abilities of |Z|.
;;; Last Modified: 16.08.2013
pause 7500
command var byte
xx var byte
main
command = 1
gosub move
pause 7500
command = 4
for xx = 1 to 5
gosub move
next
pause 2500
command = 2
for xx = 1 to 10
gosub move
next
pause 2500
command = 3
for xx = 1 to 10
gosub move
next
pause 2500
command = 2
for xx = 1 to 10
gosub move
next
pause 2500
command = 1
gosub move
pause 75000
end
move:
if(command = 1) then ;(REST/ZERO POSITION)
hservo [p0\0\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\0\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\0\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
; --------------------------------------------------------------------------------------- ;
elseif(command = 2) ;(WALKING - SIMPLE; Tripod Gait)
hservo [p0\0\500,p1\4500\500,p2\0\500] ; TOP RIGHT Leg (Lifted).
hservo [p3\0\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\0\500,p7\4500\500,p8\0\500] ; BOTTOM RIGHT Leg (Lifted).
hservo [p9\0\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\0\500,p13\-4500\500,p14\0\500] ; MIDDLE LEFT Leg (Lifted).
hservo [p15\0\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\2500\500,p1\4500\500,p2\0\500] ; TOP RIGHT Leg (Lifted).
hservo [p3\0\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\2500\500,p7\4500\500,p8\0\500] ; BOTTOM RIGHT Leg (Lifted).
hservo [p9\0\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\-2500\500,p13\-4500\500,p14\0\500] ; MIDDLE LEFT Leg (Lifted).
hservo [p15\0\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\2500\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\2500\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\-2500\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\0\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\4500\500,p5\0\500] ; MIDDLE RIGHT Leg (Lifted).
hservo [p6\0\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\-4500\500,p11\0\500] ; TOP LEFT Leg (Lifted).
hservo [p12\0\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\-4500\500,p19\0\500] ; BOTTOM LEFT Leg (Lifted).
pause 150
hservo [p0\0\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\2500\500,p4\4500\500,p5\0\500] ; MIDDLE RIGHT Leg (Lifted).
hservo [p6\0\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\-2500\500,p10\-4500\500,p11\0\500] ; TOP LEFT Leg (Lifted).
hservo [p12\0\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\-2500\500,p18\-4500\500,p19\0\500] ; BOTTOM LEFT Leg (Lifted).
pause 150
hservo [p0\0\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\2500\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\0\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\-2500\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\0\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\-2500\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
; --------------------------------------------------------------------------------------- ;
elseif(command = 3) ;(Turning In Place - LEFT)
hservo [p0\0\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\0\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\0\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\0\500,p1\4500\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\0\500,p7\4500\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\0\500,p13\-4500\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\2500\500,p1\4500\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\2500\500,p7\4500\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\2500\500,p13\-4500\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\2500\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\2500\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\2500\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\2500\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\4500\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\2500\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\-4500\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\2500\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\-4500\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\0\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\4500\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\0\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\-4500\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\0\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\-4500\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\0\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\2500\500,p4\4500\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\0\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\2500\500,p10\-4500\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\0\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\2500\500,p18\-4500\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\0\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\2500\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\0\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\2500\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\0\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\2500\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
; --------------------------------------------------------------------------------------- ;
elseif(command = 4) ;(Marching in place)
hservo [p0\0\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\0\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\0\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\0\500,p1\4500\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\0\500,p7\4500\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\0\500,p13\-4500\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\0\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\0\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\0\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\0\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\0\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\0\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
hservo [p0\0\500,p1\0\500,p2\0\500] ; TOP RIGHT Leg.
hservo [p3\0\500,p4\4500\500,p5\0\500] ; MIDDLE RIGHT Leg.
hservo [p6\0\500,p7\0\500,p8\0\500] ; BOTTOM RIGHT Leg.
hservo [p9\0\500,p10\-4500\500,p11\0\500] ; TOP LEFT Leg.
hservo [p12\0\500,p13\0\500,p14\0\500] ; MIDDLE LEFT Leg.
hservo [p15\0\500,p18\-4500\500,p19\0\500] ; BOTTOM LEFT Leg.
pause 150
; --------------------------------------------------------------------------------------- ;
endif
return[/code]
Um, that’s pretty much it really at the moment - stay tuned for updates! ^___^
AKdaBAOUS