Quote:
Originally Posted by Jon236
...I think my takeaway from your discussion is that I should use a state machine based on the sensor inputs. My concern would be how to truly interrupt a process such as raising an arm when an imminent collision is sensed.
|
The answer seems obvious to me. Make "imminent collision sensed" one of the states your machine can be in, and use the sensor inputs to put it into that state when appropriate.