You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both examples take off in the same way, and will exit if not ready to arm. Probably something changed between the examples - e.g. you lost GPS. You can find out what is blocking arming by running a health check. There is some information in this in https://docs.dronecore.io/v/develop/en/guide/taking_off_landing.html#taking-off
@dangviethieu-hntv , as suggested by @hamishwillee , replace if by while.
Vehicle may not be ready when checked in the first time.
// Wait until health is OK and vehicle is ready to armwhile (telemetry->health_all_ok() != true) {
std::cout << "Vehicle not ready to arm ..." << std::endl;
std::this_thread::sleep_for(std::chrono::seconds(1));
}
I ran take_off example and have issue: "Vehicle not ready to arm"
But I ran fly_mission example successfully.
Anyone can help me !!!
The text was updated successfully, but these errors were encountered: