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

Little Drummer Bot da! dadada! da!

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

Little Drummer Bot da! dadada! da!

Post by DirtyRoboto » Wed Nov 29, 2006 7:35 pm

Post by DirtyRoboto
Wed Nov 29, 2006 7:35 pm

Here is my code for making a standard RN1 beat like a little drummer boy. If you have standard plastic insert hands then try this code.
If you have hand alterations then inspect the code first and make any alterations you need if you see numbers that go over your bots limit.

Here is the code. Enjoy.

'=======================================
'drum move. ### created by Marcus Aka DirtyRoboto 28th November 2006 www.robosavvy.com forum member###
'Taken from TestBed_001.bas
drum:
DIM xx AS BYTE
DIM yy AS BYTE
DIM pp AS INTEGER
SPEED 10
MOVE24 102, 94, 112, 106, 99, 100,143, 23, 93, 100, 100, 100,139, 30, 89, 100, 100, 100,103, 91, 112, 108, 97, 100
MOVE G6B,127, 19, 65, 100, 100, 100
MOVE G6C,130, 30, 62, 100, 100, 100
SPEED 15
FOR yy = 3 TO 10
pp = 8000 / yy
FOR xx = 1 TO yy
MOVE G6B,121, 19, 65, 100, 100, 100
MOVE G6B,127, 19, 65, 100, 100, 100
MOVE G6C,125, 30, 62, 100, 100, 100
MOVE G6C,130, 30, 62, 100, 100, 100
NEXT xx
DELAY pp
NEXT yy
SPEED 8
MOVE24 102, 94, 112, 106, 99, 100,143, 23, 93, 100, 100, 100,139, 30, 89, 100, 100, 100,103, 91, 112, 108, 97, 100
WAIT
RETURN
'=======================================
Here is my code for making a standard RN1 beat like a little drummer boy. If you have standard plastic insert hands then try this code.
If you have hand alterations then inspect the code first and make any alterations you need if you see numbers that go over your bots limit.

Here is the code. Enjoy.

'=======================================
'drum move. ### created by Marcus Aka DirtyRoboto 28th November 2006 www.robosavvy.com forum member###
'Taken from TestBed_001.bas
drum:
DIM xx AS BYTE
DIM yy AS BYTE
DIM pp AS INTEGER
SPEED 10
MOVE24 102, 94, 112, 106, 99, 100,143, 23, 93, 100, 100, 100,139, 30, 89, 100, 100, 100,103, 91, 112, 108, 97, 100
MOVE G6B,127, 19, 65, 100, 100, 100
MOVE G6C,130, 30, 62, 100, 100, 100
SPEED 15
FOR yy = 3 TO 10
pp = 8000 / yy
FOR xx = 1 TO yy
MOVE G6B,121, 19, 65, 100, 100, 100
MOVE G6B,127, 19, 65, 100, 100, 100
MOVE G6C,125, 30, 62, 100, 100, 100
MOVE G6C,130, 30, 62, 100, 100, 100
NEXT xx
DELAY pp
NEXT yy
SPEED 8
MOVE24 102, 94, 112, 106, 99, 100,143, 23, 93, 100, 100, 100,139, 30, 89, 100, 100, 100,103, 91, 112, 108, 97, 100
WAIT
RETURN
'=======================================
DirtyRoboto
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 412
Joined: Tue Sep 19, 2006 1:00 am
Location: London

Post by DirtyRoboto » Fri Dec 01, 2006 11:19 pm

Post by DirtyRoboto
Fri Dec 01, 2006 11:19 pm

What is this? A feedback free zone!

Did anyone try this code?

If so, what did you think?

Any thoughts at all?

Do I have to do all the asking?
What is this? A feedback free zone!

Did anyone try this code?

If so, what did you think?

Any thoughts at all?

Do I have to do all the asking?
DirtyRoboto
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 412
Joined: Tue Sep 19, 2006 1:00 am
Location: London

Post by bigdeal » Fri Dec 01, 2006 11:50 pm

Post by bigdeal
Fri Dec 01, 2006 11:50 pm

I did try it out.
Sounds like a woodpecker to me :)


greetings

bigdeal
I did try it out.
Sounds like a woodpecker to me :)


greetings

bigdeal
greetings,

bigdeal
bigdeal
Robot Builder
Robot Builder
User avatar
Posts: 10
Joined: Fri Dec 01, 2006 1:00 am
Location: netherlands

Post by onesandzeros » Sat Dec 02, 2006 5:01 am

Post by onesandzeros
Sat Dec 02, 2006 5:01 am

hey DirtyRoboto
so nice of u to be contributing great code u spent alot of time on.
i didnt have the chance to test it yet, cause iam having bluetooth issues.
i want my robonova to work from laptop aswell as from ppc.
I got it working on laptop but not yet my ppc.
once i get it sorted out ill be trying your code and comenting.

if possible you should try to post with a youtube link.
hey DirtyRoboto
so nice of u to be contributing great code u spent alot of time on.
i didnt have the chance to test it yet, cause iam having bluetooth issues.
i want my robonova to work from laptop aswell as from ppc.
I got it working on laptop but not yet my ppc.
once i get it sorted out ill be trying your code and comenting.

if possible you should try to post with a youtube link.
onesandzeros
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 99
Joined: Mon Apr 03, 2006 1:00 am

Post by DirtyRoboto » Tue Dec 05, 2006 7:06 am

Post by DirtyRoboto
Tue Dec 05, 2006 7:06 am

Got my new servos and have fixed the arm. I can now see that some of my code is out due to the original servo being locked. I will redo asap.
Got my new servos and have fixed the arm. I can now see that some of my code is out due to the original servo being locked. I will redo asap.
DirtyRoboto
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 412
Joined: Tue Sep 19, 2006 1:00 am
Location: London


5 postsPage 1 of 1
5 postsPage 1 of 1