REVLib - C++
rev::servohub::ServoChannelConfigAccessor Class Reference

#include <ServoChannelConfigAccessor.h>

Public Member Functions

ServoChannelConfig::PulseRange_t GetPulseRange ()
 
ServoChannelConfig::BehaviorWhenDisabled GetDisableBehavior ()
 

Friends

class ServoHubConfigAccessor
 

Member Function Documentation

◆ GetPulseRange()

ServoChannelConfig::PulseRange_t ServoChannelConfigAccessor::GetPulseRange ( )
Returns
The channel's pulse range (min, center, max) in microseconds

◆ GetDisableBehavior()

ServoChannelConfig::BehaviorWhenDisabled ServoChannelConfigAccessor::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

Friends And Related Function Documentation

◆ ServoHubConfigAccessor

friend class ServoHubConfigAccessor
friend

The documentation for this class was generated from the following files: