Asked
— Edited
Resolved by DJ Sures!
hi everybody
I need some clarification on setting initial servo positions and also setting min-max positions [for an InMoov].
I see that I can use a script to set initial servo positions and run this scrip on start up from the "connection" panel. Also I can possibly do the same thing using the "servo profile" configure and advanced tabs.
My first question is - which would take preference and would they conflict with each other?
Second question - the auto-position panel would override any preset min-max position anyway? Is there away to retain min-max settings of a servo permanently?
thanks
Lorn
The same question was asked about a week ago... see the thread below for more information... FYI... Once the servo min max positions are set in a script they won't be overwritten by any other control... Servo limit settings min & max positions
Do not use a servo profile to create frames or initialization of your robot. servo profile should never be used for an InMoov because there's no need for calibration as it's a complete custom build. Erase the concept of a servo profile from your mind for InMoov
Servo limits can be set using the EZ-Script commands. Additional information is found in the EZ-Script manual for these two commands...
Do not use Servo() commands to "initialize" the servo positions of your robot. Since you should be using the Auto Position control for creating animations, use the ControlCommand() to initialize the robot into position
The Auto Position contains a pre-loaded frame titled "STAND". Use the STAND frame as your initialization. For example, set the STAND frame to servo positions that are safe for your robot joints. Generally the STAND is all 90 degree positions, where the robot is in a cross pose, with its arms out. Some people call it the Jesus pose.
Hi DJ and Richard Thank you both for such quick and clear answers! All makes sense. kind regards Lorn
@lorncampbell As DJ mentioned inMoov is a custom robot so forget about servo profiles or pretty much any standard Revolution robot setup(s)... Set your servo limitations in an init script to be run before any other control or script... Then use the autopositioner to create your movements...
I just finished doing this for mine. I used a single servo slider control to individually test each servo and establish its limits. It took some time but gave me piece of mind before I started the AutoPosition frames. Prior to that when I tried to enter a frame the servos went everywhere.
Hi Richard & Perry Thanks for that regards Lorn
All now understood!