Pages: [1] 2   Go Down
Author Topic: My Hexapod walks!  (Read 4369 times)
0 Members and 1 Guest are viewing this topic.
Ohio
Offline Offline
Full Member
***
Karma: 0
Posts: 227
Arduino Hexapod
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://www.vinceherman.net/robot/media/IMG_0071.MOV

Yes, I am just starting to get it together.
Yes, wires everywhere.
But IT'S ALIVE!!!!

Next steps include
  • smoothing the foot lift and set, rather than the slam up and down I have now.
  • Remote Control input
  • Solve the logic for transitions from one walking mode to another

Then, further down the road, video processing for navigation and object recognition.

But small steps as they say.
 
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5597
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Is that a custom bracket job, or did you purchase it from somewhere? It looks great, nonetheless! I've always wanted to try and replicate the ODEX-1 full-scale using modern materials, motor drives, electronics and computational advances - but aside from the cost (which might be fairly large), I just don't have the time with all my other projects waiting in line!

 smiley
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

North Yorkshire, UK
Offline Offline
Faraday Member
**
Karma: 104
Posts: 5531
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks great

Any way you could speed it up to chase people?  ;D

Mowcius
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 28
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm making hexapod too for my kid.
Could you share the code?

Thanks.
Logged


Ohio
Offline Offline
Full Member
***
Karma: 0
Posts: 227
Arduino Hexapod
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Is that a custom bracket job, or did you purchase it from somewhere?
http://www.lynxmotion.com/

Our first work was with wooden brackets, because we could manufacture then with the band saw and a drill.  They simply bolted to the servo horns.  But this puts all of the side load on the output shaft of the servo.  The commercial brackets mount the servo in a frame that has a bearing on the bottom.  The bracket engages both the servo horn on one side and the bearing on the other, making the joint much stronger.  The down side is cost.

Quote
Any way you could speed it up to chase people?
Certainly it can walk faster.  The entire step cycle is 4 seconds.  I think that the step cycle can be reduced down to a half second or so.  That would be 8 times faster.  We will do testing to see how fast it can go without loosing accuracy on the step smoothness.

Quote
Could you share the code?
Absolutely.  I have to clean up the code a bit, and put in some explanation for what the various elements are there for.  I did modify the servo library to handle servo reversing and servo trim.  I will include those files.  They are from the 0017 version of the IDE.  I have not tested them with 0018.  The servo library did change some, and I have not merged my changes into the 0018 version of the library yet.

What components are you using?  I got the Phoenix chassis, somewhat ant like.  There are also radial chassis.  My code is written for the ant version, but would work with the radial model with the legs pointed out sideways like a crab.

So far, we only walk forward.  But we have constructed the various functions with hooks to hang future functionality on, like RC direction and speed control, rotational movement, translational movement (mix of forward and sideways movement with the orientation remaining the same), and turning.
Logged

Milano, Italy
Offline Offline
Faraday Member
**
Karma: 11
Posts: 3091
Sideralis Arduino!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks like you are using the phoenix body and the "round hexapod" legs, am I right? I am interested in creating a phoenix arduino controlled robot... What type of motors are they? If I remember well another of your posts you use the Mega, right?
I will follow your project with interest and Ihope to contribute!
Federico
Logged

Federico - Sideralis
Arduino &C: http://www.sideralis.org
Foto: http://blackman.amicofigo.com

0
Offline Offline
Newbie
*
Karma: 0
Posts: 10
Model Armour or Mech Warfare... Hmm...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi vince,

If your looking to keep the RC side of your hexapod project all Arduino you might be interested in some of the code I have posted while looking for assistance with a very nood question.
http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1267236058

I'm currently using a Duemilanove with Liquidware Input sheilds as a dual stick 6 button transmitter via xbee for a RC tank project.

Have you implemented any IK into the movements?
Logged

Milano, Italy
Offline Offline
Faraday Member
**
Karma: 11
Posts: 3091
Sideralis Arduino!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I have read many times about this invers kinematic. What is exactly? smiley
Logged

Federico - Sideralis
Arduino &C: http://www.sideralis.org
Foto: http://blackman.amicofigo.com

Ohio
Offline Offline
Full Member
***
Karma: 0
Posts: 227
Arduino Hexapod
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

http://en.wikipedia.org/wiki/Inverse_kinematics

It probably encompasses much more than what I am doing, but I still use the term to describe it.

Basically, if I know that I want the foot of one leg to be in a certain position, I can use algebra and trigonometric functions to calculate the angles of each joint that will put the foot in that position.

If I get a chance, I will write up a description of the formulas I am using.

It was a lot of fun using my dormant math skillz   ;D
Logged

SE USA
Offline Offline
Faraday Member
**
Karma: 41
Posts: 3783
@ssh0le
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

ack quicktime ... must reboot

but sounds quite cool
Logged


0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks awesome. I'm working on the radial hexapod body from lynxmotion.

I've been reading alot on the internet (probably too much for my own good because I have too many ideas floating around in my head), but I digress.

The Mega looks like the best solution for the robot for starters at least. How did you modify it to control the extra servos? I can't find any details on that aspect of using the Mega to control 18 servos.
Logged

London
Offline Offline
Tesla Member
***
Karma: 10
Posts: 6255
Have fun!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
How did you modify it to control the extra servos?
You don't need to modify anything to control 18 servos with the mega, the mega supports up to 48 servos with the standard Servo library.

The changes vinceherman made were to provide configuration to reverse the servo direction and to trim the position of the servo.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 4
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Noted.

Thanks for the prompt response, mem. I thought that was the case; I just misunderstood other posts I had read.
Logged

Milano, Italy
Offline Offline
Faraday Member
**
Karma: 11
Posts: 3091
Sideralis Arduino!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I am wondering if there any reason for not including this sort of modification in the standard servo library?
Logged

Federico - Sideralis
Arduino &C: http://www.sideralis.org
Foto: http://blackman.amicofigo.com

Nowhere
Offline Offline
God Member
*****
Karma: 3
Posts: 852
|-\ |\|\
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Why would you need the modification?  To lesen the maximum amount of servos?
I don't understand what you mean.
Logged

Soundcloud page: http://soundcloud.com/beefinator-2
Youtube channel: http://www.youtube.com/user/beefinator14
Old soundcloud page (ran out o

Pages: [1] 2   Go Up
Jump to: