Hi all.
Just after a bit of a pointer.
I have a robot with serial comms. I have an SBC running linux redhat
6.2 and appache web server.The robot uses a few pics for control. hooked up to one main pic. This is supposed to act as a low level controller.
I wish to use the sbc to "think" for the robot and also display live data on the web server and take commands from the web page to move the robot. High level mapping/route planning etc I would like to do in gnu C.
My problem is how can I get live data from the robot to the web page and commands back to the robot all trough high level control software running on the SBC.
I would like to use cgi scripts or C.
Should I be looking at writing an appache module or something, or is there a simpler way. I have thought about exchanging data though a database or enviroment variables but this seems a bit messy.
Everything is configuarble at the moment. Im writing the robot pic-micro software in C. The SBC linux side is currentley in C but still embrionic.
Any ideas, pointers, web links etc much appriciated.
Thanks Rob
rob at robsbots dot co dot uk