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:
36
include/Vehicle.h
Normal file
36
include/Vehicle.h
Normal 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
|
Reference in New Issue
Block a user