Skip to content

Improvements to LinearHall#95

Closed
dekutree64 wants to merge 60 commits into
simplefoc:masterfrom
dekutree64:dev
Closed

Improvements to LinearHall#95
dekutree64 wants to merge 60 commits into
simplefoc:masterfrom
dekutree64:dev

Conversation

@dekutree64

Copy link
Copy Markdown
Contributor
  • Added calibration for difference in the total range of each sensor from XieMaster's version, optimized to a single multiply.
  • Added option for 60° and 120° sensor spacing.
  • Added wait for first valid sensor readings in init, for some custom ADC setups.
  • Changed private to protected and moved getSensorAngle there, better matching other sensor classes.
  • Moved documentation from the header to a readme file.

Tested by o_lampe and myself.

runger1101001 and others added 28 commits December 28, 2025 16:35
If a lut was provided the calibration was simply skipped.
If you do not provide a lut it gets allocated but you cant
extract the data at runntime (only via printLUT).
drv832x: add clock setting, remove current limit, add current sense calibration routine
Implement STM32HWEncoder count setting functions and getter for handler
CalibratedSensor: Allow calibration with provided lut
Improve mt6816 angle reading efficiency
stspin32g4: Add bootstrap capacitor charge mode on enable to avoid high side UVLO error on enable
Make CANCommander compile only when SimpleCANio.h exists
* Added calibration for difference in the total range of each sensor from XieMaster's version, optimized to a single multiply.
* Added option for 60° and 120° sensor spacing.
* Added wait for first valid sensor readings in init, for some custom ADC setups.
* Changed private to protected and moved getSensorAngle there, better matching other sensor classes.
* Moved documentation from the header to a readme file.
@dekutree64

Copy link
Copy Markdown
Contributor Author

Argh, forgot to change the branch from master to dev again. Is there any way to edit that after the fact instead of closing and creating a new PR?

@dekutree64 dekutree64 closed this Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants