mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 05:43:33 +08:00
commander: move vehicle_status_flags to class
This commit is contained in:
+204
-192
File diff suppressed because it is too large
Load Diff
@@ -140,7 +140,7 @@ private:
|
|||||||
|
|
||||||
void esc_status_check(const esc_status_s &esc_status);
|
void esc_status_check(const esc_status_s &esc_status);
|
||||||
|
|
||||||
void estimator_check(const vehicle_status_flags_s &status_flags);
|
void estimator_check();
|
||||||
|
|
||||||
bool handle_command(vehicle_status_s *status, const vehicle_command_s &cmd);
|
bool handle_command(vehicle_status_s *status, const vehicle_command_s &cmd);
|
||||||
|
|
||||||
@@ -380,6 +380,7 @@ private:
|
|||||||
geofence_result_s _geofence_result{};
|
geofence_result_s _geofence_result{};
|
||||||
vehicle_land_detected_s _land_detector{};
|
vehicle_land_detected_s _land_detector{};
|
||||||
safety_s _safety{};
|
safety_s _safety{};
|
||||||
|
vehicle_status_flags_s _status_flags{};
|
||||||
vtol_vehicle_status_s _vtol_status{};
|
vtol_vehicle_status_s _vtol_status{};
|
||||||
|
|
||||||
WorkerThread _worker_thread;
|
WorkerThread _worker_thread;
|
||||||
|
|||||||
Reference in New Issue
Block a user