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

A day in the life of a robot

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

A day in the life of a robot

Post by hivemind » Thu Jul 27, 2006 4:52 am

Post by hivemind
Thu Jul 27, 2006 4:52 am

Here's a short video for you guys that ive been working on, my robot's a little shy, but you should give him a chance:

Artificial Intelligence
Here's a short video for you guys that ive been working on, my robot's a little shy, but you should give him a chance:

Artificial Intelligence
Image
hivemind
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 211
Joined: Sat Jul 01, 2006 1:00 am
Location: between my computer and robot.

Post by Bullit » Thu Jul 27, 2006 4:57 am

Post by Bullit
Thu Jul 27, 2006 4:57 am

Wow! I think that's best Robonova video yet. I'll keep that one right next to Matt's rope climbing video.
Nice job!
I think Matt had better music :D
Wow! I think that's best Robonova video yet. I'll keep that one right next to Matt's rope climbing video.
Nice job!
I think Matt had better music :D
Bullit
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 291
Joined: Wed May 31, 2006 1:00 am
Location: Near robot

Post by limor » Thu Jul 27, 2006 8:37 am

Post by limor
Thu Jul 27, 2006 8:37 am

amazing!
does the RN1 have a gyro? can you post the code for the forward flip?
amazing!
does the RN1 have a gyro? can you post the code for the forward flip?
limor
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 1845
Joined: Mon Oct 11, 2004 1:00 am
Location: London, UK

Re: A day in the life of a robot

Post by tempusmaster » Thu Jul 27, 2006 9:28 am

Post by tempusmaster
Thu Jul 27, 2006 9:28 am

hivemind wrote:Here's a short video for you guys that ive been working on, my robot's a little shy, but you should give him a chance:

Artificial Intelligence


Fantastic! I didn't think the RN was capable of pulling that one off. 8O

Congratulations.

http://www.robots-dreams.com/2006/07/robonova_robot_.html

What mods, if any, have you done to it?
hivemind wrote:Here's a short video for you guys that ive been working on, my robot's a little shy, but you should give him a chance:

Artificial Intelligence


Fantastic! I didn't think the RN was capable of pulling that one off. 8O

Congratulations.

http://www.robots-dreams.com/2006/07/robonova_robot_.html

What mods, if any, have you done to it?
Latest robot news, information, reviews, hacks, photos, and videos - with special on-site coverage from Japan
http://www.robots-dreams.com
tempusmaster
Site Admin
Site Admin
User avatar
Posts: 532
Joined: Thu Oct 27, 2005 1:00 am

Post by hivemind » Thu Jul 27, 2006 3:24 pm

Post by hivemind
Thu Jul 27, 2006 3:24 pm

limor wrote:amazing!
does the RN1 have a gyro?


My RN1 has two gyros and an accelerometer but none of these are in use during this video

tempusmaster wrote:What mods, if any, have you done to it?


Other than the two gyros and accelerometer, i have Matt's grippers on there (which adds extra weight obviously) and i believe that helps a bit on getting the RN1 around.

Some modifications that are less important to this task are an extra head servo (so the head can turn - plus the added feature of weight and momentum), two 3-color LEDs for the eyes, and well, i think thats all you saw in use for the video.

I have a few other mods that I'm working on, but we will save those for later :)
limor wrote:amazing!
does the RN1 have a gyro?


My RN1 has two gyros and an accelerometer but none of these are in use during this video

tempusmaster wrote:What mods, if any, have you done to it?


Other than the two gyros and accelerometer, i have Matt's grippers on there (which adds extra weight obviously) and i believe that helps a bit on getting the RN1 around.

Some modifications that are less important to this task are an extra head servo (so the head can turn - plus the added feature of weight and momentum), two 3-color LEDs for the eyes, and well, i think thats all you saw in use for the video.

I have a few other mods that I'm working on, but we will save those for later :)
Image
hivemind
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 211
Joined: Sat Jul 01, 2006 1:00 am
Location: between my computer and robot.

Post by bauermech » Thu Jul 27, 2006 4:51 pm

Post by bauermech
Thu Jul 27, 2006 4:51 pm

Yes, very well done! :D

Wow! I think that's best Robonova video yet.


I must admit, this is probably one of my new favorites too. :wink: I look forward to seeing what else lies around the corner. Keep it up!
Yes, very well done! :D

Wow! I think that's best Robonova video yet.


I must admit, this is probably one of my new favorites too. :wink: I look forward to seeing what else lies around the corner. Keep it up!
bauermech
Site Admin
Site Admin
User avatar
Posts: 318
Joined: Sat Feb 04, 2006 1:00 am
Location: Defiance, Ohio, USA

