When use px4tools, I encountered the error shown as below:
'DataFrame' object has no attribute 't_vehicle_groundtruth_0__f_q_0_'
After tracing the error, I found a bug. In my ulog data I have t_vehicle_local_position_0__f_x but no t_vehicle_groundtruth_0__f_q_0_. But the code under the if statement rely on both of them, the code below shouldn't be executed.
https://github.com/dronecrew/px4tools/blob/665502d483ef0ecfb51fddb9a46eb550c2e62524/px4tools/ulog.py#L156
When use px4tools, I encountered the error shown as below:
'DataFrame' object has no attribute 't_vehicle_groundtruth_0__f_q_0_'
After tracing the error, I found a bug. In my ulog data I have
t_vehicle_local_position_0__f_x
but not_vehicle_groundtruth_0__f_q_0_
. But the code under the if statement rely on both of them, the code below shouldn't be executed.