Is there a way to turn off servos (i.e. make them limp) by using the HSERVO hardware control system, or is this impossible? Also, is it possible to set different timings for different servos individually. I’m guessing you can’t set different timings for individual servos, but a way of turning off servos would be nice.
HSERVO works for anaolog servos, but digital servos will maintain their own position without any servo-controller input.
You should be able to find a thread on that, somewhere around here.
About the seperate timings.
Only one T per set of servo commands.
However, you may be able to seperate your desired moves into multiple commands.
Then again, they’d execute one after the other, so I’m not sure that this is ideal for you.
If you truly NEED such things, then you’ll need seperate servo controllers, but that can get expensive.
Nick is confusing the SSC-32 with the Atom Pro’s HSERVO command. The HSERVO command is a software servo controller that runs in the background of your BASIC program. The only documented information on the command that I know of is found here. lynxmotion.com/images/html/build037.htm
I believe you could remove pulses from a servo by repeating the hservoenable line and change the 1 to a 0 in the pin enable binary argument. I’m not sure if this is correct, or if the subject of stopping the HSERVO command was even considered. I will ask Nathan at Basic Micro to chime in on this.
If I remember correctly(and I just checked the hservo machine code and couldn’t find any other option) you just make the pin of the servo you want to disable an input.
Note that the current hservo command is pretty processor intensive(upto 35% IIRC). The n ew release of the AtomPro software will have a much more efficient version(max 3.5% processor usage with 32 servos running). I’m giving out beta copies of that version to people that ask for it(email requests only please).