Skip to content

Convert betaflight-tx-lua to Inav #491

@druckgott

Description

@druckgott

I use this script very often at betaflight and it´s realy nice for PID Tuning an do so on.
For my funjet I need now inav for flying fixed wing and I convert the script that it alrady start and have no error with Inav (at first I only want to use it for pid tuning)

I renamed all things and so on. But there is one topic which is different in Inav the MSP values are extending the value 255.

I can recive values from here:
https://github.com/iNavFlight/inav/blob/master/src/main/msp/msp_protocol.h

But Inav also use this area starting by: 0x2000
https://github.com/iNavFlight/inav/blob/master/src/main/msp/msp_protocol_v2_inav.h

I now add a page wher the value: 0x2000 (or in decimal I also tested it) have to load there comes nothing.

The Problem is I do not have this huge experince to change the msp code to also recive values and send values to this adresses range.

Maybe somebody from the betaflight team can help me to get this cool script working also on Inav as a first version.
My current Version is here:
https://github.com/druckgott/inav-tx-lua-scripts

Hopefully here is one person who can help me also if it´s inav ;-)

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