MCPcopy Create free account
hub / github.com/CopterExpress/clover / checkState

Function checkState

clover/src/simple_offboard.cpp:643–650  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

641}
642
643inline void checkState()
644{
645 if (TIMEOUT(state, state_timeout))
646 throw std::runtime_error("State timeout, check mavros settings");
647
648 if (!state.connected)
649 throw std::runtime_error("No connection to FCU, https://clover.coex.tech/connection");
650}
651
652void publishState()
653{

Callers 2

serveFunction · 0.85
landFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected