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

Initial Pass, still lots of bugs to fix

This commit is contained in:
bpmcgeeney
2021-09-20 10:34:20 -07:00
parent 7080188063
commit 768bcb7964
6 changed files with 121 additions and 44 deletions

View File

@@ -21,7 +21,6 @@ struct Vehicle {
double burnVelocity;
double thrust, burnElapsed, burnStart;
bool thrustFiring = false;
;
double LQRx, LQRy, Fx, Fy, Fz;
double momentX, momentY, momentZ;
@@ -32,6 +31,11 @@ struct Vehicle {
int maxServo;
double xServoDegs, yServoDegs;
double Kp, Ki, Kd;
double yError, yPrevError;
double pError, pPrevError;
double y_pidRefeed, p_pidRefeed, i_yError, i_pError = 0;
double simTime;
int stepSize;
};