Post by dshinsel » Thu Jul 27, 2006 10:11 pm

Post by dshinsel
Thu Jul 27, 2006 10:11 pm

Awsome!

As asked elsewhere, can you post the code for the flip?

That's so cool!
Awsome!

As asked elsewhere, can you post the code for the flip?

That's so cool!
Dave Shinsel
dshinsel <insert at sign> verizon.net
dshinsel
Robot Builder
Robot Builder
User avatar
Posts: 9
Joined: Tue Apr 25, 2006 1:00 am

Re: A day in the life of a robot

Post by CaptKill4Fun » Sat Jul 29, 2006 6:15 am

Post by CaptKill4Fun
Sat Jul 29, 2006 6:15 am

...
...
Last edited by CaptKill4Fun on Sun Aug 06, 2006 7:13 am, edited 2 times in total.
CaptKill4Fun
Savvy Roboteer
Savvy Roboteer
Posts: 100
Joined: Sat May 27, 2006 1:00 am
Location: Tucson

Post by Pev » Sat Jul 29, 2006 8:34 pm

Post by Pev
Sat Jul 29, 2006 8:34 pm

Hivemind,

That flip is awesome, totally amazing, I never thought I'd see a robonova doing something like that - hats off to you

Pev
Hivemind,

That flip is awesome, totally amazing, I never thought I'd see a robonova doing something like that - hats off to you

Pev
Carl
-------------------------
www.alt-view.co.uk
Pev
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 547
Joined: Sun Feb 26, 2006 1:00 am
Location: UK

Post by beermat » Sat Jul 29, 2006 9:56 pm

Post by beermat
Sat Jul 29, 2006 9:56 pm

Excellent flip, very impressive! I'd like to join the eager queue of owners salivating over the chance of you posting all your hard-earned MOVEs on this forum.....

Also, could you talk a bit more about the eyes mod? It looks like you have tri-colour LEDs in there? I've been trying to source 5v 3mm tri-colour LEDs, but not had much success. Also, how do you control the different colours?

I too added the servo for the head movement, and it's a really tight squeeze, as you said. Hitec needed to add a couple more mm to make a standard RN servo fit, IMHO.
Excellent flip, very impressive! I'd like to join the eager queue of owners salivating over the chance of you posting all your hard-earned MOVEs on this forum.....

Also, could you talk a bit more about the eyes mod? It looks like you have tri-colour LEDs in there? I've been trying to source 5v 3mm tri-colour LEDs, but not had much success. Also, how do you control the different colours?

I too added the servo for the head movement, and it's a really tight squeeze, as you said. Hitec needed to add a couple more mm to make a standard RN servo fit, IMHO.
beermat
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 137
Joined: Sun Jul 23, 2006 1:00 am

Post by hivemind » Sun Jul 30, 2006 12:31 am

Post by hivemind
Sun Jul 30, 2006 12:31 am

Well folks, here is the long awaited code, ready to go, all you have to do is compile exactly what i post and send it over, it can work as its own independant program.

Before you you test this though, there are several things you should know. I have modified my RN-1 so that it has three extra servos that could dramatically alter the effects of this flip, the head servo (located in the chest as i explained earlier) and Matt's two gripping claws. Also i have used several rubberized mats on a cement floor (cement reduces inconsistencies and the rubber mat is to make sure it is not damaged) I have noticed that he will work on other surfaces (hard wood and even my carpet) but the cement (or tile floors) with a rubber is the best.

And one final thing: any damages that may incur due to this routine or any variation you may create/come upon are not my responsibility. You should be careful with your robot and use it wisely, give it plenty of space and dont let it fall and there SHOULD be no problems, but i suggest a rubber mat for protection. I hold no responsibilty for any damages as i have tested and re-tested my routine to perfect it. You use this code at your own risk, but i would appreciate that if you were to post it elsewhere you do not claim it as your own, and even if you do, be sure to keep my warnings.

here you are:

'== motor diretion setting ======================
DIR G6A,1,0,0,1,0,0
DIR G6B,1,1,1,1,1,1
DIR G6C,0,0,0,0,0,0
DIR G6D,0,1,1,0,1,0

PTP SETON
PTP ALLON

'== motor start position read ===================
GETMOTORSET G24,1,1,1,1,1,0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,1,1,0
'== motor power on ========================
SPEED 5
MOTOR G24

DELAY 5000

'==standard pose==
SPEED 10
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
WAIT
'=================

PWM 2,25

