Struct SYN_FOCEncoderConfig¶
ClassList > SYN_FOCEncoderConfig
Sensored Encoder Configuration.
#include <syn_foc_encoder.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint32_t | cpr |
| uint8_t | pole_pairs |
| uint32_t | sample_rate_hz |
| SYN_FOCEncoderType | type |
| q16_t | zero_offset_rad |
Public Attributes Documentation¶
variable cpr¶
Counts Per Revolution (4 * pulses for QEI)
variable pole_pairs¶
Motor pole pair count (P)
variable sample_rate_hz¶
Position sampling frequency in Hz
variable type¶
Sensored feedback type selection
variable zero_offset_rad¶
Electrical zero position offset (Q16 rad)
The documentation for this class was generated from the following file src/syntropic/motor/syn_foc_encoder.h