single motor controlled by the ODrive interface More...
#include <ODrive.h>
Public Member Functions | |
| void | setSpeed (double speed) |
| set speed in rot/s | |
| void | measure () |
| get new measurements from motor | |
Public Attributes | |
| ODrive * | drive |
| pointer to controlling ODrive | |
| uint8_t | side |
| the ODrive hardware supports 2 Motors | |
| double | pos {0} |
| last measured position | |
| double | vel {0} |
| last measured velocity [rot/s] | |
single motor controlled by the ODrive interface