This commit is contained in:
CarlOlsson
2016-04-05 16:23:26 -07:00
committed by Lorenz Meier
parent 7c88d599ee
commit 16dea15d54
+1
View File
@@ -671,6 +671,7 @@ void Ekf2::task_main()
if (_wind_pub == nullptr) {
_wind_pub = orb_advertise(ORB_ID(wind_estimate), &wind_estimate);
} else {
orb_publish(ORB_ID(wind_estimate), _wind_pub, &wind_estimate);
}