Skip to content

The 'or' needs to be 'and' #37

@Marxlp

Description

@Marxlp

elif 't_vehicle_groundtruth_0__f_q_0_' in df or 't_vehicle_local_position_0__f_x' in df:

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions