hello, any knows change pin number of different parts of the robot in service inmoov

mecax

8 years 11 months ago

solved with this script:

i01 = Runtime.createAndStart("i01", "InMoov")
 
 
i01.startHead("/dev/ttyUSB0")
 
i01.detach()
 
i01.head.rothead.map(0,180,30,150)
i01.head.rothead.setRest(86)
i01.head.neck.map(0,180,15,155)
i01.head.neck.setRest(70)
i01.head.eyeY.map(0,180,80,100)
i01.head.eyeY.setRest(85)
i01.head.eyeX.map(0,180,70,100)
i01.head.eyeX.setRest(85)
 
i01.head.rothead.attach("i01.left",3)
i01.head.neck.attach("i01.left",4)
i01.head.eyeX.attach("i01.left",6)
i01.head.eyeY.attach("i01.left",5)