1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-07-24 23:21:29 +00:00
This commit is contained in:
bpmcgeeney
2021-09-17 12:53:59 -07:00
parent dbb6888602
commit 61a82eb579
12 changed files with 10139 additions and 5746 deletions

34
include/outVector.h Normal file
View File

@@ -0,0 +1,34 @@
#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);
};
#endif