#include <arpirobot/devices/TB6612Motor.hpp>
|
void | begin () override |
|
void | run () override |
|
void | close () override |
|
bool | isEnabled () override |
|
bool | shouldMatchRobotState () override |
|
bool | shouldDisableWithWatchdog () override |
|
void | enable () override |
|
void | disable () override |
|
|
double | speed = 0 |
|
std::mutex | lock |
|
bool | enabled = false |
|
bool | brakeMode = false |
|
int8_t | speedFactor = 1 |
|
bool | initialized = false |
|
std::string | deviceName |
|
◆ TB6612Motor()
arpirobot::TB6612Motor::TB6612Motor |
( |
int |
in1Pin, |
|
|
int |
in2Pin, |
|
|
int |
pwmPin |
|
) |
| |
- Parameters
-
in1Pin | pin for side 1 directional control |
in2Pin | pin for side 2 directional control |
pwmPin | pin for pwm of motor |
The documentation for this class was generated from the following file: