mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 23:43:34 +08:00
Navigator: Initialize subscription and disallow copy constructors for classes that have pointer members
This commit is contained in:
@@ -105,6 +105,7 @@ Navigator::Navigator() :
|
||||
_mavlink_log_pub(nullptr),
|
||||
_global_pos_sub(-1),
|
||||
_gps_pos_sub(-1),
|
||||
_sensor_combined_sub(-1),
|
||||
_home_pos_sub(-1),
|
||||
_vstatus_sub(-1),
|
||||
_land_detected_sub(-1),
|
||||
|
||||
Reference in New Issue
Block a user