Hello,
I’m trying to use px4tools for analysis of ulog from real. I start thinking that this tool mostly done for log analysis in gazebo. Is it correct? Or I can perform log analysis (I’m interested in analysis of EKF2) for real flight also?
What I tried to do:
When I’m trying to execute next code from example:
d_concat = d2.concat(dt=0.1)
d_concat_computed = px4tools.compute_data(d_concat)
px4tools.estimator_analysis(d_concat_computed)
it exits with next error:
AttributeError: ‘DataFrame’ object has no attribute ‘t_vehicle_attitude_0__f_roll_error’
As I understand from the source code of px4tools it is calculated with next information:
t_vehicle_local_position_groundtruth_0
t_vehicle_global_position_groundtruth_0
t_vehicle_attitude_groundtruth_0
which is provided from gazebo. Is it right?
Thank you in advance for any help,
Firefly