Class rb::SmartServoBus
ClassList > rb > SmartServoBus
Public Functions
Type | Name |
---|---|
SmartServoBus () |
|
uint8_t | getId (uint8_t destId=254) |
void | limit (uint8_t id, Angle bottom, Angle top) |
Angle | pos (uint8_t id) |
Angle | posOffline (uint8_t id) |
void | set (uint8_t id, Angle ang, float speed=180.f, float speed_raise=0.0015f) |
void | setAutoStop (uint8_t id, bool enable=true) |
void | setId (uint8_t newId, uint8_t destId=254) |
~SmartServoBus () |
Public Functions Documentation
function SmartServoBus [1/2]
rb::SmartServoBus::SmartServoBus ()
function getId
uint8_t rb::SmartServoBus::getId (
uint8_t destId=254
)
function limit
void rb::SmartServoBus::limit (
uint8_t id,
Angle bottom,
Angle top
)
function pos
Angle rb::SmartServoBus::pos (
uint8_t id
)
function posOffline
Angle rb::SmartServoBus::posOffline (
uint8_t id
)
function set
void rb::SmartServoBus::set (
uint8_t id,
Angle ang,
float speed=180.f,
float speed_raise=0.0015f
)
function setAutoStop
void rb::SmartServoBus::setAutoStop (
uint8_t id,
bool enable=true
)
function setId
void rb::SmartServoBus::setId (
uint8_t newId,
uint8_t destId=254
)
function ~SmartServoBus
inline rb::SmartServoBus::~SmartServoBus ()
The documentation for this class was generated from the following file demo-projets/esp/RBCXSmartServo.h