Skip to content

Command Denied When Running takeoff_and_land #405

Closed
@ltrogers98

Description

@ltrogers98

Hello,

I am trying to run takeoff_and_land from my windows computer to get my px4 drone to takeoff and land. It is connected via the telemetry radio to the PC. The drone prints the following

-- Connected to drone!
-- Arming

mavsdk.action.ActionError: COMMAND_DENIED: 'Command Denied'; origin: arm(); params: ()

So the drone connects but it will not arm with the code. Not sure what is happening.

I eventually want to control the drone via a joystick connected to my PC. I am not sure what is going on. Can anyone help. In Q Ground Control it arms when I use the virtual joystick but not the physical joystick with the RC mode set to joystick.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions