Skip to content

HOWTO USING SCRIPT INMOOV MINIMAL

Anthony edited this page Aug 30, 2017 · 19 revisions

INMOOV MINIMAL

Inmoov minimal is a modulable skeleton configuration, based on your current Inmoov progress.

Summary :

  • SETUP
  • CONFIGURATION
  • VOCAL COMMANDS

SETUP


Prerequisites are a working fingerstarter configuration :

https://github.com/MyRobotLab/inmoov/wiki/HOWTO---USING-SCRIPT--FINGERSTARTER


CONFIGURATION


This is some exemples:

1/ I want to use leftArm + leftHand and I have only one arduino

  • file Inmoov.config

[MAIN]
ScriptType=LeftSide
[ARDUINO]
MyLeftPort=COM3

  • file leftHand.config

[MAIN]
isLeftHandActivated=1

[SERVO_MINIMUM_MAP_OUTPUT]
;your servo minimal limits
thumb=0
index=0
majeure=0
ringFinger=0
pinky=0
wrist=0

[SERVO_MAXIMUM_MAP_OUTPUT]
;your servo maximal limits
thumb=180
index=180
majeure=180
ringFinger=180
pinky=180
wrist=180

2/ I want to use torso on the left arduino + right hand on the right arduino

  • file Inmoov.config

[MAIN]
ScriptType=Full
[ARDUINO]
MyLeftPort=COM3
MyRightPort=COM4

  • file torso.config
    you can chose "left" or "right" into TorsoConnectedToArduino parameter

[MAIN]
isTorsoActivated=1
TorsoConnectedToArduino=left

[SERVO_MINIMUM_MAP_OUTPUT]
;your servo minimal limits
topStom=60
midStom=60

[SERVO_MAXIMUM_MAP_OUTPUT]
;your servo maximal limits
topStom=120
midStom=120


VOCAL COMMANDS
ear.addCommand(u"look on your left side", "python", "lookleftside")


There is some preprogrammed globalised vocal commands samples in this file :

https://github.com/MyRobotLab/inmoov/blob/master/Inmoov/inmoovVocal/ear.addCommand/minimal_english.py
https://github.com/MyRobotLab/inmoov/blob/master/Inmoov/inmoovVocal/ear.addCommand/minimal_french.py
...