32 void _onSubProgressUpdate(
double progressValue);
37 void _wireTransitions();
38 void _wireProgressTracking();
42 void _handleAutopilotVersionFailure();
46 void _onParametersReady(
bool ready);
50 void _signalComplete();
53 bool _shouldSkipAutopilotVersionRequest()
const;
54 bool _shouldSkipForArmed()
const;
55 bool _shouldSkipForLinkType()
const;
56 bool _hasPrimaryLink()
const;
57 bool _shouldSkipForPlanLoad();
59 QString _lastSkipReason;
72 static constexpr int _autopilotVersionMaxRetries = 1;
struct __mavlink_message mavlink_message_t
Calls a function when entered and waits for an external trigger to advance.
InitialConnectStateMachine(Vehicle *vehicle, QObject *parent=nullptr)
~InitialConnectStateMachine() override
Final state for a QGCStateMachine with logging support.
QGCStateMachine(const QString &machineName, Vehicle *vehicle, QObject *parent=nullptr)
Vehicle * vehicle() const
A state that retries an action and chooses behavior when retries are exhausted.
Requests a MAVLink message with built-in retry logic.
Combines skip condition checking with async operation setup in a single state.