How to multitask with Arduino

Is it possible to make a vehicle that can follow the vehicle, follow the line and park with voice command using Arduino mega? The codes work separately, but when they are combined, the vehicle does not move.

What code do you have to do each of these tasks ?

Look at these tutorials:

Arduino Multiple Things

Several Things at a Time

You may have conflicts for timers, etc. Please post the code, using code tags, along with links to the motor drivers, servos and other devices that are controlled.

See the "How to get the best out of the forum" post for posting instructions.