about the action of the body

i'm a box2d newbie ,now i'm stucking in a trouble in my game ,i creat a huge robot with two wheels to help it stroll around somewhere in game ,as soon as the robot catch the mainrole in it's sight ,it'll rush to the role rentlessly,but it'll held itself freeze right before a bridge, now the problem is i can stop the big guy right before the bridge ,it might because of the Inertia,so dose any body give me some advice? i just want the robot stop right before the bridge and turn around , i just set the motorspeed = 0 now,but the result is not what i wanted 🙄

Original thread: https://box2d.org/forum/viewtopic.php?t=7980