Submitted by Dan on Fri, 08/19/2011 - 14:25
Posted in
still early days but follow the link to have a play
http://danthompsonsblog.blogspot.com/2011/08/my-first-animation-editor-with-bezier.html

still early days but follow the link to have a play
http://danthompsonsblog.blogspot.com/2011/08/my-first-animation-editor-with-bezier.html

Hey Dan, I saw this the other
Hey Dan, I saw this the other day - it's pretty awesome, I like what you've done. I'm wondering if it could be used to generate motion profiles for the new nanomoco? That would be pretty sweet =)
!c
Hey Chris, What do you mean
Hey Chris,
What do you mean by profiles? Do you mean, a text file that can be read into nanomoco? I guess it all comes down to how you want to lookup the curve at your end. For instance, I you thinking of a sample of the curve per time unit in a text file? or are you thinking of reconstructing the whole formula for bezier curve lookup in the arduino engine and just sending it the cv positions?
I guess it's all possible but I would think doing all the math in the Arduino could get quite cumbersome.
Well, the new engine being
Well, the new engine being worked will accept a number of pre-set positions (I'm shooting for 32) in a movement, and I'm thinking that from a most simple perspective, either communicating those positions directly to the nanomoco, or generating the Slim commands to output those positions.
I am game on other ideas on how to implement it, however.
I agree that doing the bezier curves directly in the arduino could be problematic, especially with the lack of a true division function and no floating-point co-processor in the Atmega chip results in serious issues with precision on fine calculations.
!c
So are all the preset
So are all the preset positions gonna be smoothstep interpolations like this? http://www.youtube.com/watch?v=vD_VCBO1lw4&feature=mfu_in_order&list=UL
I guess a you will need to make a decision at some point on how you plan on interpolating more than two set positions. If it's for timelapse I guess you can send as many positions as you want to. One for every playback frame. You could send a position and then send a click to serial buffer and then clear it ready to send the next position again and again for every playback frame of the final animation curve.
As you can imagine, things get a whole lot harder when you want to send that kind of data in real-time to an Arduino. For faster playback I would imagine you would need a big buffer or cache of some sort to store each frame position.
One day I hope to try this all out with a propeller chip. But for now I'm focusing on tinkering with the software.
Maybe you could extract velocity info from the curves and just send speed and direction info to the motors instead of position info. It's just a thought and might be a dead end. But might be worth a look.
Anyways keep up the awesome work!
Dan.
Dan, Sending speed and
Dan,
Sending speed and direction is no issue, and may be easier - nm firmware supports continuous motion with real-time speed change, so one could start at an extremely low speed (1 step/second), and then modulate speed and direction in real-time.
I have a Qt library in the works that takes care of all of this for you. (Simple calls like: axis->setSpeed(speed), etc.) Alas, porting it to Java will be a bit harder, but not impossible, as it relies on the signal/slots multi-threaded mechanism to manage serial communications, but this allows for up to hundreds of nodes on dozens of USB ports to be managed transparently within the software.
!c
Just think Cheap Coach
Just think Cheap Coach Handbags for a few seconds, have you already seen a lady who has not a handbag, in Coach Factory which she announced with a difference? For Coach Purses Outlet, the most famous brand of handbags is "Coach Outlet Online". And this Coach Outlet Store Online can a great gift for a woman. Excellent and exquisite Coach Outlet Online and Purses for over 60 years make you feel like a queen with their elaborate design and rich fabric. If your eyesight Coach Outlet Online is b enough, Coach Outlet can be quickly in your hearts and eyes. Louis vuitton purses are made from high quality materials and high-skilled workers who are proud of what they are prepared produce. And Coach Outlet is a great gift because there are many different styles that could be coordinated with different personalities together. Cheap Coach Purses are of high quality and aesthetic design. Yes, brand Coach Factory Outlet name handbags are extremely attractive; and as time goes by Coach Handbags Outlet, your investments might shed their authentic charm Coach Outlet Canada. Shopping for designer Coach Purses from our Coach Outlet
can be a very nice experience. Coach Shoulder Bags are all about style.
Each Coach Bag speaks of class and no matter where and when you carry
it, you are sure to get a few impressive looks your way Coach Outlet Online. When you have desired to expand your social life then it's important to take support of your louis vuitton handbags, From http://www.coachoutletonlinepurse.org/ which can change your style and are the most popular on the market. Coach Factory Outlet is made of unparalleled quality and look beautiful and functional.
The west also has
The west also has coach
sunglasses outlet its history, this to Hong Kong such a look to the future,
too busy to review of city is rare. Here are in revolution of sun yat-sen
meeting sites, and Hollywood is way to tourists will wenwu temple, from old
stair and winding alleys, still can see the Hong Kong coach outlet half a century
ago.In the past few years, many frontier gallery, lifestyle stores,ray ban sunglasses the mouth
restaurant is moved to the west (relatively cheap rent is a key factor), coach
wallets outlet and here it was good and evil people mixed up of the
residential areas,Oakley sunglasses
have several factories and ZhongYaoPu just. But and other "be gentrification" ray ban glasses different areas,
most of the original inhabitants in the west still here continued their life. So
with you rub shoulders and coach
outlet 2012 .
The west also has
The west also has coach
sunglasses outlet its history, this to Hong Kong such a look to the future,
too busy to review of city is rare. Here are in revolution of sun yat-sen
meeting sites, and Hollywood is way to tourists will wenwu temple, from old
stair and winding alleys, still can see the Hong Kong coach outlet half a century
ago.In the past few years, many frontier gallery, lifestyle stores,ray ban sunglasses the mouth
restaurant is moved to the west (relatively cheap rent is a key factor), coach
wallets outlet and here it was good and evil people mixed up of the
residential areas,Oakley sunglasses
have several factories and ZhongYaoPu just. But and other "be gentrification" ray ban glasses different areas,
most of the original inhabitants in the west still here continued their life. So
with you rub shoulders and coach
outlet 2012 .