JeVois Tutorials  1.22
JeVois Smart Embedded Machine Vision Tutorials
 
Share this page:
Loading...
Searching...
No Matches
List of all members | Public Member Functions
ServoPD Class Reference

Definition at line 71 of file JeVoisRobotCar1.C.

Public Member Functions

 ServoPD (long Kp, long Kd, long zero, long range, long scalebits=8)
 
void attach (int pin, int pos)
 
long get () const
 
void update (long targetpos)
 
void reset (long targetpos)
 
long rawget ()
 
void rawset (long rawval)
 
 ServoPD (long Kp, long Kd, long zero, long range, long scalebits=8)
 
void attach (int pin, int pos)
 
long get () const
 
void update (long targetpos)
 
void reset (long targetpos)
 
long rawget ()
 
void rawset (long rawval)
 

Constructor & Destructor Documentation

◆ ServoPD() [1/2]

ServoPD::ServoPD ( long  Kp,
long  Kd,
long  zero,
long  range,
long  scalebits = 8 
)
inline

Definition at line 74 of file JeVoisRobotCar1.C.

◆ ServoPD() [2/2]

ServoPD::ServoPD ( long  Kp,
long  Kd,
long  zero,
long  range,
long  scalebits = 8 
)
inline

Definition at line 78 of file JeVoisRobotCar2.C.

Member Function Documentation

◆ attach() [1/2]

void ServoPD::attach ( int  pin,
int  pos 
)
inline

Definition at line 80 of file JeVoisRobotCar1.C.

Referenced by setup().

◆ attach() [2/2]

void ServoPD::attach ( int  pin,
int  pos 
)
inline

Definition at line 84 of file JeVoisRobotCar2.C.

◆ get() [1/2]

long ServoPD::get ( ) const
inline

Definition at line 87 of file JeVoisRobotCar1.C.

Referenced by loop().

◆ get() [2/2]

long ServoPD::get ( ) const
inline

Definition at line 91 of file JeVoisRobotCar2.C.

◆ rawget() [1/2]

long ServoPD::rawget ( )
inline

Definition at line 109 of file JeVoisRobotCar1.C.

◆ rawget() [2/2]

long ServoPD::rawget ( )
inline

Definition at line 113 of file JeVoisRobotCar2.C.

◆ rawset() [1/2]

void ServoPD::rawset ( long  rawval)
inline

Definition at line 114 of file JeVoisRobotCar1.C.

◆ rawset() [2/2]

void ServoPD::rawset ( long  rawval)
inline

Definition at line 118 of file JeVoisRobotCar2.C.

◆ reset() [1/2]

void ServoPD::reset ( long  targetpos)
inline

Definition at line 102 of file JeVoisRobotCar1.C.

◆ reset() [2/2]

void ServoPD::reset ( long  targetpos)
inline

Definition at line 106 of file JeVoisRobotCar2.C.

◆ update() [1/2]

void ServoPD::update ( long  targetpos)
inline

Definition at line 92 of file JeVoisRobotCar1.C.

Referenced by loop().

◆ update() [2/2]

void ServoPD::update ( long  targetpos)
inline

Definition at line 96 of file JeVoisRobotCar2.C.


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