rewrote functions in NAV_MOVING to state machine form
disabled obstacle detection thread