InMoov rest position

Running Gael's simple python script my right shoulder moves to probably 20 degrees instead of my expected 90 degrees (straight down).

Got lost in trying to see where I could adjust that. 

Where would I start to see what code executes when this line triggers?

ear.addCommand("rest", i01.getName(), "rest")

 

wvantoorn's picture

Without information about the

Without information about the script, we cant do anything, please post your script here, so we can see what you are talking about.

The more info, detailed and clear, the fastest we can help you get your inmoov up and running the way you want it to!

And Welcome Juerg

Alessandruino's picture

i01.rightArm.shoulder.setRest

i01.rightArm.shoulder.setRest(90)

i01.rest()

juerg's picture

Rest Position

Thanks for the hint.

Could you also point me to instructions how to look at the code of module/service i01?

MaVo's picture

Hey, i01 isn't a service,

Hey,

i01 isn't a service, it's a variable/instance from the InMoov service (at least that is what it is often used for).

You can find implementations in the Java code for the InMoov service in InMoov.java (src/og/myrobotlab/service/InMoov.java) <- for integrated functions or

in your script under the specific method name <- for custom functions

juerg's picture

script

the script I use is 

InMoov2.Minimal.py