mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-02 22:50:34 +08:00
init adjustments to ensure used topics are advertised early (primarily for logging)
- multi-EKF create each instance as soon as IMU & mag are advertised (before device id populated)
This commit is contained in:
@@ -70,6 +70,8 @@ FixedwingPositionControl::FixedwingPositionControl(bool vtol) :
|
||||
// limit to 50 Hz
|
||||
_local_pos_sub.set_interval_ms(20);
|
||||
|
||||
_pos_ctrl_status_pub.advertise();
|
||||
_pos_ctrl_landing_status_pub.advertise();
|
||||
_tecs_status_pub.advertise();
|
||||
|
||||
_slew_rate_airspeed.setSlewRate(ASPD_SP_SLEW_RATE);
|
||||
|
||||
Reference in New Issue
Block a user