4#include "Things/DifferentialDrive.h"
6namespace RoboidControl {
20 void SetMaxRPM(
unsigned int rpm);
27 unsigned char pinIn1 = 255;
28 unsigned char pinIn2 = 255;
29 unsigned int maxRpm = 200;
32class DRV8833 :
public Thing {
44 unsigned char pinAIn1,
45 unsigned char pinAIn2,
46 unsigned char pinBIn1,
47 unsigned char pinBIn2,
48 unsigned char pinStandby = 255,
49 bool reverseA =
false,
50 bool reverseB =
false);
52 DRV8833Motor* motorA =
nullptr;
53 DRV8833Motor* motorB =
nullptr;
56 unsigned char pinStandby = 255;
Support for a DRV8833 motor controller.
Definition DRV8833.h:10
RotationDirection
Motor turning direction.
Definition DRV8833.h:13
virtual void SetAngularVelocity(Spherical velocity) override
Set the angular velocity of the thing.
Definition DRV8833.cpp:32
A participant is a device which manages things. It can communicate with other participant to synchron...
Definition Participant.h:14
A thing is the primitive building block.
Definition Thing.h:20