Class: Motor::Pro775
Instance Attribute Summary
Attributes inherited from Motor
#free_speed, #max_power, #quantity, #stall_current, #stall_torque
Instance Method Summary collapse
-
#initialize(qty = 1) ⇒ Pro775
constructor
A new instance of Pro775.
Methods inherited from Motor
#current, #set_quantity, #speed, #torque
Constructor Details
#initialize(qty = 1) ⇒ Pro775
Returns a new instance of Pro775.
81 82 83 84 85 86 87 88 |
# File 'lib/vex-motors.rb', line 81 def initialize(qty = 1) super() @stall_current = 134 @stall_torque = 0.71 @free_speed = 18730 @max_power = 347 set_quantity qty end |