Package com.revrobotics.servohub.config
Class ServoChannelConfigAccessor
java.lang.Object
com.revrobotics.servohub.config.ServoChannelConfigAccessor
-
Constructor Summary
ModifierConstructorDescriptionprotected
ServoChannelConfigAccessor
(ServoChannel.ChannelId channelId, long servoHubHandle) -
Method Summary
Modifier and TypeMethodDescriptionGet the output power behavior when the channel is disabled.
-
Constructor Details
-
ServoChannelConfigAccessor
-
-
Method Details
-
getPulseRange
-
getDisableBehavior
Get the output power behavior when the channel is disabled.When the channel is enabled [ServoChannel::SetEnabled(true)], the output power to the servo follows the channel's power setting [ServoChannel::SetPowered()].
When the channel is disabled [ServoChannel::SetEnabled(false)], the output power to the servo follows the channel's disableBehavior.
- Returns:
- The channel's disable behavior
-