Hello, I tried to install poppy software on a raspberry pi 3 using instructions here https://github.com/poppy-project/raspoppy. I was expecting to start from here and install poppy-ergo via “pip install poppy-ergo”. All goes well but when I try to get access to the robot via jupyter I got this error message :
ImportError Traceback (most recent call last)
in ()
1 # Create Ergo Creature
----> 2 from poppy.creatures import PoppyErgo
3 ergo = PoppyErgo()
4
5 # Release All Motors
Whatch out! The RPI3 don’t have clock independant UART on the main header, you could have somes problem to communicate with XL320 using Pixl board. If it’is your case you can manage it with “device tree” and use the uart of bluetooth…
The issue come from PoppyErgo != PoppyErgoJr, and PoppyErgo was not in existing creatures, the issue should be fix soon (I made a PR). Thanks for the report.
Thanks @Theo, checking the poppy-creature files would have been my next step
@Nicolas could you be more precise ? Do I understand that they dowgraded the UART capabilities from RPi2 to RPi3 ? And if so is there a step-by-step procedur to switch to the BT UART ? and does this mean we cannot use BT and the Pixl Board at the same time ?
While my question was about Poppy Ergo (the orginal one), I intend to work also with the Ergo Jr so I’m very intersted to know more about this.
The bluetooth on the RPI3 need to comunicate with the main processor by UART so they choose to use a “mini UART” on the official uart pinout. The “mini UART” don’t have fixed speed communication and this is not working with robotis motors. To use Pixl you will need to “overlay” the uart of the bluetooth, to be more explicit you need to disable your bluetooth to communicate with dynamixel motors through a Pixl.
Raspberry do something to simplify the workaround from the Raspbian Jessie release dated of 2016-03-18.
OSC or Open Sound Control (http://opensoundcontrol.org) is a network protocol used in many art and multimedia application. It allows communication of basic data beetween devices and programs mostly over udp. It’s implemented in many porgramming environment such as : pure data, max/msp, vvvv, processing, arduino, python…
I developped a python script to control a Poppy Humanoid last september and a Poppy Ergo last week. It allow me to use extended control over those two Poppy Creature thru Max/MSP which dispatch information from many devices : DMX Lights, Kinect, Wiimotes, Keyboards, Voices, Myo Armband, HID Controller, etc… Max/MSP is my main prototyping IDE actually.
I’m not an expert with python so it’s very rough for now, and I’d like to clean it to get at least a primitive for each creatures.