Advertisement
Guest User

Untitled

a guest
Mar 16th, 2017
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.34 KB | None | 0 0
  1.     if len(inputData) == 4:
  2.       (speed, x, y, z) = inputData
  3.     else:
  4.       (speed, x, y) = inputData
  5.     print len(inputData)
  6.     print "Z: {}".format(z)
  7.     coordinate = self.coordinateForPosition(x, y, z)
  8.     radius = self.radiusForSpeed(speed)
  9.     super(CartesianCoordinateEncoder, self).encodeIntoArray(
  10. (coordinate, radius), output)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement