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

Resolve "Relocate Initial Conditions"

This commit is contained in:
2021-09-16 01:17:58 +00:00
parent db53d83bb9
commit 61a2ca3676
8 changed files with 4526 additions and 4527 deletions

36
include/Vehicle.h Normal file
View File

@@ -0,0 +1,36 @@
#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