|
Public Member Functions |
| | Primitive_Driver (IOLINE Pencoder, IOLINE Sencoder, IOLINE,PORT,IOLINE,PORT,IOLINE tpu, IOLINE Pencoder, IOLINE Sencoder, IOLINE,PORT,IOLINE,PORT,IOLINE tpu, uint8 subclass=0) |
| | Quadrature encoding; sign-magnitude (enable toggling).
|
| | Primitive_Driver (IOLINE encoder, IOLINE f, PORT,IOLINE,PORT,IOLINE tpu, IOLINE encoder, IOLINE f, PORT,IOLINE,PORT,IOLINE tpu, uint8 subclass=0) |
| | Single channel encoder, sign-magnitude (enable toggling).
|
| | Primitive_Driver (IOLINE Pencoder, IOLINE Sencoder, IOLINE,PORT,IOLINE tpu, IOLINE Pencoder, IOLINE Sencoder, IOLINE,PORT, IOLINE rtpu, uint8 subclass=0) |
| | Quadrature encoding, sign magnitude (A/B toggling).
|
| | Primitive_Driver (IOLINE encoder, IOLINE f, PORT,IOLINE tpu, IOLINE encoder, IOLINE,PORT, IOLINE, uint8 subclass=0) |
| | Single Channle encoding, sign magnitude (A/B toggling).
|
| | Primitive_Driver (IOLINE Pencoder, IOLINE Sencoder, IOLINE ltpu, IOLINE Pencoder, IOLINE Sencoder, IOLINE rtpu, uint8 subclass=0) |
| | Quadrature encoding, locked antiphase.
|
| | Primitive_Driver (IOLINE encoder, IOLINE ltpu, IOLINE encoder, IOLINE rtpu, uint8 subclass=0) |
| | Single Channel encoding, locked antiphase.
|
| void | Rpower (int p) |
| | // Set wrench effort to right motor. Percent to increase/decrease motor's power.
int: +/- percentage increase or decrease in power.
|
| void | Lpower (int p) |
| | Set wrench effort to left motor. Percent to increase/decrease motor's power.
int: +/- percentage increase or decrease in power.
|
| void | stop (int s=0) |
| | Stops both motors.
|
| void | primitive_motion (MOTION m, MILLIMETER s, bool ramp) |
| | Execute basic motions like forward, and rotate left or right.
|
| uint8 | status (void) |
| | Returns the current state of the top level component.
|
| void | status (uint8 s) |
| | Set the status of the component.
|
Static Public Member Functions |
| foo2 | callback (void) |
| void | teleoperate (bool b) |
| bool | teleoperate (void) |
Data Fields |
| int | Label |
| oEncodedMotor | _Lmotor |
| | Unfortunately, a lot of algorithms need access to changing the speed of the individual motors.
|
| oEncodedMotor | _Rmotor |
Static Public Attributes |
| Watchdog | watchdog |
| | Provides primitive mechanism to auto-shutoff primitive driver for safety reasons.
|
Protected Member Functions |
| | Primitive_Driver () |
Protected Attributes |
| uint8 | _status |
| jaus_message | PD_msg |
Static Protected Attributes |
| bool | _teleoperate |
Private Member Functions |
| void | init (uint8 subclass) |
Friends |
| class | Motion_Driver |
| class | Geometry_Driver |
| void | task_motion_driver (void) |
| void | task_local_vector_driver (void) |