PID CAN setup fix
This commit is contained in:
parent
013768ad1c
commit
5fa3db6e6c
4 changed files with 37 additions and 23 deletions
|
@ -4,7 +4,7 @@
|
|||
#include <DRV8313.h>
|
||||
#include <SimpleFOC.h>
|
||||
#include <STM32_CAN.h>
|
||||
|
||||
#include "flash.h"
|
||||
|
||||
extern STM32_CAN Can;
|
||||
extern SPIClass spi;
|
||||
|
@ -26,6 +26,6 @@ extern MotorControlInputs motor_control_inputs;
|
|||
void doMotor(char *cmd);
|
||||
void setup_foc(MagneticSensorAS5045 *encoder, BLDCMotor *motor,
|
||||
DRV8313Driver *driver, LowsideCurrentSense *current_sense,
|
||||
Commander *commander, CommandCallback callback);
|
||||
Commander *commander, CommandCallback callback,FLASH_RECORD* pid_data);
|
||||
|
||||
void foc_step(BLDCMotor *motor, Commander *commander);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue