-
-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vinMoov wrong servo direction #71
Comments
there is a way to set the angles of the vinMoov part to fit better the
actual angles of real inMoov.
InMoov.vinMoovApp.setMinMaxAngles(String partName, double min, double max)
where min and max are 'real' angle the vinMoov part will take when servo is
at min or max.
the partname mapping to servo can be found there
https://github.com/MyRobotLab/myrobotlab/blob/develop/src/org/myrobotlab/service/InMoov.java#L1790
I know that did not follow InMoov convention, and want to change the
partName, but never had the chance.
The default parameters I use correspond to what I have for my InMoov, but I
use a lot of hs805 and hk15388 so the mapping between real angle and servo
MinMax may not correspond to a 'standard' InMoov build
By example, for my midTorso servo, I can turn it to about 75 degrees on
each side (and that's how the parameters for vinMoov are set) I know it is
more than what you specify in the BOM page, but I have no idea what angle
your inMoov actual can turn is torso.
Le jeu. 4 mai 2017 à 19:46, Langevin Gael <notifications@github.com> a
écrit :
… VinMoov is great and I really love that stuff!!!
It will GREATLY help a lot of people to see what issues they might have
with their robot calibrations.
But to drive them in the correct direction, vinmoov has to be correct.
Here are the things that should be corrected:
-vinMoov jaw is moving opposite than real InMoov (but maybe this is
related to the current issue with mouthControl. Real InMoov Jaw doesn't
work properly)
-vinMoov rotHead turns opposite direction than the real InMoov.
-vinMoov wrists are turning opposite direction than real InMoov.
-vinMoov lowStomach is turning much more than real InMoov. (hard to
define, but it's almost twice as much)
My version of MRL is 1.0.2142, using InMoov repo.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#71>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQ8xSJsYCAiKsLj9s5phxHrYye98Q_AJks5r2mM5gaJpZM4NRWOM>
.
|
From Calamity on post MyRobotLab/InMoov/issues/54# _no, that line is just a linker so I could make your way of mapping servo to work with vinMoov. I eventually want to remove that lineBetter work on how the joint is define rotationMask = ... the value -1 or 1 define the orientation of the rotation (clockwise or counterclockwise) playing with those two value is better in the long term_ Okay thanks that makes sense. node = new Node("LWrist"); |
node = new Node("RWrist"); So I tried to modify (-1) to (1) but that is not what I desire as result. This affects the initial angle, which means the right wrist is opposite positionned at start of VinMoov. |
I need more information. So, lets start with that - should the very important, official, auto-tested, Service Script (https://raw.githubusercontent.com/MyRobotLab/pyrobotlab/develop/service/InMoov.py) automatically start virtual InMoov ... my vote yes... If we all agree on that, then we can discuss what else should automatically start, or details of progressively starting other parts. After we start from the same place, we can discuss and easily observe the same problems. |
I think we are talking about full script from inmoov repo. who just launches lot of standardized mrl core services / optional skeleton parts / and virtual inmoov by default. Because that some people use. |
Service script Inmoov.py updated to launch virtual Inmoov |
Hello Greg,
Currently there is no more full script for InMoov. Not even in the
inmoov-develop repo. (The only full scripts are on my pyrobotlab page
<https://github.com/MyRobotLab/pyrobotlab/tree/master/home/hairygael>, but
I do not link or suggest them anymore to builders)
In the inmoov-develop, we have a set of script (which I hope still work) to
launch each part of the robot, finger starter, hand, head, arm, torso.
These scripts are usefull when building InMoov and also for understanding
how a simple script works and what it does.
https://github.com/MyRobotLab/inmoov/tree/develop/InMoov/testScripts
With the inmoov-develop, using the config files, it makes it easier for
most newbie to launch various parts or the full robot, without having a
script of 20 miles long.
With the START-INMOOV.bat, VinMoov is launched by default.
As Anthony suggest, in the future we will keep a default hardware
configuration as main option.
But we also need to give the opportunity to play with other components
which have services available in MyRobotLab.
That will be after Manticore.
Gael Langevin
Creator of InMoov
InMoov Robot <http://www.inmoov.fr>
@inmoov <http://twitter.com/inmoov>
2017-10-23 13:51 GMT+02:00 Anthony <notifications@github.com>:
… Service script Inmoov.py updated to launch virtual Inmoov
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIF2xxGs5aSTLJnCarlvT7uUE0VfHnqjks5svH27gaJpZM4NRWOM>
.
|
Regarding the wrist, I had modified something in java land for to fix it,
but I haven't downloaded the pushed version so I have no idea if it turns
in the correct direction.
e01a0fe
Gael Langevin
Creator of InMoov
InMoov Robot <http://www.inmoov.fr>
@inmoov <http://twitter.com/inmoov>
2017-10-24 13:43 GMT+02:00 gael langevin <hairygael@gmail.com>:
… Hello Greg,
Currently there is no more full script for InMoov. Not even in the
inmoov-develop repo. (The only full scripts are on my pyrobotlab page
<https://github.com/MyRobotLab/pyrobotlab/tree/master/home/hairygael>,
but I do not link or suggest them anymore to builders)
In the inmoov-develop, we have a set of script (which I hope still work)
to launch each part of the robot, finger starter, hand, head, arm, torso.
These scripts are usefull when building InMoov and also for understanding
how a simple script works and what it does.
https://github.com/MyRobotLab/inmoov/tree/develop/InMoov/testScripts
With the inmoov-develop, using the config files, it makes it easier for
most newbie to launch various parts or the full robot, without having a
script of 20 miles long.
With the START-INMOOV.bat, VinMoov is launched by default.
As Anthony suggest, in the future we will keep a default hardware
configuration as main option.
But we also need to give the opportunity to play with other components
which have services available in MyRobotLab.
That will be after Manticore.
Gael Langevin
Creator of InMoov
InMoov Robot <http://www.inmoov.fr>
@inmoov <http://twitter.com/inmoov>
2017-10-23 13:51 GMT+02:00 Anthony ***@***.***>:
> Service script Inmoov.py updated to launch virtual Inmoov
>
> —
> You are receiving this because you were assigned.
> Reply to this email directly, view it on GitHub
> <#71 (comment)>,
> or mute the thread
> <https://github.com/notifications/unsubscribe-auth/AIF2xxGs5aSTLJnCarlvT7uUE0VfHnqjks5svH27gaJpZM4NRWOM>
> .
>
|
Thanks Anthony & Gael, While this upcoming change is very desired it means a lot of fundamental changes to mrl. What do we have verify things work the same as before with all these changes ? Auto-magic elves and service scripts ! This is the only real way of preserving stability and workiness with such limited resources. So, this is the reason why I'm interested in service scripts testing all the parts we want to keep stable. It's the automated tests which will keep our ship stable as we roll into uncharted areas. Anything we add to the service scripts is tested every build. There is a lot of great ideas & work in the batch files & "building" scripts. Perhaps more parts of those can be incorporated into the service scripts too. We all want worky, and if its tested all the time the more likely it will be worky. @moz4r - thanks virtual inmoov starts now in the service script. ...goodtimes... |
Understand and agree with the roadmap ! I can set inmoov repo script "Auto-magic elves friendly" and call it from Inmoov service script ( full ). In all cases it will be very useful to auto test it... Other thing about duplicates, But we can use this unique reference place after fusion : Because that is used for documentations |
Sorry, I don't understand moz4r ... auto-testing elves are very rigid but reliable. They will look at "all" the services, and expect a pyrobotlab/service/{serviceName}.py to test. If stuffs can be virtualized, potentially quite a lot of stuffs can be tested within the script. For example, I have found some services explode on serialization when they run and "do something useful" .. which is different from when the script only starts them. Testing a service in use is much better than just testing the starting of a service. Copies of scripts are not as desirable and normalized code, because at some point "one of the copies" will be wrong. I'm not interested in "configurable" auto-elves to test scripts outside of /service/ directory, because I got it setup where its all automatic (the price to pay for rigid yet reliable auto-testers). The pyrobotlab/service/scripts are (or will be) hooked up to "examples" .. so documentation in the scripts is very useful, even if auto-elves don't read it. |
Gael
Rotation mask regulate the rotation and angle is the initial angle the
piece will take at startup in that way of rotation.
In another word. In your example. You said turn -90 clockwise at startup.
In you change only the rotation. You end up starting at -90 anticlockwise.
Thats why the wrist is turn on the wroung way
Christian
Le 17 juin 2017 14:51, "Langevin Gael" <notifications@github.com> a écrit :
… node = new Node("RWrist");
rotationMask = Vector3f.UNIT_Y.mult(-1);
So I tried to modify (-1) to (1) but that is not what I desire as result.
This affects the initial angle, which means the right wrist is opposite
positionned at start of VinMoov.
What I try to achieve is that when it rotates, instead of going anti clock
it goes clock wise.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#71 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQ8xSKaNuZeitTJVwqyR21jSxpbRY6NJks5sFCBGgaJpZM4NRWOM>
.
|
This is a very old ticket ... Closing if no activity.... |
VinMoov is great and I really love that stuff!!!
It will GREATLY help a lot of people to see what issues they might have with their robot calibrations.
But to drive them in the correct direction, vinmoov has to be correct. Here are the things that should be corrected:
-vinMoov jaw is moving opposite than real InMoov (but maybe this is related to the current issue with mouthControl. Real InMoov Jaw doesn't work properly)
-vinMoov rotHead turns opposite direction than the real InMoov.
-vinMoov RightHandWrist is turning opposite and not set at correct angle. LeftHandWrist is not set at correct angle.
-vinMoov lowStomach is turning opposite and more than real InMoov. (hard to define, but it's almost twice as much)
My version of MRL is 1.0.2142, using InMoov repo.
Let me know what you require to get the best results. Pictures to compare?
The text was updated successfully, but these errors were encountered: