When I run in manual mode it works fine but when I run it in auto mode my rover goes backwards indefinitely. Please help me to solve this problem. Thank you.
Your servos are probably reversed, and in manual mode, it sounds like your throttle channel is reversed to compensate.
When I solved the above problem. Hope my rover works in automatic mode.