PX4 / flight_review

web application for flight log analysis & review
https://logs.px4.io/
BSD 3-Clause "New" or "Revised" License
193 stars 190 forks source link

Remove except pass #254

Closed AlexKlimaj closed 1 year ago

AlexKlimaj commented 1 year ago

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
AlexKlimaj commented 1 year ago

@bkueng