Tool Libs
UMIT-TIROL Institute of Automation and Control Engineering library collection
 
Loading...
Searching...
No Matches
ODrive::Motor Struct Reference

single motor controlled by the ODrive interface More...

#include <ODrive.h>

Collaboration diagram for ODrive::Motor:
[legend]

Public Member Functions

void setSpeed (double speed)
 set speed in rot/s
 
void measure ()
 get new measurements from motor
 

Public Attributes

ODrivedrive
 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]
 

Detailed Description

single motor controlled by the ODrive interface


The documentation for this struct was generated from the following file: