close all
clear all

UHS_filenm = 'rov_uhs_2025-12-10-launch2.csv';

UHS_data = readtable(UHS_filenm);

UHS_t = datetime(UHS_data.EpochSeconds-8*3600, 'ConvertFrom', 'posixtime');


figure
ah1 = subplot(3,1,1)
plot(UHS_t,UHS_data.ROVTension)
ylabel('Tension (t)');
grid on;

ah2 = subplot(3,1,2)
plot(UHS_t,UHS_data.ROVWireSpeed)
ylabel('Wire Speed (m/s) (positive is paying out');
grid on;

ah3 = subplot(3,1,3)
plot(UHS_t,UHS_data.ROVWireLength)
ylabel('Wire Out (m)');
grid on;

linkaxes([ah1 ah2 ah3],'x')