'==wait for user to move away==
DELAY 2500
'=====================

'==lean back and arms out forward==
SPEED 10
MOVE G6A, 100, 73, 145, 83, 100
MOVE G6D, 100, 73, 145, 83, 100
MOVE G6B, 11, 188, 98
MOVE G6C, 11, 188, 98
WAIT
'========================

'==ankle tilt and then "jump" to arms==
SPEED 15
HIGHSPEED SETON
MOVE G6A, 109, 102, 185, 158, 99
MOVE G6D, 109, 102, 185, 158, 99
MOVE G6B, 10, 185, 104
MOVE G6C, 10, 185, 104
WAIT
'==========================

'==wait for momentum to kick in==
DELAY 150
'======================

'=======================================
'=lands on hands and feet:
MOVE G6A, 99, 103, 101, 10, 98
MOVE G6D, 99, 103, 101, 10, 98
MOVE G6B, 190, 185, 104
MOVE G6C, 190, 185, 104
WAIT
'=======================================

HIGHSPEED SETOFF
SPEED 10

'==bring legs underneath==
MOVE G6A,100, 165, 70, 15, 100, 100
MOVE G6D,100, 165, 70, 15, 100, 100
'==================

'==reposition==
MOVE G6A,100, 165, 40, 100, 100, 120
MOVE G6D,100, 165, 40, 100, 100, 120
WAIT
'==========

DELAY 100

SPEED 8
'==standard_pose======================
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
WAIT
'==================================

PWM 2,0
PWM 0,25

SPEED 14
'==arms up==
MOVE G6A, 100, 76, 145, 93, 100, 100
MOVE G6D, 100, 76, 145, 93, 100, 100
MOVE G6B, 100, 160, 85, 100, 100, 100
MOVE G6C, 100, 160, 85, 100, 100, 100
WAIT
'=========








^END OF ROUTINE: As for tempusmaster, thank you for posting my video on your site :-) i will have a follow-up very shortly if you would like to add it to that same page (heh)

and beermat, as for the tr-colour LEDS that im using for the eyes, i am using the PWM ports (as you can see in my code above) instead of the LED ports as i can control the power of each LED :-)
Well folks, here is the long awaited code, ready to go, all you have to do is compile exactly what i post and send it over, it can work as its own independant program.

Before you you test this though, there are several things you should know. I have modified my RN-1 so that it has three extra servos that could dramatically alter the effects of this flip, the head servo (located in the chest as i explained earlier) and Matt's two gripping claws. Also i have used several rubberized mats on a cement floor (cement reduces inconsistencies and the rubber mat is to make sure it is not damaged) I have noticed that he will work on other surfaces (hard wood and even my carpet) but the cement (or tile floors) with a rubber is the best.

And one final thing: any damages that may incur due to this routine or any variation you may create/come upon are not my responsibility. You should be careful with your robot and use it wisely, give it plenty of space and dont let it fall and there SHOULD be no problems, but i suggest a rubber mat for protection. I hold no responsibilty for any damages as i have tested and re-tested my routine to perfect it. You use this code at your own risk, but i would appreciate that if you were to post it elsewhere you do not claim it as your own, and even if you do, be sure to keep my warnings.

here you are:

'== motor diretion setting ======================
DIR G6A,1,0,0,1,0,0
DIR G6B,1,1,1,1,1,1
DIR G6C,0,0,0,0,0,0
DIR G6D,0,1,1,0,1,0

PTP SETON
PTP ALLON

'== motor start position read ===================
GETMOTORSET G24,1,1,1,1,1,0,1,1,1,0,0,0,1,1,1,0,0,0,1,1,1,1,1,0
'== motor power on ========================
SPEED 5
MOTOR G24

DELAY 5000

'==standard pose==
SPEED 10
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
WAIT
'=================

PWM 2,25

'==wait for user to move away==
DELAY 2500
'=====================

'==lean back and arms out forward==
SPEED 10
MOVE G6A, 100, 73, 145, 83, 100
MOVE G6D, 100, 73, 145, 83, 100
MOVE G6B, 11, 188, 98
MOVE G6C, 11, 188, 98
WAIT
'========================

'==ankle tilt and then "jump" to arms==
SPEED 15
HIGHSPEED SETON
MOVE G6A, 109, 102, 185, 158, 99
MOVE G6D, 109, 102, 185, 158, 99
MOVE G6B, 10, 185, 104
MOVE G6C, 10, 185, 104
WAIT
'==========================

'==wait for momentum to kick in==
DELAY 150
'======================

