Giter Club home page Giter Club logo

Comments (6)

Davidsastresas avatar Davidsastresas commented on June 16, 2024

I assigned this one to myself. Actually it's been in my to do list for weeks, but I want to first finish that gimbal PR, as it is taking forever.

Ardupilot implemented a parameter that manages precisely this at the AP level, rejecting the mode change if it is configured to do so using this parameter. So I think it would be great to read that parameter, in the newer firmwares that support it, and update automatically the flight mode list based on it. If we want to make it super neat, we could try to detect discordances between the QGC settings and AP parameter and warn the user and hopefully tidy all up for them.

I Think over the next month I will be able to go through this. In the meantime, If you want to leave by default just some flight modes, maybe I would say they should be for copter:

  • STABILIZE
  • ALT HOLD
  • LOITER
  • POS HOLD
  • GUIDED
  • AUTO
  • RTL
  • LAND

I think the above are a good starting point. For Plane these would be good:

  • FBW A
  • LOITER
  • GUIDED
  • RTL
  • TAKEOFF

and for VTOL, we should add these to the ones for plane:

  • Q LOITER
  • Q RTL
  • Q HOVER

About ROVER and SUB I am not really sure, if somebody from Bluerobotics is around they can probably help us figure out the most used modes for these vehicles.

from qgroundcontrol.

DonLakeFlyer avatar DonLakeFlyer commented on June 16, 2024

Thanks, that is helpful. It also reminds me that ArduPilot flight modes differ quite a bit with respect to vehicle type. I think I'm going to need to change the code to store hidden flight modes by vehicle type before I can make this all work well.

from qgroundcontrol.

Davidsastresas avatar Davidsastresas commented on June 16, 2024

I think for Ardupilot we could do something based on that parameter functionality instead, so effectively relying on the vehicle, instead of QGC settings, to show those flight modes. I think we could contain this in APMFirmwarePlugin.

I assigned this to me, I think this month I could take a look at it. I will keep you updated about it, thanks!

from qgroundcontrol.

Davidsastresas avatar Davidsastresas commented on June 16, 2024

Now that I think of it, we actually want that QGC settings functionality as well for Ardupilot, because otherwise we don't have a way to know this unless vehicle sends us the parameters, and eventually we could face a situation where we connect to vehicle, so the flight mode menu is available, but we don't have that parameter value yet, so in this situation we would really want to use those stored QGC settings.

from qgroundcontrol.

DonLakeFlyer avatar DonLakeFlyer commented on June 16, 2024

This feature needs to be changed to be vehicle class specific.

from qgroundcontrol.

DonLakeFlyer avatar DonLakeFlyer commented on June 16, 2024

@Davidsastresas I've updated to your feedback

from qgroundcontrol.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.