| | Re: Multitasking
|
| Hi, how does BrickOS handle the following situation? Its a path follower robot with bumpers to detect an obstacle. When the robot starts it seeks the black path and follows it. When the robot hits an obstcle, he gets back and turns. How do I (...) (20 years ago, 18-Jul-04, to lugnet.robotics)
| | | | Re: Multitasking
|
| (...) A useful technique (which doesn't really require parallel threads) is called a "State Machine" (also known as a "Finite State Automaton" or FSA for short). The idea is to list all the 'states' the robot can be in and to assign a number to each (...) (20 years ago, 19-Jul-04, to lugnet.robotics)
| | | | Re: Multitasking
|
| (...) Steve, I just want to say thanks for your clear explanation. I have heard the term state machine tossed around a lot, but didn't really know what it was. (Not all of us robotics guys are computer programmers for a living!) I don't need to (...) (20 years ago, 21-Jul-04, to lugnet.robotics)
| |