November 21, 2024, 06:32:47 PM

News:

Be sure to checkout our Vixen interfaces in the Library forum -- if you want PC automation at near zero cost, EFX-TEK and Vixen is a great combination of tools.


Servo Movements

Started by steveo, March 20, 2008, 07:23:59 AM

Previous topic - Next topic

steveo

Jon,
I have a couple servos showing up tomorrow, so I've been pouring through some posts here in preparation for their arrival.

My big question is this:
As the prop2 is sending the pulse does the servo movement need to complete before the next command is sent? I guess what I'm getting at is can I blend movements by starting one movement, and then starting another as the 1st moving is still executing?

Thanks as always. Hope you having fun in Vegas.

JonnyMac

Yes, you can send commands to multiple servos.  You don't need a 20 millisecond pause after every servo -- just between all your servo commands.  Sometimes you program will create the delays for you.  Yesterday I wrote a program for a magician's tech guy that reads four flex sensors and converts the reading into servo data.  Since the reading of the flex sensor takes a bit of time there are no pauses in the program.

If you search on "servo blending" you should be able to find a Prop-1 program I created that stores servo movements and digital outputs in a table -- it's basically an advanced sequencer engine.  That strategy may be useful for what you're doing.  If not, you may need to take a state-driven apporach so that you can fresh the servos periodically while other things are happening.

Vegas has been fun.  Today is booth tear-down, pack-up, and hit the road.  It will be nice to be back in the other Sin City (Hollywood).
Jon McPhalen
EFX-TEK Hollywood Office