#NEWLINE# @ velocity . setter #NEWLINE# def velocity( self , value ) : #NEWLINE# #INDENT# 'Set the target velocity of this motor (encoder ticks per sec).\n\n        :param value: Desired motor velocity in velocity_range (ticks per sec).\n        :type value: int\n\n        :returns: Boolean value indicating success.\n\n        ' #NEWLINE# value *= self . inversion_multiplier #NEWLINE# self . logger . debug ( 'Setting motor %d-%d velociy to %d' , self . dmcc . cape_num , self . motor_num , value ) #NEWLINE# if ( self . _vel_kP == 0 ) : #NEWLINE# #INDENT# self . logger . warning ( "Can't set motor %d-%d velocity: kP not set." , self . dmcc . cape_num , self . motor_num ) #NEWLINE# raise RuntimeError #NEWLINE# #UNINDENT# if self . is_testing : #NEWLINE# #INDENT# self . _velocity = value #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . real_motor . velocity = value