Commits

German Larrain  committed b76bfc4

demos.sensors.velometer1: fixed wrong module docstrings

  • Participants
  • Parent commits 37d41f9

Comments (0)

Files changed (1)

File demos/sensors/velometer1.py

 #!/usr/bin/env python
 
-"""Shows usage of the Accelerometer sensor, with the FallingBalls program.
+"""Shows usage of the Velometer sensor, with the FallingBalls program.
 Sensor data is stored in a queue, which is retrieved after the simulation ends
 (but it can be accessed at any time).
 
 Sensor is created in the `create_sim_objects` method.
-	'self.sensor = sen.Accelerometer(ball_object, self.sim.time_step)'
+	'self.sensor = sen.Velometer(ball_object)'
 It is updated in the `on_post_step` method
 	'self.sensor.on_change(time)'
 Sensor measurements can be retrieved at any time