Not able to find the motors with odroid

We have installed the odroid with the basic pypot image with the webinterface and we use the usb2ax contoller.
The motors of the poppy humanoid are connected and we did not change anything.

But in the webinterface we get this error:

Attempt 1 to start the robot...
Connection to the robot failed! No suitable port found for ids [31, 32, 33, 34, 35, 36, 37, 41, 42, 43, 44, 51, 52, 53, 54]. These ids are missing [32, 33, 34, 35, 36, 37, 41, 42, 43, 44, 51, 52, 53, 54, 31] !
Attempt 2 to start the robot...
Connection to the robot failed! No suitable port found for ids [31, 32, 33, 34, 35, 36, 37, 41, 42, 43, 44, 51, 52, 53, 54]. These ids are missing [32, 33, 34, 35, 36, 37, 41, 42, 43, 44, 51, 52, 53, 54, 31] !
Attempt 3 to start the robot...
Connection to the robot failed! No suitable port found for ids [31, 32, 33, 34, 35, 36, 37, 41, 42, 43, 44, 51, 52, 53, 54]. These ids are missing [32, 33, 34, 35, 36, 37, 41, 42, 43, 44, 51, 52, 53, 54, 31] !
Attempt 4 to start the robot...
Connection to the robot failed! No suitable port found for ids [31, 32, 33, 34, 35, 36, 37, 41, 42, 43, 44, 51, 52, 53, 54]. These ids are missing [32, 33, 34, 35, 36, 37, 41, 42, 43, 44, 51, 52, 53, 54, 31] !
Attempt 5 to start the robot...
Connection to the robot failed! No suitable port found for ids [31, 32, 33, 34, 35, 36, 37, 41, 42, 43, 44, 51, 52, 53, 54]. These ids are missing [32, 33, 34, 35, 36, 37, 41, 42, 43, 44, 51, 52, 53, 54, 31] !
Could not start up the robot...
Traceback (most recent call last):
  File "/home/poppy/.pyenv/versions/2.7.11/bin/poppy-services", line 9, in 
    load_entry_point('poppy-creature==1.8.1', 'console_scripts', 'poppy-services')()
  File "/home/poppy/.pyenv/versions/2.7.11/lib/python2.7/site-packages/poppy/creatures/services_launcher.py", line 179, in main
    with closing(start_poppy_with_services(args)):
  File "/home/poppy/.pyenv/versions/2.7.11/lib/python2.7/site-packages/poppy/creatures/services_launcher.py", line 38, in start_poppy_with_services
    raise exc_inst
IOError: Connection to the robot failed! No suitable port found for ids [31, 32, 33, 34, 35, 36, 37, 41, 42, 43, 44, 51, 52, 53, 54]. These ids are missing [32, 33, 34, 35, 36, 37, 41, 42, 43, 44, 51, 52, 53, 54, 31] !

Hello Romke,

I have 2 questions :

  • have you configured the motors ? (ID, baudrate = 1000000, return delay time=0)
  • is the power supply well connected to the motors ?

Yes, the motors have been configured with the right ID and baudrate.

But the strange thing is, when I run a python script the motors work. Only the website gives the error and the motors are not showing up in the monitor page.

Do you have any idea?

There might be an instance of pypot/robot running but i’m not sure, maybe you can try restarting kernel in the webpage. But it’s weird that it works in a python program but not in the webpage.

maybe @Pierre or @Theo could help you

Only one Python instance can communicate with motors at a time, if you already instanciated a Torso on Jupyter notebook, the web interface could not work. You have to restart your kernel to fix it.
Anyway, you can start the HTTP Api from your notebook with

from poppy.creatures import PoppyTorso
robot = PoppyTorso(use_http=True)

And you will be able to see the motors in Poppy Monitor.

Greetings, Theo.

I know this is a very old topic, but I’ve been facing the exact same error lately with a Poppy Humanoid from that generation.
I didn’t want to create a new issue to avoid references to this case.

I checked every single motor on its own, and all of them connected in tandem. I used Dynamixel Wizard 2.0. Every single motor responds normally.
I also checked if the XU4 board reads both USB2AX devices as ttyACM*. It does.
Both power supplies are fully functional and working, as well as the hubs.
I tried instancing a PoppyHumanoid from the Jupyter Notebook and it throws back the same error. I also checked for instances to avoid more than one running.
I’m currently running the 2016 release for the XU4 board. The 2018 one does not work for some reason.
I’ve tried both before and after upgrading the Ubuntu packages (apt). Nothing changed.

Could you give me some insight about this issue?

Thank you all very much for your amazing work here on the Poppy Project.

Hi @fredward65,

Many bugs have been fixed since this image of 2016, including some that impact motor detection of the Humanoid.

The last up-to-date image from last month only works for Raspberry Pi 3 and 4, however you may want to update your Poppy software from the last working image for XU4. The “update” button from the GUI is preferred but it hasn’t been tested in Odroid since this board is no longer supported ; however in case of complication you might also pick pieces of bugfixes from pypot to be installed in /home/poppy/dev.

Greetings @Yoan,

Thanks for replying.

So I tested the “Update” button, and it stops because of some certificate issues with the GitHub download script. I guess it’s a matter of tweaking the script so it doesn’t check for a certificate. I have no clue how to do that, tho.

I’ll try with your second suggestion regarding pypot bugfixes. I’ll let you know if I get something from that.

There is no such “check for certificate” for Poppy. However, establishing a HTTPS communication with github could fail, e.g. if your computer’s date or clock is incorrect. Make sure your Odroid has the right time.

Also try wget https://github.com and/or curl -lv https://github.com that might give you clues in case the communication with github is broken.

You are right. I was missing the time zone setting.
However, after setting up the clock, the Start Update button yields a 500 Internal Server Error, and no update process runs afterwards.

@fredward65 It’s probably too old to update with that button.

Another option would be to download a fresh OS image for the XU4 and use the odroid-poppysetup script to install Poppy software. This way you would get the last version, but it may need a bit of tweaking since they it is no longer maintained.

@Yoan I see. Thanks for the suggestion.

Which version of the XU4 OS do you suggest in order to use the raspoppy setup? I already tried both 20.04 and 18.04, no luck.

The Ubuntu MATE 18.04.3 desktop image looks great.

I pointed raspoppy scripts but of course these are made for a raspberry pi as the name suggests! I meant odroid-poppysetup instead. However since the Odroid is now unsupported the scripts have not been updated for years, so make sure you understand them first and you might have to bring some corrections.

Perfect, 18.04.3, noted.

Sure, @Yoan! I got right away the corresponding script for Odroid boards. I meant it didn’t work right away, and I see now that I would need to make some adjustments for it to run properly.

I will keep you posted if I get any luck tweaking the odroid-poppysetup.

Thanks again for your suggestions.

1 Like