yes its growing on me. dont expect more than that from me anytime soon. lol
ill be buying more shields from you though.
Should we work on a way to adjust servo speed?
yes well there are some improvements to be made. i only selected the best parts of the recording as there were a few funny moves going on, but one has to visualise it with feathers on. lol
Looks like you are having some fun! I am also wondering if in the end you are going to want to keep with totally random, or for lack of better terms maybe a weighted random. That is when your bird does one action, like maybe part of a flight sequence, he is probably more likely to do some actions than others… Just a thought.
As for controlling the servo speed, you might try my ServoEx code. I have a few different ways to use it, but the easiest is to tell each servo where you wish to go and how long to get there. Example:
[code]#include <ServoEx.h>
ServoEx myservo; // create servo object to control a servo
// a maximum of eight servo objects can be created
int pos = 0; // variable to store the servo position
void setup()
{
myservo.attach(13); // attaches the servo on pin 13 to the servo object
}
void loop()
{
if (myservo.moving())
return; // last move is still active
pos = (pos == 0)? 180 : 0;
myservo.move(pos, 2500);
} [/code]
This code moved 1 servo, using the helper function move. Note: you can call move on a different servo while this one is still active and it will also work. Or you can have the code start and stop all servos at the same time as the Move function is simply:
void ServoEx::move(int value, unsigned int MoveTime)
{
// For now just do shorthand of start, write and commit
ServoGroupMove.start();
write(value);
ServoGroupMove.commit(MoveTime);
}
Kurt
Oh man… can’t wait to have my hardware with me to test…
Which i had bring something with me… !
ok cool, thanks kurt!!
ill work on a section of code later this week and ill try and incorporate it into the current code.
same here…
Iv had an order for a cockatoo…
here is the render of the head and control mech for the beak.
shapeways.com/model/728995/c … a4eca86388
Also here is the new Owl head and Eye mech:
Hi Jonny,
You are becoming so good at this and so knowledgable about avian anatomy and motion, you are beginning to fire up even my weary imagination.
Have you considered expanding into an even wider range of motion demonstrating scientific models such as pteronodons or pteradactyls or even bats? (None of them exactly birds, I know.) Or how about slow motion raptor wings showing how they alter shape and even shift feathers for soaring, climbing, turning, and landing maneuvers. I would guess that each wing would have to act independently from the other and programming these differences would be part of the challenge.
If anyone can do these things, I think you would be the one.
Ted
Oh - how about a hummingbird for me?
Well yes this does all seem to present me to have some weird obsession with birds… maybe i do… i need some help i think. lol
anatomical demonstration models would be a really nice way to go with this and im sure it would be a great move, but that would take “my obsession” at little to close to being called the bird man. lol
ill stick with Lures, Decoys and media props for now. then maybe once/if i study the form in more detail i may add anatomical demonstration models to the list.
Wings are very hard to get right and so a lot of studying would be needed to get it correct.
a humming bird would be stunning! maybe ill try something like that in the future.
The mech:
http://i531.photobucket.com/albums/dd355/innerbreed/2012-10-15104404.jpg
http://i531.photobucket.com/albums/dd355/innerbreed/2012-10-15104507.jpg
http://i531.photobucket.com/albums/dd355/innerbreed/2012-10-15104531.jpg
http://i531.photobucket.com/albums/dd355/innerbreed/2012-10-15104545.jpg
http://i531.photobucket.com/albums/dd355/innerbreed/2012-10-15122700.jpg
http://i531.photobucket.com/albums/dd355/innerbreed/2012-10-15122725.jpg
http://i531.photobucket.com/albums/dd355/innerbreed/2012-10-15130246.jpg
Wow…
That was a fast print…!
Looking real good.
It give the final touch to the body
Yes I think they definitely made up for the lost part.
I have another set of parts arriving tomorrow…
Ordered more cable as I have ran out. Once installed I’ll run a test.
Just an idea while i had some store credit…
Hs65hb micro servo brackets:
compared to the standard hitec 645mg servo:
lol
Very good…
How much it did cost ?
About £15 with shipping
Did you take a look at Kurte servo code ?
I didn’t have time myself…
Being fairly new to arduino Im sticking with a method I understand.
I do have kurts servo library but I’d need to study it hard and I’d need some understanding of the new functions.
The project is responding how I want, I just need to tune it so it’s perfect.