Motor control
These functions provide motor control without using effects from Feelix and are based on the SimpleFOC library. Visit simplefoc.com for more details.
Initialization
Control functions
You can use the functions specified in the documentation of the simpleFOC library. The initialization is handled in feelix.init(). To access the bldc, sensor and driver in the loop use: feelix.bldc-> (BLDCMoter object), feelix.driver-> (BLDCDriver3PWM object), feelix.sensor-> (MagneticSensorSPI object).
These are a few examples:
Get motor angle
Control type options
Move the motor
Motor control functions in Feelix Library
Move the motor to a specific position, speed value is optional.
Last updated
Was this helpful?