toggle menu
BunyipsLib
v5.1.1-master-1f1d461c
BunyipsLib
switch theme
search in API
BunyipsLib
/
org.murraybridgebunyips.bunyipslib.subsystems
/
HoldableActuator
/
Tasks
Tasks
open
inner
class
Tasks
Tasks for HoldableActuator, access with
tasks
.
Members
Constructors
Tasks
Link copied to clipboard
constructor
(
)
Functions
ceil
Link copied to clipboard
open
fun
ceil
(
)
:
Task
Send the actuator to the top limit, using the constants for homing.
control
Link copied to clipboard
open
fun
control
(
powerSupplier
:
DoubleSupplier
)
:
Task
Move the actuator with a supplier of power.
delta
Link copied to clipboard
open
fun
delta
(
deltaPosition
:
Int
)
:
Task
Delta the position of the actuator.
go
To
Link copied to clipboard
open
fun
goTo
(
targetPosition
:
Int
)
:
Task
Set the position of the actuator.
home
Link copied to clipboard
open
fun
home
(
)
:
Task
Home the actuator based on encoders against a hard stop or limit switch.
run
For
Link copied to clipboard
open
fun
runFor
(
time
:
Measure
<
Time
>
,
p
:
Double
)
:
Task
Run the actuator for a certain amount of time.
set
Power
Link copied to clipboard
open
fun
setPower
(
p
:
Double
)
:
Task
Set the power of the actuator.