mirror of
https://gitlab.com/lander-team/lander-cpp.git
synced 2025-07-27 08:31:31 +00:00
Fixed differences between native and teensy, added getThrust() function to clean up thrustInfo()
This commit is contained in:
@@ -30,6 +30,7 @@ Servo2 = T(:, 18);
|
||||
PIDx = T(:, 20);
|
||||
PIDy = T(:, 21);
|
||||
|
||||
thrust = T(:, 22);
|
||||
% Acceleration
|
||||
subplot(3, 1, 1)
|
||||
plot(t, az)
|
||||
@@ -91,3 +92,12 @@ plot(t, Servo2)
|
||||
title('Servo 2 Position vs Time')
|
||||
xlabel('Time (ms)')
|
||||
ylabel('Servo 2 Position (rad)')
|
||||
|
||||
figure(4)
|
||||
|
||||
% Servo 1 Position
|
||||
|
||||
plot(t, thrust)
|
||||
title('Thrust vs Time')
|
||||
xlabel('Time (ms)')
|
||||
ylabel('Thrust (N)')
|
||||
|
Reference in New Issue
Block a user