Skip to content

Struct SYN_MotorCtrl_Trajectory

ClassList > SYN_MotorCtrl_Trajectory

Trajectory setpoint for feedforward control. More...

  • #include <syn_motor_ctrl.h>

Public Attributes

Type Name
int32_t acceleration
int32_t position
int32_t velocity

Detailed Description

Produced by an external trajectory generator (syn_ramp, syn_scurve, or application code) and fed to the controller each update.

Public Attributes Documentation

variable acceleration

int32_t SYN_MotorCtrl_Trajectory::acceleration;

Target acceleration (units/sec²)


variable position

int32_t SYN_MotorCtrl_Trajectory::position;

Target position (feedback units)


variable velocity

int32_t SYN_MotorCtrl_Trajectory::velocity;

Target velocity (units/sec)



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