BLDC Types & Concepts
The bldc_types component holds the shared building blocks used across the BLDC motor components (bldc_motor, bldc_haptics, and bldc_current_sense):
the FOC value types (
DqCurrent,DqVoltage,PhaseCurrent) and the FOC math helpers / constants infoc_utils.hpp,the control enumerations (
MotionControlType,TorqueControlType,FocType) inbldc_types.hppand theSensorDirectionenum,the interface concepts in
bldc_concepts.hpp(DriverConcept,SensorConcept,CurrentSensorConcept, andMotorConcept) plus theDummyCurrentSensedefault.
Keeping these in a small, dependency-light component lets the other BLDC
components share the same interface contracts without depending on each other
(for example, bldc_current_sense implements CurrentSensorConcept without
pulling in bldc_motor).