#include <motors.hpp>
|
| | Motor (int port) |
| |
| void | clearPositionCounter () |
| |
| void | moveAtVelocity (short velocity) |
| |
| void | moveToPosition (short speed, int goalPos) |
| |
| void | moveRelativePosition (short speed, int deltaPos) |
| |
| void | setPidGains (short p, short i, short d, short pd, short id, short dd) |
| |
| void | pidGains (short &p, short &i, short &d, short &pd, short &id, short &dd) |
| |
| void | freeze () |
| |
| bool | isMotorDone () const |
| |
| void | blockMotorDone () const |
| |
| void | forward () |
| |
| void | backward () |
| |
| void | motor (int percent) |
| |
| void | motorPower (int percent) |
| |
| void | off () |
| |
| int | port () const |
| |
| void Motor::blockMotorDone |
( |
| ) |
const |
| void Motor::clearPositionCounter |
( |
| ) |
|
| bool Motor::isMotorDone |
( |
| ) |
const |
| void Motor::motor |
( |
int |
percent | ) |
|
| void Motor::motorPower |
( |
int |
percent | ) |
|
| void Motor::moveAtVelocity |
( |
short |
velocity | ) |
|
| void Motor::moveRelativePosition |
( |
short |
speed, |
|
|
int |
deltaPos |
|
) |
| |
| void Motor::moveToPosition |
( |
short |
speed, |
|
|
int |
goalPos |
|
) |
| |
| void Motor::pidGains |
( |
short & |
p, |
|
|
short & |
i, |
|
|
short & |
d, |
|
|
short & |
pd, |
|
|
short & |
id, |
|
|
short & |
dd |
|
) |
| |
| int Motor::port |
( |
| ) |
const |
| void Motor::setPidGains |
( |
short |
p, |
|
|
short |
i, |
|
|
short |
d, |
|
|
short |
pd, |
|
|
short |
id, |
|
|
short |
dd |
|
) |
| |
The documentation for this class was generated from the following file: