arduino erreur gestureforlondon3

17 views
Skip to first unread message

guy_Da...@hotmail.com

unread,
Mar 9, 2025, 5:33:56 AM3/9/25
to InMoov

 # InMoovArm.py
   ^~~~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:4:3: error: invalid preprocessing directive #more
 # more info @: http://myrobotlab.org/service/InMoovArm
   ^~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:8:3: error: invalid preprocessing directive #this
 # this script is provided as a basic scripting guide
   ^~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:9:3: error: invalid preprocessing directive #most
 # most parts can be run by uncommenting them
   ^~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:10:3: error: invalid preprocessing directive #InMoov
 # InMoov now can be started in modular pieces through the .config files from full script
   ^~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:11:3: error: invalid preprocessing directive #although
 # although this script is very short you can still
   ^~~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:12:3: error: invalid preprocessing directive #do
 # do voice control of a InMoov head
   ^~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:13:3: error: invalid preprocessing directive #It
 # It uses WebkitSpeechRecognition, so you need to use Chrome as your default browser for this script t
   ^~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:16:2: error: invalid preprocessing directive #leftPort
 #leftPort = "COM5"  #modify port according to your board
  ^~~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:19:3: error: invalid preprocessing directive #start
 # start optional virtual arduino service, used for internal test and virtual inmoov
   ^~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:20:3: error: invalid preprocessing directive #virtual
 # virtual=True
   ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:24:3: error: invalid preprocessing directive #end
 # end used for internal test
   ^~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:26:2: error: invalid preprocessing directive #to
 #to tweak the default voice
  ^~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:28:2: error: invalid preprocessing directive #Voice
 #Voice="cmu-slt-hsmm" #Default female for MarySpeech
  ^~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:31:2: error: invalid preprocessing directive #mouth
 #mouth.installComponentsAcceptLicense(Voice)
  ^~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:34:3: error: invalid preprocessing directive #starting
 # starting InMoov service
   ^~~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:36:2: error: invalid preprocessing directive #Force
 #Force Arduino to connect (fix Todo)
  ^~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:37:2: error: invalid preprocessing directive #left
 #left = Runtime.createAndStart("i01.left", "Arduino")
  ^~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:38:2: error: invalid preprocessing directive #left
 #left.connect(leftPort)
  ^~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:42:3: error: invalid preprocessing directive #starting
 # starting parts
   ^~~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:44:3: error: invalid preprocessing directive #Start
 # Start the webgui service without starting the browser
   ^~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:48:3: error: invalid preprocessing directive #Then
 # Then start the browsers and show the WebkitSpeechRecognition service named i01.ear
   ^~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:50:3: error: invalid preprocessing directive #As
 # As an alternative you can use the line below to show all services in the browser. In that case you should comment out all lines above that starts with webgui.
   ^~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:51:3: error: invalid preprocessing directive #webgui
 # webgui = Runtime.createAndStart("webgui","WebGui")
   ^~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:54:2: error: invalid preprocessing directive #leftArm
 #leftArm = Runtime.create("i01.leftArm","InMoovArm")
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:55:2: error: invalid preprocessing directive #tweak
 #tweak defaults LeftArm
  ^~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:56:2: error: invalid preprocessing directive #Velocity
 #Velocity
  ^~~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:57:2: error: invalid preprocessing directive #leftArm
 #leftArm.bicep.setVelocity(-1)
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:58:2: error: invalid preprocessing directive #leftArm
 #leftArm.rotate.setVelocity(-1)
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:59:2: error: invalid preprocessing directive #leftArm
 #leftArm.shoulder.setVelocity(-1)
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:60:2: error: invalid preprocessing directive #leftArm
 #leftArm.omoplate.setVelocity(-1)
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:61:2: error: invalid preprocessing directive #Mapping
 #Mapping
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:62:2: error: invalid preprocessing directive #leftArm
 #leftArm.bicep.map(0,90,45,96)
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:63:2: error: invalid preprocessing directive #leftArm
 #leftArm.rotate.map(40,180,60,142)
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:64:2: error: invalid preprocessing directive #leftArm
 #leftArm.shoulder.map(0,180,44,150)
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:65:2: error: invalid preprocessing directive #leftArm
 #leftArm.omoplate.map(10,80,42,80)
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:66:2: error: invalid preprocessing directive #Rest
 #Rest position
  ^~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:67:2: error: invalid preprocessing directive #leftArm
 #leftArm.bicep.setRest(5)
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:68:2: error: invalid preprocessing directive #leftArm
 #leftArm.rotate.setRest(90)
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:69:2: error: invalid preprocessing directive #leftArm
 #leftArm.shoulder.setRest(30)
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:70:2: error: invalid preprocessing directive #leftArm
 #leftArm.omoplate.setRest(10)
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:73:3: error: invalid preprocessing directive #tweak
 # tweak default RightArm
   ^~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:74:2: error: invalid preprocessing directive #Velocity
 #Velocity
  ^~~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:79:2: error: invalid preprocessing directive #Mapping
 #Mapping
  ^~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:84:2: error: invalid preprocessing directive #Rest
 #Rest position
  ^~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:92:2: error: invalid preprocessing directive #i01
 #i01.startLeftArm(leftPort)
  ^~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:96:2: error: invalid preprocessing directive #i01
 #i01.leftArm.setAutoDisable(True)
  ^~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:99:3: error: invalid preprocessing directive #verbal
 # verbal commands
   ^~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:116:3: error: invalid preprocessing directive #Confirmations
 # Confirmations and Negations are not supported yet in WebkitSpeechRecognition
   ^~~~~~~~~~~~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:117:3: error: invalid preprocessing directive #So
 # So commands will execute immediatley
   ^~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:126:4: error: invalid preprocessing directive #i01
   #i01.setArmVelocity("left", -1, -1, -1, -1)
    ^~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:128:4: error: invalid preprocessing directive #i01
   #i01.moveArm("left",5,90,30,10)
    ^~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:133:4: error: invalid preprocessing directive #i01
   #i01.setArmVelocity("left", -1, -1, -1, -1)
    ^~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:138:4: error: invalid preprocessing directive #i01
   #i01.moveArm("left",13,115,100,20)
    ^~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:144:4: error: invalid preprocessing directive #i01
   #i01.setArmSpeed("left", 0.80, 0.80, 0.80, 0.80)
    ^~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:146:4: error: invalid preprocessing directive #i01
   #i01.moveArm("left",0,118,29,74)
    ^~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:151:4: error: invalid preprocessing directive #i01
   #i01.setArmSpeed("left", 0.70, 0.70, 0.70, 0.70)
    ^~~
C:\Users\32497\Documents\Arduino\sketch_mar5a_copy_20250305132013\sketch_mar5a_copy_20250305132013.ino:153:4: error: invalid preprocessing directive #i01
   #i01.moveArm("left",5,90,30,10)
    ^~~
exit status 1

Compilation error: invalid preprocessing directive #InMoovArmbonjour

Reply all
Reply to author
Forward
0 new messages