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

a little excersize move

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

a little excersize move

Post by Robotmania » Sun Aug 06, 2006 12:42 pm

Post by Robotmania
Sun Aug 06, 2006 12:42 pm

a little left to right touch the floor move
copy and paste
then gosub toes


'===touches floor left&right=====
toes:
SPEED 6
'PWM blue,no
'PWM green,yes
FOR A = 0 TO 3
'PWM red,no
'PWM green,yes
MOVE G6B,101, 101, 98, 100, 100, 100
MOVE G6C,101, 101, 98, 100, 100, 100
MOVE G6A,116, 166, 21, 127, 132, 100
MOVE G6D, 62, 79, 137, 99, 87, 100
MOVE G6A, 100, 76, 145, 93, 100, 100
MOVE G6D, 100, 76, 145, 93, 100, 100
MOVE G6B, 100, 30, 80, 100, 100, 100
MOVE G6C, 100, 30, 80, 100, 100, 100
DELAY 1000
'PWM green,no
'PWM red,yes
MOVE G6B,101, 101, 98, 100, 100, 100
MOVE G6C,101, 101, 98, 100, 100, 100
MOVE G6A, 61, 96, 132, 94, 87, 100
MOVE G6D,115, 169, 21, 133, 130, 100
MOVE G6A, 100, 76, 145, 93, 100, 100
MOVE G6D, 100, 76, 145, 93, 100, 100
MOVE G6B, 100, 30, 80, 100, 100, 100
MOVE G6C, 100, 30, 80, 100, 100, 100
DELAY 1000
NEXT A
'PWM green,no
'PWM blue,yes
'PWM red,no
'C10 = 1
GOSUB standard_pose
GOTO main_exit
RETURN
'===========================
a little left to right touch the floor move
copy and paste
then gosub toes


'===touches floor left&right=====
toes:
SPEED 6
'PWM blue,no
'PWM green,yes
FOR A = 0 TO 3
'PWM red,no
'PWM green,yes
MOVE G6B,101, 101, 98, 100, 100, 100
MOVE G6C,101, 101, 98, 100, 100, 100
MOVE G6A,116, 166, 21, 127, 132, 100
MOVE G6D, 62, 79, 137, 99, 87, 100
MOVE G6A, 100, 76, 145, 93, 100, 100
MOVE G6D, 100, 76, 145, 93, 100, 100
MOVE G6B, 100, 30, 80, 100, 100, 100
MOVE G6C, 100, 30, 80, 100, 100, 100
DELAY 1000
'PWM green,no
'PWM red,yes
MOVE G6B,101, 101, 98, 100, 100, 100
MOVE G6C,101, 101, 98, 100, 100, 100
MOVE G6A, 61, 96, 132, 94, 87, 100
MOVE G6D,115, 169, 21, 133, 130, 100
MOVE G6A, 100, 76, 145, 93, 100, 100
MOVE G6D, 100, 76, 145, 93, 100, 100
MOVE G6B, 100, 30, 80, 100, 100, 100
MOVE G6C, 100, 30, 80, 100, 100, 100
DELAY 1000
NEXT A
'PWM green,no
'PWM blue,yes
'PWM red,no
'C10 = 1
GOSUB standard_pose
GOTO main_exit
RETURN
'===========================
Robotmania
Robot Builder
Robot Builder
User avatar
Posts: 8
Joined: Mon Jul 31, 2006 1:00 am

some jumping jacks to go along with the other exercizes

Post by Robotmania » Mon Aug 07, 2006 11:22 am

Post by Robotmania
Mon Aug 07, 2006 11:22 am

jump:
FOR A = 0 TO 5
SPEED 8
HIGHSPEED SETON
MOVE G6B, 99, 189, 160, 100, 100, 100
MOVE G6C, 99, 176, 172, 100, 100, 100
MOVE G6A, 83, 76, 145, 93, 116, 100
MOVE G6D, 83, 76, 145, 93, 116, 100
DELAY 1000
MOVE G6A,100, 76, 145, 93, 100, 100
MOVE G6D,100, 76, 145, 93, 100, 100
MOVE G6B,100, 30, 80, 100, 100, 100
MOVE G6C,100, 30, 80, 100, 100, 100
DELAY 1000
NEXT A
HIGHSPEED SETOFF
'C10 = 1
GOSUB standard_pose
GOTO main_exit
RETURN
jump:
FOR A = 0 TO 5
SPEED 8
HIGHSPEED SETON
MOVE G6B, 99, 189, 160, 100, 100, 100
MOVE G6C, 99, 176, 172, 100, 100, 100
MOVE G6A, 83, 76, 145, 93, 116, 100
MOVE G6D, 83, 76, 145, 93, 116, 100
DELAY 1000
MOVE G6A,100, 76, 145, 93, 100, 100
MOVE G6D,100, 76, 145, 93, 100, 100
MOVE G6B,100, 30, 80, 100, 100, 100
MOVE G6C,100, 30, 80, 100, 100, 100
DELAY 1000
NEXT A
HIGHSPEED SETOFF
'C10 = 1
GOSUB standard_pose
GOTO main_exit
RETURN
Robotmania
Robot Builder
Robot Builder
User avatar
Posts: 8
Joined: Mon Jul 31, 2006 1:00 am

Post by rep001 » Mon Aug 07, 2006 10:00 pm

Post by rep001
Mon Aug 07, 2006 10:00 pm

what am i doing wrong here then.the value line 6 is incorrect should i have pasted into bas code or can it run seperate??
what am i doing wrong here then.the value line 6 is incorrect should i have pasted into bas code or can it run seperate??
rep001
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 193
Joined: Thu Mar 09, 2006 1:00 am
Location: HERTS UK


3 postsPage 1 of 1
3 postsPage 1 of 1