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

Kung Fu Code

Hitec robotics including ROBONOVA humanoid, HSR-8498HB servos, MR C-3024 Controllers and RoboBasic
32 postsPage 3 of 31, 2, 3
32 postsPage 3 of 31, 2, 3

Post by Gman » Mon Sep 11, 2006 1:34 am

Post by Gman
Mon Sep 11, 2006 1:34 am

Ok so I messed around with the leg position numbers a bit and I've smoothed out the action of the punching move on my robot.
I prefer the new leg settings, however the leg settings used in the video are in the comments at the top of the code.

At first I was hoping to get the robot to punch as fast as possible, but now i'm really enjoying the speed of the move and experimenting with the motor positions. It's still a work in progress but here it is for anyone who wants to try it out.

http://robosavvy.com/Builders/Gman/wingchun01%20(new).bas
*Edit... :oops: there was an extra RETURN command at the end of the move which was harmless (I figure) but has been removed and the .bas file updated.

If anyone likes the move and can make it better please share any improvements. There are so many leg position variations that it boggles my mind to think about trying them all.
Ok so I messed around with the leg position numbers a bit and I've smoothed out the action of the punching move on my robot.
I prefer the new leg settings, however the leg settings used in the video are in the comments at the top of the code.

At first I was hoping to get the robot to punch as fast as possible, but now i'm really enjoying the speed of the move and experimenting with the motor positions. It's still a work in progress but here it is for anyone who wants to try it out.

http://robosavvy.com/Builders/Gman/wingchun01%20(new).bas
*Edit... :oops: there was an extra RETURN command at the end of the move which was harmless (I figure) but has been removed and the .bas file updated.

If anyone likes the move and can make it better please share any improvements. There are so many leg position variations that it boggles my mind to think about trying them all.
Gman
Robot Builder
Robot Builder
User avatar
Posts: 15
Joined: Fri Jun 30, 2006 1:00 am
Location: Canada

Post by Zembot » Tue Sep 12, 2006 1:43 am

Post by Zembot
Tue Sep 12, 2006 1:43 am

Like the moves Gman! At first my bot would often fall forward. Not sure if this counts for anything… I’ve found a few tweaks which work perfect for me. Heck I can’t get it to fall until it’s flashing blue in the face. Changes in red.

'punch_L
SPEED 13
MOVE G6B,185, 11, 92, 100, 100, 100 'punch out
MOVE G6C, 14, 186, 190, 100, 100, 100 'block in
'SPEED 10
MOVE G6A, 89, 78, 145, 92, 111, 100 'feet move beyond center
MOVE G6D, 89, 68, 145, 96, 111, 100 'with a slightly wider stance
WAIT
DELAY 200

NEXT steps

If I understand my changes, I believe it sets more weight on the heels of the foot?
Like the moves Gman! At first my bot would often fall forward. Not sure if this counts for anything… I’ve found a few tweaks which work perfect for me. Heck I can’t get it to fall until it’s flashing blue in the face. Changes in red.

'punch_L
SPEED 13
MOVE G6B,185, 11, 92, 100, 100, 100 'punch out
MOVE G6C, 14, 186, 190, 100, 100, 100 'block in
'SPEED 10
MOVE G6A, 89, 78, 145, 92, 111, 100 'feet move beyond center
MOVE G6D, 89, 68, 145, 96, 111, 100 'with a slightly wider stance
WAIT
DELAY 200

NEXT steps

If I understand my changes, I believe it sets more weight on the heels of the foot?
Zembot
Robot Builder
Robot Builder
User avatar
Posts: 24
Joined: Wed Aug 16, 2006 1:00 am

Previous
32 postsPage 3 of 31, 2, 3
32 postsPage 3 of 31, 2, 3