1
0
mirror of https://gitlab.com/lander-team/lander-cpp.git synced 2025-08-02 19:41:40 +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

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 43 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 39 KiB

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

After

Width:  |  Height:  |  Size: 36 KiB

File diff suppressed because it is too large Load Diff

View File

@@ -3,34 +3,29 @@ clear all; close all; clc;
% Read data and transfer to variables
T = readmatrix('simOut.csv');
t = T(:, 1);
x = T(:, 2);
y = T(:, 3);
z = T(:, 4);
vx = T(:, 5);
vy = T(:, 6);
vz = T(:, 7);
ax = T(:, 8);
ay = T(:, 9);
az = T(:, 10);
yaw = T(:, 11);
pitch = T(:, 12);
roll = T(:, 13);
yawdot = T(:, 14);
pitchdot = T(:, 15);
rolldot = T(:, 16);
yawddot = T(:, 17);
pitchddot = T(:, 18);
rollddot = T(:, 19);
I11 = T(:, 20);
I22 = T(:, 21);
I33 = T(:, 22);
I11dot = T(:, 23);
I22dot = T(:, 24);
I33dot = T(:, 25);
Servo1 = T(:, 26);
Servo2 = T(:, 27);
m = T(:, 28);
thrust = T(:, 29);
Servo1 = T(:, 17);
Servo2 = T(:, 18);
% Acceleration
subplot(3, 1, 1)