by DirtyRoboto » Mon Apr 16, 2007 7:08 pm
by DirtyRoboto
Mon Apr 16, 2007 7:08 pm
Are you guys aware of the trick in robo basic to extrapolate 1/2 of a move onto a full loop ?
So if you motion capture a single step of a walk you do not need to capture the other half? you make it from the first half of the move.
[this is gash code and is not for downloading]
** This is the main capture **
MOVE G6B,190, 104, 96, 100, 100, 100
MOVE G6C,187, 98, 99, 100, 100, 100
MOVE G6A,117, 76, 145, 93, 100, 100
MOVE G6D,107, 64, 156, 89, 108, 100
** now we copy it **
MOVE G6B,190, 104, 96, 100, 100, 100
MOVE G6C,187, 98, 99, 100, 100, 100
MOVE G6A,117, 76, 145, 93, 100, 100
MOVE G6D,107, 64, 156, 89, 108, 100
** Then we swap each A for D and each B for C like this **
MOVE G6c,190, 104, 96, 100, 100, 100
MOVE G6b,187, 98, 99, 100, 100, 100
MOVE G6d,117, 76, 145, 93, 100, 100
MOVE G6a,107, 64, 156, 89, 108, 100
** And stick the two together **
MOVE G6B,190, 104, 96, 100, 100, 100
MOVE G6C,187, 98, 99, 100, 100, 100
MOVE G6A,117, 76, 145, 93, 100, 100
MOVE G6D,107, 64, 156, 89, 108, 100
WAIT
MOVE G6c,190, 104, 96, 100, 100, 100
MOVE G6b,187, 98, 99, 100, 100, 100
MOVE G6d,117, 76, 145, 93, 100, 100
MOVE G6a,107, 64, 156, 89, 108, 100
------------------------------------------------------
All that is done is that you are sending the positions too the opposite servos.
I hope this helps.
Marcus.
Are you guys aware of the trick in robo basic to extrapolate 1/2 of a move onto a full loop ?
So if you motion capture a single step of a walk you do not need to capture the other half? you make it from the first half of the move.
[this is gash code and is not for downloading]
** This is the main capture **
MOVE G6B,190, 104, 96, 100, 100, 100
MOVE G6C,187, 98, 99, 100, 100, 100
MOVE G6A,117, 76, 145, 93, 100, 100
MOVE G6D,107, 64, 156, 89, 108, 100
** now we copy it **
MOVE G6B,190, 104, 96, 100, 100, 100
MOVE G6C,187, 98, 99, 100, 100, 100
MOVE G6A,117, 76, 145, 93, 100, 100
MOVE G6D,107, 64, 156, 89, 108, 100
** Then we swap each A for D and each B for C like this **
MOVE G6c,190, 104, 96, 100, 100, 100
MOVE G6b,187, 98, 99, 100, 100, 100
MOVE G6d,117, 76, 145, 93, 100, 100
MOVE G6a,107, 64, 156, 89, 108, 100
** And stick the two together **
MOVE G6B,190, 104, 96, 100, 100, 100
MOVE G6C,187, 98, 99, 100, 100, 100
MOVE G6A,117, 76, 145, 93, 100, 100
MOVE G6D,107, 64, 156, 89, 108, 100
WAIT
MOVE G6c,190, 104, 96, 100, 100, 100
MOVE G6b,187, 98, 99, 100, 100, 100
MOVE G6d,117, 76, 145, 93, 100, 100
MOVE G6a,107, 64, 156, 89, 108, 100
------------------------------------------------------
All that is done is that you are sending the positions too the opposite servos.
I hope this helps.
Marcus.
In servo's we trust!