51 void clearPositionCounter();
53 void moveAtVelocity(
const short& velocity);
54 void moveToPosition(
const short& speed,
const int& goalPos);
55 void moveRelativePosition(
const short& speed,
const int& deltaPos);
58 void setPidGains(
const short& p,
const short& i,
const short& d,
const short& pd,
const short&
id,
const short& dd);
59 void pidGains(
short& p,
short& i,
short& d,
short& pd,
short&
id,
short& dd)
const;
68 bool isMotorDone()
const;
75 void blockMotorDone()
const;
95 void motor(
int percent);
106 const port_t& port()
const;
120 BackEMF(
const unsigned char& port);
121 virtual int value()
const;
122 unsigned char port()
const;
125 unsigned char m_port;
The base class for all sensors of any type.
Definition: sensor.hpp:45
A motor object that is associated with a physical motor port.
Definition: motors.hpp:42
virtual T value() const =0
VF EXPORT_SYM int freeze(int motor)
int port_t
Definition: port.hpp:14
Allows the reading of the back emf values for each motor.
Definition: motors.hpp:117
#define EXPORT_SYM
Definition: export.h:7
VF EXPORT_SYM void motor(int motor, int percent)
VF EXPORT_SYM void off(int motor)