ES3011/robot_controller/trapezoidal.h

14 lines
247 B
C

#pragma once
// unitless trapezoidal
struct Trapezoidal {
float max_vel;
float max_acc;
float dist;
};
struct Setpoint {
float velocity; // unitless
float position; // unitless
bool complete; // the setpoint will no longer change
};