'=======================================
'=lands on hands and feet:
MOVE G6A, 99, 103, 101, 10, 98
MOVE G6D, 99, 103, 101, 10, 98
MOVE G6B, 190, 185, 104
MOVE G6C, 190, 185, 104
WAIT
'=======================================

HIGHSPEED SETOFF
SPEED 10

'==bring legs underneath==
MOVE G6A,100, 165, 70, 15, 100, 100
MOVE G6D,100, 165, 70, 15, 100, 100
'==================

'==reposition==
MOVE G6A,100, 165, 40, 100, 100, 120
MOVE G6D,100, 165, 40, 100, 100, 120
WAIT
'==========

DELAY 100

SPEED 8
'==standard_pose======================
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
WAIT
'==================================

PWM 2,0
PWM 0,25

SPEED 14
'==arms up==
MOVE G6A, 100, 76, 145, 93, 100, 100
MOVE G6D, 100, 76, 145, 93, 100, 100
MOVE G6B, 100, 160, 85, 100, 100, 100
MOVE G6C, 100, 160, 85, 100, 100, 100
WAIT
'=========








^END OF ROUTINE: As for tempusmaster, thank you for posting my video on your site :-) i will have a follow-up very shortly if you would like to add it to that same page (heh)

and beermat, as for the tr-colour LEDS that im using for the eyes, i am using the PWM ports (as you can see in my code above) instead of the LED ports as i can control the power of each LED :-)
Last edited by hivemind on Sun Jul 30, 2006 2:52 pm, edited 1 time in total.
Image
hivemind
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 211
Joined: Sat Jul 01, 2006 1:00 am
Location: between my computer and robot.

Post by beermat » Sun Jul 30, 2006 2:19 am

Post by beermat
Sun Jul 30, 2006 2:19 am

Thanks for the code! In the event you weren't going to post it, I've been studying the video and have just finished recreating it. Almost. Ugh! I've done the handspring part and the landing prone part, but not the 'stand up at the end' bit. But the hard part is now done. My biggest sticking point (which I just solved prior to looking at your post!) was exactly the same requirement for a DELAY when landing on his hands to let him rock forward. 100 did it for me.

Anyway, thanks for the inspiration, the code (which I will compare to what I came up with from your vid) and the info on the eyes! PWM was the way I was going to go. All I need is a source for the parts. Any clues? I scanned my Digikey catalogue, but didn't see any?

This is the (unfinished standing up part) code I wrote:


'Recreation of the 'flip' move (really a front handspring) as originally demonstrated by hivemind

'Arms out, lean back a tad
SPEED 8
MOVE24 101, 65, 133, 111, 97, 100, 10, 190, 122, 100, 100, 101, 10, 186, 130, 100, 100, 100,101, 67, 132, 110, 98, 100
WAIT

'Rock ankles back, body forward - lands on hands and should tip forward
HIGHSPEED SETON
SPEED 15
MOVE24 101, 128, 187, 167, 97, 100, , , , , , , , , , , , ,102, 132, 188, 159, 98, 100
WAIT

'Small pause to complete rocking
DELAY 150

'Swing legs almost straight with body which is now almost vertical upside down
MOVE G6A, 97, 101, 154, 109, 97, 100
MOVE G6D,102, 106, 160, 104, 102, 100
WAIT

'Landing posture
MOVE24 99, 142, 23, 82, 96, 100,178, 181, 119, 100, 100, 102,173, 180, 112, 100, 100, 100,102, 145, 24, 81, 99, 100
WAIT

HIGHSPEED SETOFF
SPEED 8

'Now get up off your arse!
'TODO
RETURN
Thanks for the code! In the event you weren't going to post it, I've been studying the video and have just finished recreating it. Almost. Ugh! I've done the handspring part and the landing prone part, but not the 'stand up at the end' bit. But the hard part is now done. My biggest sticking point (which I just solved prior to looking at your post!) was exactly the same requirement for a DELAY when landing on his hands to let him rock forward. 100 did it for me.

Anyway, thanks for the inspiration, the code (which I will compare to what I came up with from your vid) and the info on the eyes! PWM was the way I was going to go. All I need is a source for the parts. Any clues? I scanned my Digikey catalogue, but didn't see any?

This is the (unfinished standing up part) code I wrote:


'Recreation of the 'flip' move (really a front handspring) as originally demonstrated by hivemind

'Arms out, lean back a tad
SPEED 8
MOVE24 101, 65, 133, 111, 97, 100, 10, 190, 122, 100, 100, 101, 10, 186, 130, 100, 100, 100,101, 67, 132, 110, 98, 100
WAIT

