The answer to your question depends on factors such as the type of robot you are using, the task you want the robot to do, and how you want to go about doing it.
For example, if you are already aware of the syntax (i.e., vocabulary) of the programming language you will be using, and you want the robot to move along a fixed pattern (e.g., trace a square on the ground), this could be done in a matter of minutes.
As a more complex example, let us say you want your robot to automatically locate survivors in a disaster scenario. This robot may have to navigate an uneven, previously unknown terrain. The robot may also have to deal with unexpected events. Programming a robot to do this can be rather challenging!
As Mohan as said it can depend a lot on what you are trying to train the robot to do. A cool thing that we have learnt to do in recent years though is to use Artificial Intelligence (AI) to get the robots to train themselves! Have a look for anything on “machine learning” if you’re interested. This can make the whole process incredibly fast and come up with solutions to problems that might take humans years to figure out!
Comments
Chris commented on :
As Mohan as said it can depend a lot on what you are trying to train the robot to do. A cool thing that we have learnt to do in recent years though is to use Artificial Intelligence (AI) to get the robots to train themselves! Have a look for anything on “machine learning” if you’re interested. This can make the whole process incredibly fast and come up with solutions to problems that might take humans years to figure out!