I have take a look at your script and mouthcontrol.setmouth() happen after the initialization of the inMoov parts so it won`t use your setting until it reach that line and use default parameters that are probably not good for you.
Try to move the setmouth() line before the startAll(). I'm not sure if it will work, but worth a try
Yesterday Myrobotlab (v7) works fine. Today, this error:
python : Traceback (most recent call last): File "<string>", line 96, in <module> AttributeError: 'NoneType' object has no attribute 'setVoice' at org.python.core.Py.AttributeError(Py.java:205) at org.python.core.PyObject.noAttributeError(PyObject.java:1013) at org.python.core.PyObject.__getattr__(PyObject.java:1008) at org.python.pycode._pyx3.f$0(<string>:346) at org.python.pycode._pyx3.call_function(<string>) at org.python.core.PyTableCode.call(PyTableCode.java:167) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1386) at org.python.core.Py.exec(Py.java:1430) at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:267) at org.myrobotlab.service.Python$PIThread.run(Python.java:161)
Something probably happended / did not work OK earlier in the script,
File "<string>", line 96, in <module> AttributeError: 'NoneType' object has no attribute 'setVoice
So when line 96 executes, it doesn't find any object that can execute the setVoice method. So something must have happend in the creation of that object. Probably mouth or sound.
Since this is just a small part of the error message, it's difficult to tell why. The best is to create a no-worky. That will upload the complete logfile and the complete script.
You can create it in Help => About => Help, it no-worky
If your jaw is barely moving,
If your jaw is barely moving, it's probably because you did not set the limits of your jaw servo correctly, watch out for not burning your servo
you can set the open and close position with the command mouth.setmouth(close, open)
Hi Calamity
I got to put several values there, but the results were the same. Is this change just in this line?
I have take a look at your
I have take a look at your script and mouthcontrol.setmouth() happen after the initialization of the inMoov parts so it won`t use your setting until it reach that line and use default parameters that are probably not good for you.
Try to move the setmouth() line before the startAll(). I'm not sure if it will work, but worth a try
Hi Calamity
This not work! But i have a new problem:
Yesterday Myrobotlab (v7) works fine. Today, this error:
python : Traceback (most recent call last): File "<string>", line 96, in <module> AttributeError: 'NoneType' object has no attribute 'setVoice' at org.python.core.Py. AttributeError(Py.java:205) at org.python.core.PyObject. noAttributeError(PyObject. java:1013) at org.python.core.PyObject.__ getattr__(PyObject.java:1008) at org.python.pycode._pyx3.f$0(< string>:346) at org.python.pycode._pyx3.call_ function(<string>) at org.python.core.PyTableCode. call(PyTableCode.java:167) at org.python.core.PyCode.call( PyCode.java:18) at org.python.core.Py.runCode(Py. java:1386) at org.python.core.Py.exec(Py. java:1430) at org.python.util. PythonInterpreter.exec( PythonInterpreter.java:267) at org.myrobotlab.service.Python$ PIThread.run(Python.java:161)
(and no make any changes!)
Any idea?
tks!
No-worky
Something probably happended / did not work OK earlier in the script,
File "<string>", line 96, in <module> AttributeError: 'NoneType' object has no attribute 'setVoice
So when line 96 executes, it doesn't find any object that can execute the setVoice method. So something must have happend in the creation of that object. Probably mouth or sound.
Since this is just a small part of the error message, it's difficult to tell why. The best is to create a no-worky. That will upload the complete logfile and the complete script.
You can create it in Help => About => Help, it no-worky
/Mats