Skip to content

Can’t Change Flight Mode on DroneKit-SITL from Command Line #153

@ghost

Description

I have been building a simple navigation (“go from Point A to Point B”) tool using Python 3 and DroneKit (with DroneKit-SITL for testing for now).

I set up DroneKit-SITL and MAVProxy on my Mac computer, and while I can get everything to configure, I cannot change the copter’s flight mode from “STABILIZE” to “GUIDED” (or any other mode) using the MAVProxy command line interface. Funnily enough, when I use DroneKit-SITL with Python to input commands (instead of the command line) such as changing the copter’s flight mode and navigating, it works.

I was wondering what might be causing the problem in changing the DroneKit-SITL copter’s mode from the command line? It seems that other people have had the same problem (#142) but I couldn’t find a solution that works. The suggestion to add firmware and rename “copter_36” to “apm” from the linked forum did not work on my Mac either.

I hope we can collaborate and find a solution — thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions