Marble Mase

Hello everybody,

I am working on a project at our university in germany. We have to control the game marble maze with a ubuntu-computer, a camera, mini maestro 12 controller and two servos.
The Ubuntu-System is connected via USB to the Mini Maestro 12 Controller.

Like this:

The hardware is set up now and we also tested it with the Pololu “maestro_linux” applications. We have a programm that reads the camera input and computes two positions that we have to get into the mini maestro 12 controller.
The camera-programm is written in C++

What I am looking for is a good way to access the Mini Maestro 12 Controller from C+±Code via the Ubuntu System. Is there any good tutorial out there or instruction set how I can do that?

Thank you for your ideas!
Greetings from Germany,


That looks like a fun project. We have not written any C++ libraries or example projects, but this example from another customer might help you get started. That example uses libusb-1.0 to communicate directly with the Maestro on its native USB interface - you can look at our USB SDK for more details of the interface.

Please let us know how it goes for you and post here if you have any questions!


Hi Paul,

thank you very much for your answer. I will try it and post my results :slight_smile: