Stonehenge 3: A fast, precise robot arm
Stonehenge 3: A fast, precise robot arm
I'm still surprised at how few people have tried to build Philo's stonehenge project which can be found at http://mindstorms.lego.com/en-us/suppor ... l%204.aspx.
Building it was not only a real learning experience, but also a lot of fun. It's also kept me very busy improving on it and learning even more about making better robots.
In addition to making the arm faster and more precise, I've also greatly improved my sorting algorithm. Although I've also improved my video
, I'm still a better engineer than a film maker.
Building it was not only a real learning experience, but also a lot of fun. It's also kept me very busy improving on it and learning even more about making better robots.
In addition to making the arm faster and more precise, I've also greatly improved my sorting algorithm. Although I've also improved my video
, I'm still a better engineer than a film maker.
Re: Stonehenge 3: A fast, precise robot arm
Excellent, Ron!
Any chance you share your code and/or photos of your improvements? I see that you light shielded the colors sensor - which is a good idea, it's clearly one weak point of my design...
Any chance you share your code and/or photos of your improvements? I see that you light shielded the colors sensor - which is a good idea, it's clearly one weak point of my design...
Philo
Re: Stonehenge 3: A fast, precise robot arm
Philo, thanks for the complement, coming from a man of your caliber, that's a real complement. But the easiest way to look good is to improve something that's already excellent.
I'll happily post the source code, but I'm too much of a newbee to know how to do it properly. At 1500 lines, it seems a bit long to just drop it into the middle of a forum.
Most of the hardware changes that I made where minor, and most of them probably weren't necessary. But I'll take some close up photos and post them on the weekend.
I'll happily post the source code, but I'm too much of a newbee to know how to do it properly. At 1500 lines, it seems a bit long to just drop it into the middle of a forum.
Most of the hardware changes that I made where minor, and most of them probably weren't necessary. But I'll take some close up photos and post them on the weekend.
Re: Stonehenge 3: A fast, precise robot arm
dudmaster wrote:Very nice!
You're only 11!?!? You're going to be awesome before you become old enough to drink. (And then it goes down hill from there).
In any case, thanks for the complement.
Re: Stonehenge 3: A fast, precise robot arm
Just attach the source code file to a post. As long as it's less than 5MB, you should be finerghansen wrote:I'll happily post the source code, but I'm too much of a newbee to know how to do it properly. At 1500 lines, it seems a bit long to just drop it into the middle of a forum.
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: Stonehenge 3: A fast, precise robot arm
I tried to attach the source file, but was told that "The extension nxc is not allowed". Maybe I should stick with programming robots.mightor wrote:Just attach the source code file to a post. As long as it's less than 5MB, you should be finerghansen wrote:I'll happily post the source code, but I'm too much of a newbee to know how to do it properly. At 1500 lines, it seems a bit long to just drop it into the middle of a forum.
- Xander
Re: Stonehenge 3: A fast, precise robot arm
Throw it in a zip file and you'll be fine
- Xander
- Xander
| My Blog: I'd Rather Be Building Robots (http://botbench.com)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
| RobotC 3rd Party Driver Suite: (http://rdpartyrobotcdr.sourceforge.net)
| Some people, when confronted with a problem, think, "I know, I'll use threads,"
| and then two they hav erpoblesms. (@nedbat)
Re: Stonehenge 3: A fast, precise robot arm
Thanks for the tip.
And now for the usual disclaimer:
This code is not as clean as I'd like it to be.
It's not as well documented as it should be.
But anyone is free to use any or all of it.
I'm willing to answer any questions anyone may have.
Hansen's first law of software applies (There are only two kinds of software: improvable or beyond redemption)
And now for the usual disclaimer:
This code is not as clean as I'd like it to be.
It's not as well documented as it should be.
But anyone is free to use any or all of it.
I'm willing to answer any questions anyone may have.
Hansen's first law of software applies (There are only two kinds of software: improvable or beyond redemption)
- Attachments
-
- theSource.zip
- (7.6 KiB) Downloaded 485 times
Re: Stonehenge 3: A fast, precise robot arm
I've built up the stonehenge model and modified it as best I can from your video (any chance of the photos showing changes?) In particular I've altered the grabber motor drive, the ball chute at the bottom end and the screening round the colour sensor. I've downloaded and compiled the program, and it runs with the following sequence.
The grab closes
The arm raises
The arm rotates to the zero position
the arm rotates until over the bottom of the chute
the arm lowers and stop clear of the chute
the grab opens
the arm raises
the arm lowers a tiny bit
then the program stops
I seen there is a simulation mode, but this needs the file nxc.h to compile which is not present.
Any ideas as to where I go from here?
The grab closes
The arm raises
The arm rotates to the zero position
the arm rotates until over the bottom of the chute
the arm lowers and stop clear of the chute
the grab opens
the arm raises
the arm lowers a tiny bit
then the program stops
I seen there is a simulation mode, but this needs the file nxc.h to compile which is not present.
Any ideas as to where I go from here?
Who is online
Users browsing this forum: No registered users and 5 guests