mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 04:33:10 +08:00
ekf2: remove early advertising of wind estimate topic
- if it's not estimating wind it won't publish it below (was fixed) Signed-off-by: Roman <bapstroman@gmail.com>
This commit is contained in:
@@ -479,9 +479,6 @@ Ekf2::Ekf2():
|
||||
_bcoef_x(_params->bcoef_x),
|
||||
_bcoef_y(_params->bcoef_y)
|
||||
{
|
||||
// advertise the wind topic early to make sure we get the first instance (before the standalone wind estimator)
|
||||
wind_estimate_s wind_estimate = {};
|
||||
_wind_pub = orb_advertise(ORB_ID(wind_estimate), &wind_estimate);
|
||||
}
|
||||
|
||||
int Ekf2::print_status()
|
||||
|
||||
Reference in New Issue
Block a user