Eddie Control via Linux system
Julierme Ara
Posts: 3
The intent in my project is to obtain and send information to the control board Eddie through a Linux system. No need to use Microsoft Robotics Developer Studio 4 (RDS4).
Typically, in the windows, would use a driver and/or a library of functions to make the USB connection to a control board.
In Linux, how will this connection?
Could someone give me a hint or point to a path?
Thank you for listening.
Typically, in the windows, would use a driver and/or a library of functions to make the USB connection to a control board.
In Linux, how will this connection?
Could someone give me a hint or point to a path?
Thank you for listening.
Comments
- Linux version: Ubuntu 10.04;
- Linux running on a notebook;
This is a drive to be studied.
I will also be looking at other possibilities.
Once you have the name of the COM port, Eddie is controlled via some simple text messages called the Eddie Command Set which are easy to parse which are documented in the linked PDF. You can write your own 'driver' for Eddie by talking to the COM port and sending/receiving these messages.
You'll still have to find yourself a programming environment on Linux that supports talking to the COM port. You have a couple of choices, such as C/C++, nodejs, or python.
I've attached a file that uses Python to connect to the serial port. It's a little messy, but shows a simple and cross platform programatic access method.
Here is how I develop for the Propeller on Ubuntu, if it helps: http://forums.parallax.com/showthread.php?140139-Gedit-Spin-Syntax-Highlighting-gt-Solution!&p=1098762#post1098762