% column indices for Odyssey II data
% binary vehicle file: X9826519.obd
% tabular ascii file:  x9826519.dat

global run_name
run_name = 'x9826519';

% OS-9 process start time: 1998/09/22 15:34:02 GMT     
% structure creation time: 1998/09/22 01:12:54 GMT     

clear time0
start = 906478486.05;
          m_present_time =   1;
                 c_depth =   2;
                 t_depth =   3;
                 m_depth =   4;
               c_heading =   5;
                   t_hdg =   6;
              t_hdg_rate =   7;
              h_integral =   8;
              p_integral =   9;
              d_integral =  10;
                   m_yaw =  11;
              m_yaw_rate =  12;
                 c_pitch =  13;
                 m_pitch =  14;
            m_pitch_rate =  15;
                  m_roll =  16;
             m_roll_rate =  17;
        c_elevator_angle =  18;
        m_elevator_angle =  19;
          c_rudder_angle =  20;
          m_rudder_angle =  21;
                 c_speed =  22;
           m_water_speed =  23;
              m_dr_north =  24;
               m_dr_east =  25;
                 m_pos_n =  26;
                 m_pos_e =  27;
      c_thruster_current =  28;
      m_thruster_current =  29;
          uo_control_kpp =  30;
          uo_control_kip =  31;
          uo_control_kdp =  32;
          uo_control_kph =  33;
          uo_control_kdh =  34;
              m_altitude =  35;
              m_pressure =  36;
       m_propeller_speed =  37;
          u_rdi_ea_angle =  38;
           u_rdi_tp_time =  39;
                 m_rdi_x =  40;
                 m_rdi_y =  41;
                 m_rdi_z =  42;
                 m_rdi_e =  43;
               m_rdi_alt =  44;
              water_temp =  45;
              water_cond =  46;
            m_bs_voltage =  47;
            m_fl_voltage =  48;
                  real_x =  49;
load('x9826519.dat')
data = x9826519;
clear x9826519
plot_all
opts='all';
review;

