parameters: (self)
return_statement: return motor_velocities
docstring: Get the velocity of all eight motors.
  
      Returns:
        Velocities of all eight motors.
docstring_summary: Get the velocity of all eight motors.
docstring_tokens: Get the velocity of all eight motors .
function: def GetMotorVelocities(self):
      """Get the velocity of all eight motors.
  
      Returns:
        Velocities of all eight motors.
      """
      motor_velocities = [
          self._pybullet_client.getJointState(self.quadruped, motor_id)[1]
          for motor_id in self._motor_id_list
      ]
      motor_velocities = np.multiply(motor_velocities, self._motor_direction)
      return motor_velocities
function_tokens: def GetMotorVelocities ( self ) : motor_velocities = [ self . _pybullet_client . getJointState ( self . quadruped , motor_id ) [ 1 ] for motor_id in self . _motor_id_list ] motor_velocities = np . multiply ( motor_velocities , self . _motor_direction ) return motor_velocities