Finger Starter and MyRobotLab

169 views
Skip to first unread message

Alexandre Duranton

unread,
Jul 14, 2016, 9:02:04 AM7/14/16
to InMoov
Hello everyone,

I have built the finger starter and I am trying to use MyRobotLab but I have got a problem when I am running InMoov3.minimalFingerStarter.py .

I am currently using MRL 1.0.107 and I have got JAVA 8

In the "java" tab at the bottom of myrobotlab, I have got:

77321 [Thread-7] ERROR class org.myrobotlab.framework.Service  - Python error - ------Traceback (most recent call last)

In the python tab, I have got:

---Traceback (most recent call last):  File string, line 13, in moduleAttributeError: NoneType object has no attribute autoStartBrowsat org.python.core.Py.AttributeError(Py.java:166) at org.python.core.PyObject.noAttributeError(PyObject.java:930) at org.python.core.PyObject.__getattr__(PyObject.java:925) at org.python.pycode._pyx3.f$0(string:62) at org.python.pycode._pyx3.call_function(string) at org.python.core.PyTableCode.call(PyTableCode.java:165) at org.python.core.PyCode.call(PyCode.java:18) at org.python.core.Py.runCode(Py.java:1261) at org.python.core.Py.exec(Py.java:1305) at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:206) at org.myrobotlab.service.Python$PIThread.run(Python.java:124)------


Could you please help me.

Thanks in advance

Christian Béliveau

unread,
Jul 14, 2016, 2:17:23 PM7/14/16
to InMoov
Hi Alexandre

You are trying to use a script design for a much more recent version of MRL, so the script is not support by the very old 107 version

Alexandre Duranton

unread,
Jul 18, 2016, 4:19:18 AM7/18/16
to InMoov
Thanks Christian,

I have installed the most recent version of MRL and I can run the script.

I can talk to MRL and MRL is talking to me, however the servo is not working with MRL (it's working when i am using the ide of arduino)
I have attached the logs, do you know what is wrong? Do you know what "Ack not received : SERVO_WRITE 22" means?

New I/O worker #3] [INFO] Recognized : >finger to the middle<
[New I/O worker #3] [INFO] Publish Text : finger to the middle
[python.input] [INFO] servoWrite i01.rightHand.thumb 90 index 0
[python.input] [INFO] Sending Int Array: 170,3,35,0,90
[python.input] [INFO] Ack not received : SERVO_WRITE 22
[python.input] [INFO] servoWrite i01.rightHand.index 90 index 1
[python.input] [INFO] Sending Int Array: 170,3,35,1,90
[python.input] [INFO] Ack not received : SERVO_WRITE 22
[python.input] [INFO] servoWrite i01.rightHand.majeure 90 index 2
[python.input] [INFO] Sending Int Array: 170,3,35,2,90
[python.input] [INFO] Ack not received : SERVO_WRITE 22
[python.input] [INFO] servoWrite i01.rightHand.ringFinger 90 index 3
[python.input] [INFO] Sending Int Array: 170,3,35,3,90
[python.input] [INFO] Ack not received : SERVO_WRITE 22
[python.input] [INFO] servoWrite i01.rightHand.pinky 90 index 4
[python.input] [INFO] Sending Int Array: 170,3,35,4,90
[python.input] [INFO] Ack not received : SERVO_WRITE 22
[python.input] [INFO] speak ok you have my attention
[python.input] [INFO] HTTP/1.1 200 OK
[python.input] [INFO] mp3Url http://H-IR-SSD-1.acapela-group.com/MESSAGES/012099097112101108097071114111117112/AcapelaGroup_WebDemo_HTML/sounds/31089177_e01db5556fedb.mp3
[python.input] [INFO] got HTTP/1.1 200 OK
[default:track] [INFO] playing file : audioFile\AcapelaSpeech\Ryan\cf5fd3dc4591fedb16dba88464ccaa07.mp3  mode : queued trackId : 1468760598903
[i01.mouth] [INFO] onAudioStart i01.mouth file : audioFile\AcapelaSpeech\Ryan\cf5fd3dc4591fedb16dba88464ccaa07.mp3  mode : queued trackId : 1468760598903
[i01.mouth] [INFO] publishStartSpeaking ok you have my attention
[default:track] [INFO] Audio File publishAudioEnd
[i01.mouth] [INFO] onAudioEnd i01.mouth file : audioFile\AcapelaSpeech\Ryan\cf5fd3dc4591fedb16dba88464ccaa07.mp3  mode : queued trackId : 1468760598903
[i01.mouth] [INFO] publishEndSpeaking ok you have my attention


I have got the following message at the bottom of the software: "MRLCommm expected version 34 actual is 35"


Many thanks,

Alex

Christian Béliveau

unread,
Jul 18, 2016, 7:38:15 AM7/18/16
to InMoov
Seem that you have problem communicating with the Arduino

the Ack not received : SERVO_WRITE 22 means that the arduino did not answer to the servoWrite command

you should send a noWoky so we can see your full log

in version 1412 there is a mismatch with the MRLComm version, but that should not prevent the communication to be working

Christian

Alexandre Duranton

unread,
Jul 18, 2016, 9:33:41 AM7/18/16
to InMoov
What is a noWoky?

RobotGuy6

unread,
Jul 18, 2016, 10:05:06 AM7/18/16
to InMoov
English slang for "not working"

On Monday, July 18, 2016 at 9:33:41 AM UTC-4, Alexandre Duranton wrote:
What is a noWoky?

Christian Béliveau

unread,
Jul 18, 2016, 1:26:57 PM7/18/16
to InMoov


Le lundi 18 juillet 2016 09:33:41 UTC-4, Alexandre Duranton a écrit :
What is a noWoky?

 on the help menu on the top right on MRL program, you will found a button ''Help, it no-worky''. that button will send your log file to myrobotlab.org, so we can better  assist you

Christian

Alexandre Duranton

unread,
Jul 18, 2016, 3:33:03 PM7/18/16
to InMoov
thanks, i have just done it. but this time I get "Ack not received : SERVO_WRITE 20" instead of 22
Reply all
Reply to author
Forward
0 new messages