Giter VIP home page Giter VIP logo

Comments (3)

johncook1212 avatar johncook1212 commented on June 18, 2024

1
Attached the snapshot form INAV configurator and the script...

from yamspy.

ricardodeazambuja avatar ricardodeazambuja commented on June 18, 2024

INAV seems to be saying your FC is in FAILSAFE mode according to the screenshot from simpleUI. Try to investigate why it would be entering FAILSAFE mode.
The simpleUI.py sends commands (AETR...) in this order CMDS_ORDER = ['roll', 'pitch', 'throttle', 'yaw', 'aux1', 'aux2'], therefore you did it correctly by using CH5 and CH6 (the names inside simpleUI don't really matter, just the order it sends at the end). When you asks it to send the arm command it sends CMDS['aux1'] = 1800 and 1000 for disarm (yours starts at 1800). The flight mode it selects like this:

elif char == ord('m') or char == ord('M'):
    if CMDS['aux2'] <= 1300:
        cursor_msg = 'Horizon Mode...'
        CMDS['aux2'] = 1500
    elif 1700 > CMDS['aux2'] > 1300:
        cursor_msg = 'Flip Mode...'
        CMDS['aux2'] = 2000
    elif CMDS['aux2'] >= 1700:
        cursor_msg = 'Angle Mode...'
        CMDS['aux2'] = 1000

Maybe this is the reason for the FAILSAFE, but it could be something else. When everything is running normally, simpleUI should not show FAILSAFE for the flight mode.

from yamspy.

johncook1212 avatar johncook1212 commented on June 18, 2024

Thank you Ricardo, it was the commands order (AETR) mismatch.
Best,
John

from yamspy.

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.