Skip to content

Commit

Permalink
Add initalization for ev_odom
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilritz committed Sep 23, 2019
1 parent ff968f5 commit d8c00f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ekf2/ekf2_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ class Ekf2 final : public ModuleBase<Ekf2>, public ModuleParams

// republished aligned external visual odometry
bool new_ev_data_received = false;
vehicle_odometry_s _ev_odom;
vehicle_odometry_s _ev_odom{};

uORB::Subscription _airdata_sub{ORB_ID(vehicle_air_data)};
uORB::Subscription _airspeed_sub{ORB_ID(airspeed)};
Expand Down

0 comments on commit d8c00f3

Please sign in to comment.