Mini Cheetah Actuator Branch Superseded by: https://github.com/bgkatz/motorcontrol

Dependencies:   mbed-dev-f303 FastPWM3

Superseded by: https://github.com/bgkatz/motorcontrol

Calibration/calibration.h

Committer:
benkatz
Date:
2018-12-05
Revision:
47:e1196a851f76
Parent:
23:2adf23ee0305

File content as of revision 47:e1196a851f76:

#ifndef CALIBRATION_H
#define CALIBRATION_H

#include "foc.h"
#include "mbed.h"
#include "PositionSensor.h"
#include "PreferenceWriter.h"
#include "user_config.h"

#define V_CAL 0.15f;


void order_phases(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs);
void calibrate(PositionSensor *ps, GPIOStruct *gpio, ControllerStruct *controller, PreferenceWriter *prefs);
#endif