1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-06-16 15:17:23 +00:00
Lander-Embedded/include/outVector.h
2021-09-17 14:58:59 -07:00

35 lines
1.3 KiB
C++

#include <vector>
#ifndef OUTVECTOR_H
#define OUTVECTOR_H
struct outVector {
int length = 10000; // current sim runs ~5000 steps, x2 just in case
std::vector<double> x = std::vector<double>(length, 0.0);
std::vector<double> y = std::vector<double>(length, 0.0);
std::vector<double> z = std::vector<double>(length, 0.0);
std::vector<double> vx = std::vector<double>(length, 0.0);
std::vector<double> vy = std::vector<double>(length, 0.0);
std::vector<double> vz = std::vector<double>(length, 0.0);
std::vector<double> ax = std::vector<double>(length, 0.0);
std::vector<double> ay = std::vector<double>(length, 0.0);
std::vector<double> az = std::vector<double>(length, 0.0);
std::vector<double> yaw = std::vector<double>(length, 0.0);
std::vector<double> pitch = std::vector<double>(length, 0.0);
std::vector<double> roll = std::vector<double>(length, 0.0);
std::vector<double> yawdot = std::vector<double>(length, 0.0);
std::vector<double> pitchdot = std::vector<double>(length, 0.0);
std::vector<double> rolldot = std::vector<double>(length, 0.0);
std::vector<double> servo1 = std::vector<double>(length, 0.0);
std::vector<double> servo2 = std::vector<double>(length, 0.0);
std::vector<bool> thrustFiring = std::vector<bool>(length, 0.0);
};
#endif