RBControl
Library for the RB3201-RBControl board with the ESP32 by RoboticsBrno.
Classes | Public Types | Public Member Functions | Static Public Member Functions | Friends | List of all members
rb::Arm Class Reference

#include <RBControl_arm.hpp>

Classes

struct  BoneDefinition
 
struct  Definition
 

Public Types

typedef int32_t CoordType
 

Public Member Functions

 ~Arm ()
 
bool solve (Arm::CoordType target_x, Arm::CoordType target_y)
 
void setServos (float speed=180.f)
 
const Definitiondefinition () const
 
const std::vector< Bone > & bones () const
 
bool syncBonesWithServos ()
 
template<>
float roundCoord (Arm::AngleType val)
 

Static Public Member Functions

static Angle clamp (Angle ang)
 

Friends

class ArmBuilder
 
class Bone
 

Member Typedef Documentation

◆ CoordType

typedef int32_t rb::Arm::CoordType

Constructor & Destructor Documentation

◆ ~Arm()

rb::Arm::~Arm ( )

Member Function Documentation

◆ bones()

const std::vector<Bone>& rb::Arm::bones ( ) const
inline

◆ clamp()

Angle rb::Arm::clamp ( Angle  ang)
static

◆ definition()

const Definition& rb::Arm::definition ( ) const
inline

◆ roundCoord()

template<>
double rb::Arm::roundCoord ( Arm::AngleType  val)

◆ setServos()

void rb::Arm::setServos ( float  speed = 180.f)

◆ solve()

bool rb::Arm::solve ( Arm::CoordType  target_x,
Arm::CoordType  target_y 
)

◆ syncBonesWithServos()

bool rb::Arm::syncBonesWithServos ( )

Friends And Related Function Documentation

◆ ArmBuilder

friend class ArmBuilder
friend

◆ Bone

friend class Bone
friend

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