I have a general question regarding the Release() script command. What I would like to do is to add this to some of my scripts after a Sleep() duration command to release some of my servos to save on any unnecessary servo holding strain and also to save on battery power.
But I read in a post somewhere recently (can't find the thread I saw it in at the moment) that using a "release" would cause the EZ-B to brown out and would need to be power cycled, or dis and reconnect the EZ-B's network connection, as this should only be used in an emergency.
I have tried it on a simple servo script to have a servo release at its rest position and it seemed to work ok. But before I go ahead and add more Release() commands to a lot more scripts, can anyone tell me if this would be ok to do, or would it not be advisable? Obviously a don't want to keep restarting the EZ-B every time a servo is released in a script.
Thanks.
Asked
— Edited
There is also the Release Control, which will release a servo after X amount of time since last move.
More information: https://www.ez-robot.com/Tutorials/Help.aspx?id=146
Also thanks for pointing me in the direction of the Auto Release control. I missed that one. *eyeroll*
Steve.
One thing about release... once you use it you will have to reset your servo speeds again or the servo(s) may not respond to any new commands...
After re-reading the other thread, I see I used the term "brown out" to try and describe what I was talking about, which I now see was the wrong term. Apologies for that.
Thanks again.
Alan
The initial poster, posted five days ago and asks about the dev kit, so I'm assuming he is talking about the v4, and glad you saw what my understanding of this subject was. And agree about having a reset command. That would be a nice addition.
@thetechguru.
I'm glad you came in on this Alan, and hope you didn't mind me referring to your post. I too have an init script to set servo speeds on connection. I'll have a play about with this again tomorrow and give the Release Control that DJ mentioned a go.
Alan
I think ServoSpeed(D0,0) might do the same as the menu button Reset servo Speeds, however you have to use this command for each and every servo you are using.... Hence my idea ResetServoSpeed(all).....
After I assembled everything, I started testing, works fine till I do a servo release to save battery. No more servo movement when I go back?
I learned if I reload or reconnect it works?
What has changed? Resetting servo speeds to 0 then higher works if I call it twice?
Reset servo speeds button works, but not available in script?
Now I am not in a hurry to update CaptainAnn EZB3 which uses many servo release calls!
Found this post after thinking about it. I am sure something simple like this will be resolved soon.
Steve S
Code:
I have tried resetting each individual servo speed again to 0 and it worked, but had to do several times till everything worked correctly.
I also added the desired speed in script and it worked.
I do not understand why we have to start adding all these scripts?
I was not expecting to have to do all this w EZB4.
I know there are still many more advantages to EZB4, and this will be resolved.
Steve S
I could release servos w EZB3 and later activate movement w/out reloading or reconnection.
I can not do that now, without extra work.
I did not mention the panic release button. You mentioned the reset servo speed button was next to the panic button.
I thought it was explained above, but I appreciate your help and trying to help me.
I am sure this will be resolved.
Thank You
Steve S
I understand that, but I never had to manually go to the menu bar and choose "Reset servo speeds" before, or when my robot was running.
What has changed is the question, and there is not a script to call it.
Thank You,
Steve S