Skip to content

To bring the drone out of emergency mode isn't working well (Parrot 1.0) #46

@jamiedejong

Description

@jamiedejong

Hi,

When my drone is in emergency mode, I can press the button "Emergency". The leds will change to green which is good, but I can't take off after that. I think there's a small problem.

        private void Emergency()
        {
            Command emergencyCommand = new FlightModeCommand(DroneFlightMode.Emergency);

            if (droneControl.droneVersion == 1)
            {
                if (!droneControl.IsCommandPossible(emergencyCommand)) //Because the Emergency function only turns off on the AR2.0 - don't know about the AR 1, but i want to be able to un-set the emergency :)
                    return;
            }

            droneControl.SendCommand(emergencyCommand);
            UpdateUIAsync("Sending emergency signal");
        }

What can I do to fix that problem?

Thanks,

Jamie

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions