Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Failsafe Adjustment #38

Open
sk8board opened this issue Dec 30, 2023 · 3 comments
Open

Adding Failsafe Adjustment #38

sk8board opened this issue Dec 30, 2023 · 3 comments
Labels
unlikely Not on the todo list

Comments

@sk8board
Copy link

Hello Bryan,

Is there an easy way for the user to adjust failsafe settings?

For example, could the ELRS team "simply" add the failsafe WebUI configurator to select non-PWM receivers?

Or, if that is not so simple, then could a LUA script be used to adjust Failsafe settings over UART from the receiver to the BluePill or RP2040?

@sk8board sk8board changed the title Failsafe Adjustment Adding Failsafe Adjustment Dec 30, 2023
@CapnBry
Copy link
Owner

CapnBry commented Jan 3, 2024

No the failsafe is completely external and compiled in so there's no way to adjust it after the fact.

Adding failsafe to the ExpressLRS code will be done at some point, but I don't know how that will look because standard receivers will only have like 3 lines on the webui. I really don't want to think about it at this time.

I can tell you we will NEVER support publishing failsafe values to an external device as a configuration thing so I don't think you'll ever get what you want. You could implement CRSF config protocol in your project, then add failsafe values as config items and then it will just work with the existing Lua config system.

If your project is a one off then it isn't too difficult to just compile in the failsafe or come up with your own way to configure it. If you're trying to make a product using this code, I would highly discourage that and you'd be entirely on your own.

I will tell you again. This project is not in active development. I have no desire to start a new project. This project was created simply to show how it can be done because there were zero solutions available at the time. There are many solutions now so this project is just around for posterity and the CrsfSerial library.

@CapnBry CapnBry closed this as completed Jan 3, 2024
@CapnBry CapnBry added the unlikely Not on the todo list label Jan 3, 2024
@CapnBry CapnBry reopened this Jan 3, 2024
@sk8board
Copy link
Author

sk8board commented Jan 3, 2024

You could implement CRSF config protocol in your project, then add failsafe values as config items and then it will just work with the existing Lua config system.

I appreciate your input. Is there any documentation of how to utilize the existing Lua config system or CRSF config protocol?

@CapnBry
Copy link
Owner

CapnBry commented Jan 3, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
unlikely Not on the todo list
Projects
None yet
Development

No branches or pull requests

2 participants