hh
Calibration/calibration.h@22:60276ba87ac6, 2017-03-31 (annotated)
- Committer:
- benkatz
- Date:
- Fri Mar 31 18:24:46 2017 +0000
- Revision:
- 22:60276ba87ac6
- Child:
- 23:2adf23ee0305
Encoder autocalibration for dc offset and harmonics
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
benkatz | 22:60276ba87ac6 | 1 | #ifndef CALIBRATION_H |
benkatz | 22:60276ba87ac6 | 2 | #define CALIBRATION_H |
benkatz | 22:60276ba87ac6 | 3 | |
benkatz | 22:60276ba87ac6 | 4 | #include "foc.h" |
benkatz | 22:60276ba87ac6 | 5 | #include "mbed.h" |
benkatz | 22:60276ba87ac6 | 6 | #include "PositionSensor.h" |
benkatz | 22:60276ba87ac6 | 7 | |
benkatz | 22:60276ba87ac6 | 8 | |
benkatz | 22:60276ba87ac6 | 9 | |
benkatz | 22:60276ba87ac6 | 10 | void order_phases(PositionSensor *ps, GPIOStruct *gpio); |
benkatz | 22:60276ba87ac6 | 11 | void calibrate(PositionSensor *ps, GPIOStruct *gpio); |
benkatz | 22:60276ba87ac6 | 12 | #endif |