Holdable Actuator
Controls a generic holdable motor, that may be actuated by a user's input but will hold its position when the input is released.
Author
Lucas Bubner, 2024
Since
1.0.0-pre
Types
Functions
Link copied to clipboard
Disable the overcurrent threshold for the Home Task.
Link copied to clipboard
Disable the timeout for the Home Task.
Link copied to clipboard
Disable the zero hit threshold for the Home Task.
Link copied to clipboard
Instantaneously set the user input power for the actuator.
Link copied to clipboard
Set the bottom limit switch of the actuator to use in homing and encoder awareness.
Link copied to clipboard
Set the encoder limits of the actuator.
Link copied to clipboard
Set the holding power of the actuator.
Link copied to clipboard
Set the overcurrent threshold for the Home Task.
Link copied to clipboard
Set the timeout for the Home Task.
Link copied to clipboard
Set the zero hit threshold to how many greater than or equal to zero velocity hits are required for the Home Task.
Link copied to clipboard
Set the lower limit of the actuator.
Link copied to clipboard
Set the lower power clamp of the actuator.
Link copied to clipboard
Set the moving power of the actuator, where a positive value will bring the arm upwards (away from bottom).
Link copied to clipboard
Set the lower and upper power clamps of the actuator.
Link copied to clipboard
Set the target tolerance of the actuator.
Link copied to clipboard
Set the top limit switch of the actuator to use in encoder awareness.
Link copied to clipboard
Set the upper limit of the actuator.
Link copied to clipboard
Set the upper power clamp of the actuator.
Inherited functions
Link copied to clipboard
Utility function to run
NullSafety.assertComponentArgs()
on the given parameters, usually on the motors/hardware/critical objects passed into the constructor.Link copied to clipboard
Cancel the current task immediately and return to the default task, if available.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Set the default task for this subsystem, which will be run when no other task is running.
Link copied to clipboard
Set the current task to the given task, overriding any current task.
Link copied to clipboard
Call to delegate all updates of this subsystem to a thread that will begin execution on this method call.
Link copied to clipboard
Call to stop delegating updates of this subsystem to a thread.
Link copied to clipboard