RBCX
Library for the RB3204-RBCX board with the ESP32 by RoboticsBrno.
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
rb::StupidServo Class Reference

#include <RBCXStupidServo.h>

Public Member Functions

uint8_t id () const
 set servo posiotion, range is <0;1>. Some servos might accept a bit more More...
 
void setPosition (float positionFraction)
 Returns last set position (can be NaN if disabled) More...
 
float position () const
 Disables servo. More...
 
void disable ()
 

Friends

class Manager
 

Member Function Documentation

◆ disable()

void rb::StupidServo::disable ( )

◆ id()

uint8_t rb::StupidServo::id ( ) const
inline

set servo posiotion, range is <0;1>. Some servos might accept a bit more

◆ position()

float rb::StupidServo::position ( ) const
inline

Disables servo.

◆ setPosition()

void rb::StupidServo::setPosition ( float  positionFraction)

Returns last set position (can be NaN if disabled)

Friends And Related Function Documentation

◆ Manager

friend class Manager
friend

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