If you want to learn how robots are programmed, then this video is a good introduction.
How robots are trained at a high level:
- Trained first in a virtual environment. Random movements with a reinforcement algorithm. The reinforcement algo rewards good actions and penalizes bad actions.
- Years of wall clock training time can be simulated in hours on the computer.
- After virtual environment the virtual training is applied to the real world and adjustments are made.