mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-07-24 23:21:29 +00:00
Resolved #3
This commit is contained in:
34
include/outVector.h
Normal file
34
include/outVector.h
Normal 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
|
Reference in New Issue
Block a user