Hi, I’m working on a 8 D.O.F biped and I’m writing some code for it to make it walk, kick, etc. and I was wondering on how to make the servos rotate by a set amount. I’ve analyzed the biped BRAT code where it gives the array of numbers (I’ve added that part of the code to this post) and I wanted to ask what the numbers are; are they the exact degrees the servo turns through or are they some sort of ratio (as in the digit 1 represents 5 degrees of turning).
Thank You!
move:
if(command = 1) then ; Walk Forward
gosub movement 7.0,-20.0,-20.0, -7.0, 20.0, 20.0, 500.0]
gosub movement -7.0,-20.0,-20.0, 7.0, 20.0, 20.0, 500.0]
gosub movement -7.0, 20.0, 20.0, 7.0,-20.0,-20.0, 500.0]
gosub movement 7.0, 20.0, 20.0, -7.0,-20.0,-20.0, 500.0]