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

ardupilot-manager: support forcing firmware installs #2178

Open
1 task done
ES-Alexander opened this issue Oct 26, 2023 · 2 comments
Open
1 task done

ardupilot-manager: support forcing firmware installs #2178

ES-Alexander opened this issue Oct 26, 2023 · 2 comments
Labels
core Issue related to BlueOS-core enhancement New feature or request triage Needs triage from developers ui User Interface feature

Comments

@ES-Alexander
Copy link
Collaborator

ES-Alexander commented Oct 26, 2023

Current behaviour

We have a tailored list of board types the manager supports, but that means new board types (or supported board types that are missed by our filters) need to have PRs made (e.g. #2177) before they can have firmware updates through BlueOS, which is frequently a slow process. Given many of those boards can actually be flashed by BlueOS if given an appropriate firmware, this seems like an unnecessary limitation on user behaviour.

The current workaround is to make a direct connection to QGC and flash there, but the validation fail warning doesn't say to do that, and doing it can be annoying (and requires having QGC installed).

Expected or desired behaviour

We have a pirate mode. I think it should be possible/allowed for a pirate user to force download and install a firmware for a manually specified board type/name for boards that currently fail BlueOS's internal board type validation.

We could maybe even compile a package of the relevant data whenever an unknown board is successfully flashed with a firmware, and either prompt the user to make a PR or forum post with that, or automatically send the details as a special telemetry message.

Prerequisites

  • I have checked to make sure that a similar request has not already been filed or fixed.
@ES-Alexander ES-Alexander added enhancement New feature or request core Issue related to BlueOS-core ui User Interface feature triage Needs triage from developers labels Oct 26, 2023
@lance-ljx
Copy link

@ES-Alexander How's that going now

@ES-Alexander
Copy link
Collaborator Author

Hi @lance-ljx,

I'm not aware of any updates that have been made towards this, and I don't expect it will get done this quarter unless someone external to Blue Robotics implements and contributes the feature - you're welcome to give it a go if you're interested1 🙂. Otherwise I'll try to raise this internally and see if we can get it added to next quarter's development goals.

It would likely help somewhat if #2551 gets implemented (because at least then it's less likely for a functioning flight controller board to be connected and not be recognised as a supported type), but that wouldn't fully resolve the issue because there could still be unidentified boards and/or a board with an existing identification that someone wants to swap the firmware for (e.g. between ArduPilot and PX4, or if a board has previously been flashed with incorrect firmware so it gets detected as the wrong type).

Footnotes

  1. I expect the main new component will be a pirate-mode-only platform selector that allows choosing between either all known platform types the firmware flasher supports, or ideally a filtered list of all platform types that may be compatible with the detected chip/hardware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core Issue related to BlueOS-core enhancement New feature or request triage Needs triage from developers ui User Interface feature
Projects
None yet
Development

No branches or pull requests

2 participants