View Single Post
  #6   Spotlight this post!  
Unread 28-08-2012, 11:52
Bryce Paputa's Avatar
Bryce Paputa Bryce Paputa is offline
FF TSL: Frog Farce
FRC #0503 (Frog Force)
Team Role: Alumni
 
Join Date: Jan 2012
Rookie Year: 2008
Location: Novi Michigan
Posts: 454
Bryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond reputeBryce Paputa has a reputation beyond repute
Re: Control Robot through HTML/JavaScript Page

You could set up an Apache server with PHP that had a serial connection to the robot. I would make it so that there was a python script (just because I like python and it's I/O) constantly checking a file and outputting it's contents to serial, while you have a PHP file that javascript could "call", that would write what the javascript told it to, to the file that python was checking. You could probably do it all of over PHP (or all python), but I am not sure how. Smart dashboard is probably easier.
Reply With Quote