Skip to content
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

Virtual InMoov resting wrongly. #195

Open
80avin opened this issue Jun 3, 2019 · 1 comment
Open

Virtual InMoov resting wrongly. #195

80avin opened this issue Jun 3, 2019 · 1 comment

Comments

@80avin
Copy link

80avin commented Jun 3, 2019

Problem: On giving "relax" command, the arms of virtual InMoov are going too much backward, i.e. the shoulder joint is resting at lower than expected value.
Description: I've written [SERVO_MINIMUM_MAP_OUTPUT], [SERVO_MAXIMUM_MAP_OUTPUT] & [SERVO_REST_POSITION] angles for the servos, and I keep Virtual Inmoov to be always running with Full InMoov. Also, I've changed the values being written in relax.py file according to the formula :

value = (MAXIMUM_INPUT-MINIMUM_INPUT)/(MAXIMUM_OUTPUT-MINIMUM_OUTPUT)*(REST_POSITION-MINIMUM_OUTPUT)+MINIMUM_INPUT

which is a simple formula for linear mapping. But, still, the arms of Virtual Inmoov are going too much backward.

My configs for right arm are

[SERVO_MINIMUM_MAP_OUTPUT]
;your servo minimal limits
bicep=15
rotate=75
shoulder=70
omoplate=10
[SERVO_MAXIMUM_MAP_OUTPUT]
;your servo maximal limits
bicep=90
rotate=180
shoulder=180
omoplate=70
[SERVO_REST_POSITION]
bicep=15
rotate=120
shoulder=100
omoplate=10

@hairygael
Copy link
Contributor

hairygael commented Jun 3, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants