1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-07-22 06:01:23 +00:00

Servo rate limiting implemented with a new limit function

This commit is contained in:
bpmcgeeney
2021-10-15 12:44:37 -07:00
parent 59345992db
commit b0a94c663d
3 changed files with 49 additions and 33 deletions

View File

@@ -29,7 +29,9 @@ struct Vehicle {
double I11dot, I22dot, I33dot;
int maxServo;
int maxServoRate;
double xServoDegs, yServoDegs;
double xServoDegsDot, yServoDegsDot;
double Kp, Ki, Kd;
double yError, yPrevError;