Skip to content

Struct SYN_Actuator

ClassList > 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

SYN_MotorCtrl SYN_Actuator::ctrl;

Underlying motor controller


variable current_pct

int16_t SYN_Actuator::current_pct;

Current position 0-1000


variable stroke_max

int32_t SYN_Actuator::stroke_max;

ADC at extended


variable stroke_min

int32_t SYN_Actuator::stroke_min;

ADC at retracted


variable stroke_range

int32_t SYN_Actuator::stroke_range;

max - min (precomputed)


variable target_pct

int16_t SYN_Actuator::target_pct;

Target position 0-1000



The documentation for this class was generated from the following file src/syntropic/motor/syn_actuator.h