ARC Pro

Upgrade to ARC Pro

Don't limit your robot's potential – subscribe to ARC Pro and transform it into a dynamic, intelligent machine.

#25  

OMG!

so, don't use the servo control, only use scripts! This will avoid the drop to min value and just go to center (per a script) and if the servo is already at center, the servo wont move! boom! gotcha!

One last thing!

im trying to use inverted motion with multiple servos. for the eyes of the wall-e

for this I have to use a servo control and click multiple servos or use the relative servo controller.

leaving back with the min value max value problem.

United Kingdom
#26  

Well I mainly use scripts because my robots are autonomous and I have very little user interaction in their design, others may have a requirement for the servo controls depending on the application and design.

You can use multi-servos in scripts too, just put the Servo(D1,50) directly after Servo(D0,50) (or whatever), the script should run fast enough to carry out the commands in nano seconds of each other.

What I always do though is set the positions in an init script so all servo controls (I do have them, I just don't use them) know the servo position. I assume (however haven't used it for a long time so can't be 100% certain) once they are set in a script then using the controls will no longer go to min position prior to moving to the position you want it to move to, the scripts update the servo position on the servo control so clicking it and adjusting starts from the position the script put it in (if that makes sense, if not please excuse me I am running on no sleep and still incredibly buzzing from last night's Bon Jovi concert so my mind is elsewhere:)).

#27  

@hooligan, I set my min and max as needed. (Right now my arms and camera pan are 90max 10min my tilt however is 85max 30min) I use a script for centering as well because of the "center bug" with the last version of ARC's servo controls. So its just a habit when I start a new project to add Script Manager and write up a quick reset script that centers my servos. Servo(#,50) repeat as necessary. I enjoy scripting so eventually those guys are going to disappear. I just like watching the values change. Lame, I know but, what's a nerd to do?

As far as the power up issue. I guess I really don't care that much either but, I saw the subject floating around and figured I'd do some prying. Could the power up twitch be due to power supply? I've only used the battery case that came with my ez complete. Even with brand new batteries they twitch. I got a few sets of rechargeables I'm using now. Actually still on my first set. I'm wondering, if when they weaken, will my servos still jump? Or are they jumping because the 6 AA really aren't enough to power the 4 standard and 2 modified servo to begin with? Power and firmware are the only things I can think of. I've searched the forum to no avail:(

PRO
Synthiam
#28  

hoolagen, post your project here.

#29  

@rich so, servo controls for the motion I want but the use the script to override the widget dropping to min value!

boom got it! ill try it tonight.

@antron007 gotcha...same thing as rich, use the script to over ride the widget and then I wont need to touch the widget.... again thank you.

@djsures will do......but at the moment its just a relative servo control and a regular servo control.

The fiancée is doing something or another regarding the wedding tonight so.....I see a few hours tonight working on my wall-e

if I get this going I will post a pic of the head and neck motion....not to toot my own horn....but its pretty damn impressive.

thanks guys!

#30  

Along with the other advice give by others try this:

"Take the screws out of the servo arms, power up the system, pop off the servo arms and put them on again as close to center as possible, put the screws back in again. The servos will always correct themselves to what they consider their default position. No matter how much you move them when there is no battery in. Unfortunately the only way to fix this is to (while the batery is plugged in) unscrew the screw and take of the servo horn and install it to correct trim. "

I found the above advice on a few RC sites with other guys having this Lurching problem. I followed the advice and it's one of the things I did to end my jumping problem. The other thing that totaly stopped my servo "lurch" was to set the servo speed on all servos to zero in the Int script that runs when ARC starts up. Put this into your INT Script for each servo Port:

ServoSpeed(D1,0)

Let me know if this helps.

Good luck and have fun: Dave Schulpius

PRO
Synthiam
#31  
  • Always initialize the servo using servo Speed set to ZERO (0)... ServoSpeed(d1, 0)

  • When the EZ-B is powered up, the servos will move. That is not because the EZ-B moves them. It is because the servos move. The jolt of current causes the servos to move a tiny bit. That's something we cannot change. That's how they work:)

#32  

@DJ Thank you. That's what I figured. I can live with that. As long as I know that's normal. I have no connection issues. I'm good.

@Dave thanks for the tip. If I ever have this problem I'll know several methods to solve it.

@hooligan, Thanks for starting this thread.