Skip to content

Commit

Permalink
Update template.py (#2572)
Browse files Browse the repository at this point in the history
  • Loading branch information
omichel authored Dec 15, 2020
1 parent b3f1029 commit 0c0e900
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions resources/templates/controllers/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0c0e900

Please sign in to comment.