Added comments to the code in the 'robot' package