1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-06-16 15:17:23 +00:00

37 lines
720 B
C++

#include <array>
#ifndef SVARS_H
#define SVARS_H
struct Vehicle {
double x, y, z;
double vx, vy, vz;
double vxBody, vyBody, vzBody;
double ax, ay, az;
double yaw, pitch, roll;
double phidot, thetadot, psidot;
double yawdot, pitchdot, rolldot;
double yawddot, pitchddot, rollddot;
double mass, massInitial, massPropellant, massBurnout, mdot;
double vehicleHeight, vehicleRadius, momentArm;
double burntime;
double burnVelocity;
double thrust, burnElapsed, burnStart;
double LQRx, LQRy, Fx, Fy, Fz;
double momentX, momentY, momentZ;
double I11, I22, I33;
double I11dot, I22dot, I33dot;
int maxServo;
double xServoDegs, yServoDegs;
double simTime;
int stepSize;
};
#endif