diff --git a/resources/templates/controllers/template.py b/resources/templates/controllers/template.py index 010f1362d30..f50c0ac019e 100644 --- a/resources/templates/controllers/template.py +++ b/resources/templates/controllers/template.py @@ -12,8 +12,8 @@ # You should insert a getDevice-like function in order to get the # instance of a device of the robot. Something like: -# motor = robot.getMotor('motorname') -# ds = robot.getDistanceSensor('dsname') +# motor = robot.getDevice('motorname') +# ds = robot.getDevice('dsname') # ds.enable(timestep) # Main loop: