Arduino-FOC-drivers
Arduino-FOC-drivers copied to clipboard
Drivers and support code for SimpleFOC
Could you add support for this gate driver? 
I have followed the procedure mentioned in the MT6835 README (and modify the nCS to Arduino pin 10, SimpleFOCDebug::print to Serial.print) but the output whether angle or speed stays around...
I'd like to use the calibratedSensor on a stepper motor with: ``` MagneticSensorSPI sensor = MagneticSensorSPI(PA8, 14, 0x3FFF); // instantiate the calibrated sensor object CalibratedSensor sensor_calibrated = CalibratedSensor(sensor); StepperMotor motor...
All occurences of the scalar delete in the calibrated sensor code should be replaced by delete[] (vector delete). The bahaviour is otherwise undefined since the arrays were allocated by new...
The SC60228 encoders that I have are reporting 2048 ticks rather than the expected 4096. This is probably an SPI register setting, but I can't find documentation on the chip's...
https://community.simplefoc.com/t/support-for-amt22xb-absolute-encoder/1516/3
Hello, Found this bug while trying to get this code to work: ``` STM32HWEncoder e(1000, PA0, PA1); ``` This is the related part of my `platformio.ini` config: ``` platform =...
When I built it using [arduino-esp32](https://github.com/espressif/arduino-esp32) ver 3.0.5, I got a link error in CommanderMaster.h. https://github.com/simplefoc/Arduino-FOC-drivers/blob/f7a91fac88a1e0396e360b6f398ff88ea1c9d66f/src/comms/CommanderMaster.h#L8-L9 I made the following changes and the link error disappeared. ```cpp CommanderMaster() = default;...
This PR fixes the bug #73 + It fixes the bug of the hard-coded number of samples per motor (`5 * motor.pole_pairs`) - see more info in the [community](https://community.simplefoc.com/t/simplefoc-sensor-eccentricity-calibration/2212/22). ###...
Hi all! I noticed the readme for the MT6701 mentions specific I2C drivers for the encoder but these files appear to be missing. Should the readme be updated without the...