I'm developing a mobile robot application and i'm using a high-level board (pandaboard es) which can run linux operating system and a low I/O board to manage the sensors.
These two boards share data over ethernet while the high-level board controls a motor driver by using the USB port.
At the moment, i've installed Ubuntu Maverick on the high-level board and it works great.
The problem is that i'd like to minimize all the operating system functions, to use just the command line (i do not need the X server) and to avoid not-necessary resources consumption.
What i need to do on the high-level board is just to run a C program which takes information from the ethernet, do some calculations and send data over the USB.
So, what i need is:
- use ethernet
- use boost library, multi threading, I/O operations
- read/write on serial port (USB) with termios library
- sometimes, use a remote connection in order to control the system from another pc
Furthermore, i need to let the C program start automatically when the operatin system is powered up
It is possible to start the C program when the operating system is on?
I have to use a bash script to do this?
Is there any Ubuntu minimal distro which i can use for my purpose?
(This is the board i'm using: http://en.wikipedia.org/wiki/PandaBoard