org.myrobotlab.swing.InMoovGui - can't process [start head]

Hi,

I 'am still slowly trying to learn the software but have come into another problem, by any chance will anyone know what I need to look at to try and get the head working, I have an Arudino mega 2560 setup as the left side, I can start the left hand and that all works fine but when I try and start the head I get an error

[AWT-EventQueue-0] ERROR class org.myrobotlab.swing.InMoovGui - can't process [start head]

Myrobot lab version 1.0.2577

 

Thanks

Matt

 

 

Humanoid's picture

Servo debugging

First thing I would do is double check they are all attached to the correct pin numbers (assuming you are not using Nervo Boards).

Have you verified that there is power going to those servos? I mean can you hear any sound from them at all such as buzzing etc?

Have you tried swapping out wires in case there is a break in one of them?

It's handy to have a second Arduino around, even a cheapo fake one, in case there is a dud pin on your Mega. I have had that happen for no apparent reason.  You could also move it to another pin and change the script to test that. 

Are you using enough power for all servos? 

Are all the services being created in MRL, either by you or automatically via the script? There should be one for each servo. 

 

matthewgill's picture

Hi, Thanks for the reply, I

Hi,

Thanks for the reply, I have double checked all the wires and pins are correct, I have a few arduinos and tried different ones still get the same.

The motors all work fine when I use a script to set the initial position, running a separate psu for all the motors.

Iam using the Inmoov script to start all the services, when I click on start left hand enter the port number in the prompt (have checked it is set to right port number and arduino in the config file and set to Leftside) I then have the individual services for each finger and they work, but soon as I click on start head I get the error message straight away in the dos box

 

Thanks

Matt 

hairygael's picture

In the Main Config replace

In the Main Config replace LeftSide by Full.

https://github.com/MyRobotLab/inmoov/blob/develop/InMoov/config/_InMoov....

This will get the head and the left hand working. Nota: You need to have two Arduino connected when selecting "Full".

[MAIN]
ScriptType=Full

Also make sure you have the head activated in your skeleton.head.config:

https://github.com/MyRobotLab/inmoov/blob/develop/InMoov/config/skeleton...

[MAIN]
isHeadActivated=True
matthewgill's picture

Hi, Sorry for the delay

Hi,

Sorry for the delay things have gone a bit crazy for me the last few days, the solution was the line

isHeadActivated=True

mine was set to false, no matter how many times I looked at the ocnfig file never noticed that part, changed to True and motors all worked, did not need to set to full, tried it with just left side

Thanks again for the help

Matt