Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

Knowledge is Power.

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
1 postPage 1 of 1
1 postPage 1 of 1

Knowledge is Power.

Post by DirtyRoboto » Mon Apr 16, 2007 7:08 pm

Post 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!
DirtyRoboto
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 412
Joined: Tue Sep 19, 2006 1:00 am
Location: London

1 postPage 1 of 1
1 postPage 1 of 1