Struct SYN_Actuator¶
Linear actuator instance — motor controller + stroke mapping.
#include <syn_actuator.h>
Public Attributes¶
| Type | Name |
|---|---|
| SYN_MotorCtrl | ctrl |
| int16_t | current_pct |
| int32_t | stroke_max |
| int32_t | stroke_min |
| int32_t | stroke_range |
| int16_t | target_pct |
Public Attributes Documentation¶
variable ctrl¶
Underlying motor controller
variable current_pct¶
Current position 0-1000
variable stroke_max¶
ADC at extended
variable stroke_min¶
ADC at retracted
variable stroke_range¶
max - min (precomputed)
variable target_pct¶
Target position 0-1000
The documentation for this class was generated from the following file src/syntropic/motor/syn_actuator.h