Skip to content

Commit

Permalink
Docs bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
kubasaw committed Oct 7, 2019
1 parent 97b449a commit fd5e9a0
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions car/util.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
"""Car simulation utilities module
===============================
"""


def mpsToKmph(speed):
"""Meter per second to kilometer per hour unit converter
Parameters
----------
speed : multiplicable (float, numpy.array etc.)
Speed in m/s
Returns
-------
as *speed*
Speed converted to km/h
convertedSpeed : as *speed*
Speed converted to km/h
"""
return speed*3.6
convertedSpeed = speed*3.6
return convertedSpeed

0 comments on commit fd5e9a0

Please sign in to comment.