Hi!

Sorry my english!

 

How can I increase the movement of the mouth. It's working, but the movements are imperceptible. I'm using version  '..v7.py' of MyRobotLab.

Tks!

calamity

7 years 10 months ago

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)

calamity

7 years 10 months ago

In reply to by wrobbi

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

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!

Mats

7 years 10 months ago

In reply to by wrobbi

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