I am creating a robot interface in web2py. I am making great progress as I can send commands and other what not to the robot and make it do it's thang, but I find problems in monitoring signals from the device. The robot sends "heartbeat" requests about ever 5 seconds, if it doesn get a response from the computer that it is also alive, then it will panic and start sending requests ever .5 second until it gets a response. Should I create another web application that connects with this web application that simply response through serial to keep things alive? I think I am close with this approach: I have create a loop sequence that checks the states of the machine, depending on what the machine is doing and what responses it gets it changes it's status. The next time it goes through the loop it updates itself. This is very nice, as it can quickly handle the requests. Is there a way to run that, and then my webapp and probe that states or change states of variables in that loop to make things happen in the robot? Sounds crazy, but by doing this I can create a universal interface for my robot and run my robot with a cellphone, webtablet or anything with an internet connection. Best Regards, Jason Brower
-- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

