I have a feeling that MouthControl is consuming servos at an alarming rate.
I think Gael has had 6, and MastaBlasta had 2 ..  Most likely there have been even more casualties...

I have a feeling I might know why this is happening, and I would like to refactor this service.

I think min & max is being incorrectly reset - I would like to simplify some of the structure and remove the resets.

It would probably be good to have some form of coordination... but I am unsure how to communicate the changes except through a blog post...

If anyone has ideas let me know (bhouston once mentioned flashing sign warning of MRLComm ver 18 & 19) 

hairygael

10 years 2 months ago

That would be great Grog!

In the meantime, I have removed all eyes and jaw positions in all my gestures, this way the only way the eyes and jaw are receiving pulse is when tracking and talking.

Hopefully this will save my last servo until you simplify the mouth control service.

 

bhouston

10 years 2 months ago

It seems to me that we might have 2 settings fighting against each other for the jaw movement.
 
In the code below there is min/max for the jaw (I have this in the startup part of my scripts);
 
i01.startMouthControl(leftPort)
i01.head.jaw.map(60,75,60,75)
i01.head.jaw.setMinMax(75,60)
i01.mouthControl.setmouth(75,60)
i01.mouthControl.setdelays(60,295,50)
 
In the line below is the head X & Y, the eyes X & Y, and the jaw setting at rest (on mine)
 
 i01.moveHead(90,90,80,90,75)
 
So if the jaw is set to a value in the above line, how can it move to a different value to do text to speech?
 
I have had some problems when writing scripts since the value for the jaw has been added to the "i01.moveHead" line. I wonder if it needs to be there. I still have the original HS-311 servo I put in my InMoov jaw when I built it.
 
 

Hi Bob,

I figure the same thing, and that is why I removed all positions values in my gestures like this:

i01.moveHead(90,90)

I don't use the mapping on the jaw because it restrains too much the jaw movements for some reason.

So you mean the HS-311 servo has never burned? Mmmh, I maybe should get one of those for the jaw.