#NEWLINE# @ property #NEWLINE# def velocity( self ) : #NEWLINE# #INDENT# 'Return the current motor velocity (encoder ticks per unit time).\n\n        :returns: Motor velocity in velocity_range (ticks per sec).\n\n        ' #NEWLINE# if self . is_testing : #NEWLINE# #INDENT# val = self . _velocity #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# val = self . real_motor . velocity #NEWLINE# #UNINDENT# return ( val * self . inversion_multiplier )