Skip to content

CONFIG FILES DOCUMENTATION

Anthony edited this page Nov 16, 2017 · 48 revisions

*** Technical description ***
*** TODO NEED SOME UPDATES ***

In the script all personal parameters are stored into config files.
Personal parameters are for example : servo map, arduino ports, language etc...
On first start, config files have a .default extension and are renamed to .config, only if a .config file does not exist.
It is useful to easily update the whole script anytime, without losing personal parameters.

MAIN CONFIGURATION

Inside main folder (myrobotlab\inmoov\config_inmoov.config)

Main > Hardware mode ( setup your com ports inside service_6_Arduino.config ) ScriptType=Virtual
; RightSide: Also called FINGERSTARTER : connect one arduino ( called right ) to use FingerStarter + inmoov right side
; LeftSide: connect one arduino ( called left) to use head / inmoov left side
; NoArduino: vocal Only, useful to test chatbot ; Full: Both side arduinos connected
; Virtual: virtual arduino and inmoov !

TTS > Language of ear,mouth and chatbot folder
MyLanguage=en
; en,fr,es,de,nl,ru,hi

MyvoiceTTS > text to speech engine
MyvoiceTTS=MarySpeech
; you can use MarySpeech,Polly,VoiceRss,LocalSpeech,IndianTts

MyvoiceType > Name of the tts voice
MyvoiceType=cmu-bdl-hsmm
; Voices are automatic donwloaded ; MaryTTS voices - take HSMM ones - http://myrobotlab.org/content/marytts-multi-language-support ; amazon polly : https://github.com/MyRobotLab/inmoov/wiki/POLLY-TTS AWSAccessKeyId=XXX
AWSSecretKey=XXX/YYY
; voiceRss use language only cant change the voice VoiceRssApi=XXX ; LocalSpeech : use local windows voices ( 0,1,2 etc ) print mount.getVoices() ; LocalSpeech : use local macOs say command ; IndianTts IndianTtsApi=
IndianTtsUserId=

[VOCAL]
IsMute ( don’t speak about robot startup routine )
IsMute=False
True / False ;talk about starting actions

[GENERAL]
LoadingPicture > myrobotlab logo at startup
True / False
StartupSound > custom sound at startup
True / False
IuseLinux > some things dont work on mac and linux like marytts voice automatic download True / False
LaunchSwingGui > chose if SwingGui opens up, you can disable it to speedup the system ?
True / False
BetaVersion > ;develop branch updates True / False


ARDUINO CONFIGURATION

inside service_6_Arduino.config [ARDUINO]
MyRightPort=COMX
MyLeftPort=COMX


SKELETON CONFIGURATION

[SERVO_MINIMUM_MAP_OUTPUT] > your servos minimal limits
[SERVO_MAXIMUM_MAP_OUTPUT] > your servos maximal limits
[SERVO_REST_POSITION] > the position your want the servo to move to when you call a servo.rest()
[MOUTHCONTROL] > activate a software jaw movement while robot speaking
[AUDIOSIGNALPROCESSING] > realtime jaw movement based on signal audio
[SERVO_INVERTED] > you can invert a servo here
[MINIMUM_MAP_INPUT] > used to tweak the map calculation
[MAX_VELOCITY] > The maximum speed your servo can move without breaking anything [SERVO_PIN] > force a non standard Inmoov pin


SERVICES CONFIGURATION

NeoPixel.config :

isNeopixelActivated > functionality activation
True/False
NeopixelMaster > On which arduino RX/TX the neopixel is connected ?
left/right
NeopixelMasterPort > On which RX/TX port the neopixel is connected ? COMx for usb / Serialx for rx-tx ( Serial is case sensitive ) pin > On which pin the neopixel is connected ?

NervoBoardRelay.config :

Useful to control the power of your nervoboard with a relay

PIR.config :

Human presence detector
[MAIN]
isPirActivated=True

;which arduino controls the pir :
PirControllerArduino=right
PirPin=23

[TWEAK]
;5 minutes after presence detected
HumanPresenceTimeout=300000

OpenCv.config :

[MAIN]
isOpenCvActivated=False
faceRecognizerActivated=True
;Activate faceRecognizer filter if tracking activated ...


;----------------------------- INMOOV LIFE and AUTOMATION ----------------------------------------
Inside InmoovLife folder --> wip (work in progress)

[HEALTHCHECK] > wip robot health check
Activated=True
TimerValue=60000

[MOVEHEADRANDOM] > random move the head while speaking
RobotCanMoveHeadWhileSpeaking=True

Clone this wiki locally