![]() |
ClearCore Library
|
#include <stdint.h>
Include dependency graph for StepGenerator.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | ClearCore::StepGenerator |
| ClearCore Step and Direction generator class. More... | |
Namespaces | |
| namespace | ClearCore |
| Namespace to encompass the ClearCore board API. | |
Macros | |
| #define | FRACT_BITS 15 |
ClearCore Step & Direction motion profile generator
A StepGenerator is activated by creating an instance of the StepGenerator class. There can be several instances of StepGenerator, however, each must be attached to different connectors.
| #define FRACT_BITS 15 |
All of the motor position, velocity, and acceleration parameters are signed and in Q format, with all arithmetic performed in fixed point. This defines the Q value - the number of bits that are treated as fractional values (15).