A finite state machine with steer functionality