When power my robot it start perfect, it moves, read sensors and he moving nice avoiding walls all its ok. when i connect my phone with my robot, it connect fine and everything work fine BUT when i disconnect it, my robot is stack, doing nothing. (if i connect again my phone its work fine).
i am asking if i had to change something in main loop ( for this i post only this code because when i power my robot or reset it, it moving fine with no problem)