RBControl
Library for the RB3201-RBControl board with the ESP32 by RoboticsBrno.
Static Public Member Functions | List of all members
lw::Servo Class Reference

#include <lx16a.hpp>

Static Public Member Functions

static int posFromDeg (float angle)
 
static Packet move (Id id, rb::Angle pos, std::chrono::milliseconds t)
 
static Packet move (Id id, rb::Angle pos)
 
static Packet limit (Id id, rb::Angle b, rb::Angle t)
 
static Packet setId (Id oldId, Id newId)
 

Member Function Documentation

◆ limit()

static Packet lw::Servo::limit ( Id  id,
rb::Angle  b,
rb::Angle  t 
)
inlinestatic

◆ move() [1/2]

static Packet lw::Servo::move ( Id  id,
rb::Angle  pos 
)
inlinestatic

◆ move() [2/2]

static Packet lw::Servo::move ( Id  id,
rb::Angle  pos,
std::chrono::milliseconds  t 
)
inlinestatic

◆ posFromDeg()

static int lw::Servo::posFromDeg ( float  angle)
inlinestatic

◆ setId()

static Packet lw::Servo::setId ( Id  oldId,
Id  newId 
)
inlinestatic

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