It works without the try except statements, but throws errors when the data doesn't exist in a particular log.
<class 'IndexError'> (vehicle_local_position_groundtruth): list index out of range
<class 'IndexError'> (vehicle_attitude_groundtruth): list index out of range
<class 'IndexError'> (vehicle_angular_velocity_groundtruth): list index out of range
<class 'IndexError'> (vehicle_attitude_groundtruth): list index out of range
<class 'IndexError'> (vehicle_angular_velocity_groundtruth): list index out of range
<class 'IndexError'> (vehicle_attitude_groundtruth): list index out of range
<class 'IndexError'> (vehicle_angular_velocity_groundtruth): list index out of range
<class 'IndexError'> (tecs_status): list index out of range
<class 'IndexError'> (rc_channels): list index out of range
<class 'IndexError'> (vehicle_torque_setpoint): list index out of range
<class 'IndexError'> (vehicle_thrust_setpoint): list index out of range
<class 'IndexError'> (actuator_servos): list index out of range
<class 'IndexError'> (vehicle_imu_status): list index out of range
<class 'IndexError'> (vehicle_imu_status): list index out of range
<class 'IndexError'> (vehicle_imu_status): list index out of range
It works without the try except statements, but throws errors when the data doesn't exist in a particular log.