Skip to content

Commit 0c0e900

Browse files
authored
Update template.py (#2572)
1 parent b3f1029 commit 0c0e900

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/templates/controllers/template.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
# You should insert a getDevice-like function in order to get the
1414
# instance of a device of the robot. Something like:
15-
# motor = robot.getMotor('motorname')
16-
# ds = robot.getDistanceSensor('dsname')
15+
# motor = robot.getDevice('motorname')
16+
# ds = robot.getDevice('dsname')
1717
# ds.enable(timestep)
1818

1919
# Main loop:

0 commit comments

Comments
 (0)