Candas1

Results 13 issues of Candas1

### Before reporting an issue Please check the [Wiki pages](https://github.com/EmanuelFeru/hoverboard-firmware-hack-FOC/wiki) for [Getting Started](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki#getting-started) and for [Troubleshooting](https://github.com/EFeru/hoverboard-firmware-hack-FOC/wiki#troubleshooting) Don't hesitate to reach out to us if you feel something is wrong, unclear...

documentation

This was initially saving space as the interrupt code was completely removed with the build flag, and improving the performance. Now the interrupt is started if the timer has no...

While working on some code I had an idea for performance improvement. ### Problem: Now Loopfoc and move are running in the main loop and timestamps are used to calculate...

enhancement

Hi, A topic has been on my mind last few days, thought I would socialize it to see if it's worth exploring it. A few months back I measured it...

enhancement

This is just about moving Ualpha and Ubeta to FOCMotor so it's available to the flux observer sensor.

At the moment in voltage mode, if information like phase_resistance, phase_inductance and KV_rating are provided, q and d currents are used as target and the q and d voltages are...

enhancement

Hi, This is not adding a feature, but could make further changes easier. There is duplicate code [here](https://github.com/simplefoc/Arduino-FOC/blob/05954cb9691534dd478407505d810a68f1673a5e/src/common/base_classes/CurrentSense.cpp#L14) and [here](https://github.com/simplefoc/Arduino-FOC/blob/05954cb9691534dd478407505d810a68f1673a5e/src/common/base_classes/CurrentSense.cpp#L55) ``` // calculate clarke transform float i_alpha, i_beta; if(!current.c){ //...

enhancement

Hi, I just wanted to share few ideas I tried in the past: - You can use such advanced [forms](https://github.com/EFeru/hoverboard-firmware-hack-FOC/issues/new?assignees=&labels=bug&projects=&template=bug_report.yaml) if you want to force the users to enter some...

enhancement
documentation

Hi, Just wanted to point out that Lora is already [used](https://lora-alliance.org/) and can possibly generate confusion

**Summary** This PR improves the speed of analogread by initializing each ADC only once(mentioned in [this](https://github.com/stm32duino/Arduino_Core_STM32/issues/5) issue) Currently when using analogread, the following steps are executed: - initialize adc -...

Enhancement