new VirtualJoystickForBalance()
Extends
- Electronic
Members
-
protocol
-
getter of protocol
Methods
-
run() → {Instance}
-
run with range and speed set before
Returns:
Instance -@this
-
setReverse() → {Instance}
-
Run reversely
Returns:
Instance -@this
-
setStop() → {Instance}
-
Stop run
Returns:
Instance -@this
-
speed(speed) → {Instance}
-
set speed
Parameters:
Name Type Description speed
Number the balance speed
Returns:
Instance -@this
-
turnRange(range) → {Instance}
-
set range
Parameters:
Name Type Description range
Number the balance rotate angle
Returns:
Instance -@this