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:
@@ -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;
|
||||
};
|
||||
|
Reference in New Issue
Block a user