Dynamixel Motor "Time to burn" - Learning the hard way

I just take the time to reinstall and this is what I have with this command…

poppy@poppy:~/dev/pypot$ sudo python setup.py install develop
(…)
Using /usr/lib/python2.7/dist-packages
Finished processing dependencies for pypot==2.5.0
running develop
Checking .pth file support in build/bdist.linux-armv7l/egg
/usr/bin/python -E -c pass
TEST FAILED: build/bdist.linux-armv7l/egg does NOT support .pth files
error: bad install directory or PYTHONPATH

You are attempting to install a package to a directory that is not
on PYTHONPATH and which Python does not read “.pth” files from. The
installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

build/bdist.linux-armv7l/egg

and your PYTHONPATH environment variable currently contains:

''

Here are some of your options for correcting the problem:

  • You can choose a different installation directory, i.e., one that is
    on PYTHONPATH or supports .pth files
  • You can add the installation directory to the PYTHONPATH environment
    variable. (It must then also be on PYTHONPATH whenever you run
    Python and want to use the package(s) you are installing.)
  • You can set up the installation directory to support “.pth” files by
    using one of the approaches described here:

https://pythonhosted.org/setuptools/easy_install.html#custom-installation-locations

Please make the appropriate changes for your system and try again.

I’m sorry to ask for probably such a small trouble, but I don’t speak linux…

so what can I do to fix this ?

Indeed it is my bad:
the command lien is python setup.py develop

Ok, sounds good now !
Thank’s !

you think Poppy can now stand on his knees for a longer period ?

It should stand for longer period and warn you if there is an overheating.

(did you update all packages ?)

If by all the package you mean following this

cd ~/dev/pypot/
python setup.py develop

cd ~/dev/poppy-humanoid/software/
python setup.py develop

as a blind monkey, yes, I did it

and I just try to stand poppy on his knees and very few time later (around 2 min, a sound alert was raised !!!) so I immediately power off poppy…

but it don’t seem to come from the knees, they’re not hot (and don’t seem to be powered up - “asservis”) after I asked the sit position

ok, I know now, the overheating motor, I have this warning message

poppy.Playing WAVE ‘/home/poppy/dev/poppy-humanoid/software/poppy_humanoid/media/sounds/error.wav’ : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
head_y overheating: 51.0

Yep the default temperature limit is pretty low, you can dynamically change it doing something like:

from poppy.creatures import PoppyHumanoid
poppy = PoppyHumanoid()

poppy.temperature_monitoring.temp_limit = 55

Also for the moment, I have the same temp_limit for all motor but the “head_y” one is always more hot than others and it is normal. It would be maybe better to have specific temp_limit per motor groups.

Yet it is great to know that this feature is working on an other Poppy :slight_smile:

For sure !
I can’t offer to miss the others alarms if this one is continuously ringing :smile:

and maybe, as an example, 250 is not really a good limit set… think about the monkeys as me :relaxed:

1 Like

I updated the code and removed the head motors from the temperature monitor primitive.
You can git pull the poppy-humanoid repo and it should do the job until we find a good way to handle different temperature limits for each motor

We found a way to easilly install and update the libraries directly from the github repos by using pip. I share with you hoping it can help (not sure the uninstall is necessary, but doesn’t harm).

1 Like