'Rock ankles back, body forward - lands on hands and should tip forward
HIGHSPEED SETON
SPEED 15
MOVE24 101, 128, 187, 167, 97, 100, , , , , , , , , , , , ,102, 132, 188, 159, 98, 100
WAIT

'Small pause to complete rocking
DELAY 150

'Swing legs almost straight with body which is now almost vertical upside down
MOVE G6A, 97, 101, 154, 109, 97, 100
MOVE G6D,102, 106, 160, 104, 102, 100
WAIT

'Landing posture
MOVE24 99, 142, 23, 82, 96, 100,178, 181, 119, 100, 100, 102,173, 180, 112, 100, 100, 100,102, 145, 24, 81, 99, 100
WAIT

HIGHSPEED SETOFF
SPEED 8

'Now get up off your arse!
'TODO
RETURN
beermat
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 137
Joined: Sun Jul 23, 2006 1:00 am

Post by beermat » Sun Jul 30, 2006 2:28 am

Post by beermat
Sun Jul 30, 2006 2:28 am

Actually, just tried yours, hivemind. He doesn't complete the flip. I have stock hands; you have the grippers I believe? Could that be the difference because of the size and weight difference from two extra servos? I have the extra head servo, though.

I have to watch a movie with the missus now; I'll finish up what I was working on for stock hands after, and maybe post that?
Actually, just tried yours, hivemind. He doesn't complete the flip. I have stock hands; you have the grippers I believe? Could that be the difference because of the size and weight difference from two extra servos? I have the extra head servo, though.

I have to watch a movie with the missus now; I'll finish up what I was working on for stock hands after, and maybe post that?
beermat
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 137
Joined: Sun Jul 23, 2006 1:00 am

Post by hivemind » Sun Jul 30, 2006 2:32 am

Post by hivemind
Sun Jul 30, 2006 2:32 am

well im not sure what you mean by "he does not complete the flip" but it could be a zero difference too, i know i have my RN-1 zerod very strangly, so who knows, but if he just starts and moves on too quickly its probably the hands or not a long enough delay.

keep in mind i use a special mat and cement floor for best performance, that may also be your issue.

Goodluck
well im not sure what you mean by "he does not complete the flip" but it could be a zero difference too, i know i have my RN-1 zerod very strangly, so who knows, but if he just starts and moves on too quickly its probably the hands or not a long enough delay.

keep in mind i use a special mat and cement floor for best performance, that may also be your issue.

Goodluck
Image
hivemind
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 211
Joined: Sat Jul 01, 2006 1:00 am
Location: between my computer and robot.

Post by beermat » Sun Jul 30, 2006 4:41 am

Post by beermat
Sun Jul 30, 2006 4:41 am

Sorry, I should have been more specific. I just bunged the code in, ran it a few times, posted my comment and had to run away :)

I run my flip directly on hardwood floors. With my own first cut, it works around 70% of the time so it needs some refinement. Where yours fails to work for my RN (and mine fails 30% of the time) is at the obvious point between dropping to his hands and having that momentum carry him over into the forward roll (or not), at that crucial 'DELAY' point. Judging by how fine a line that point is for the RN during the development of this move, I can see how small differences in hand length, zero settings, etc. can cause the move to fail quite easily. I'm going to poke around with it a bit more, see if I can get it towards the level of repeatability of the other stock but complex moves.

But, thanks again for the move! My former-gymnast other half loves it. Never have I had so much acceptance for something so, well, expensive and pointless in her mind :) We might actually work on a RN gymnastics routine together and put a video together!
Sorry, I should have been more specific. I just bunged the code in, ran it a few times, posted my comment and had to run away :)

I run my flip directly on hardwood floors. With my own first cut, it works around 70% of the time so it needs some refinement. Where yours fails to work for my RN (and mine fails 30% of the time) is at the obvious point between dropping to his hands and having that momentum carry him over into the forward roll (or not), at that crucial 'DELAY' point. Judging by how fine a line that point is for the RN during the development of this move, I can see how small differences in hand length, zero settings, etc. can cause the move to fail quite easily. I'm going to poke around with it a bit more, see if I can get it towards the level of repeatability of the other stock but complex moves.

But, thanks again for the move! My former-gymnast other half loves it. Never have I had so much acceptance for something so, well, expensive and pointless in her mind :) We might actually work on a RN gymnastics routine together and put a video together!
beermat
Savvy Roboteer
Savvy Roboteer
User avatar
Posts: 137
Joined: Sun Jul 23, 2006 1:00 am

Next
23 postsPage 1 of 21, 2
23 postsPage 1 of 21, 2