Borrar filtros
Borrar filtros

How to locate the PX4 files which in wsl2 when I use the UAV ToolBox for PX4?

17 visualizaciones (últimos 30 días)
UAV Tool box support package:24.1.0
wsl2:Ubuntu 20.04
PX4: source code:v1.14.0
When I configure the UAV Tool box support package,following is my question
"Firmware validation failed: Firmware folder not found. Specify a correct PX4 firmware directory or re-clone a valid PX4 firmware v1.14 repository."
I think my path is correct.Following is my Path.
When I change the file path like this,the error is following.
"Firmware validation failed: Error while trying to find the PX4 Version: bash: line 0: cd: -2: invalid optioncd: usage: cd [-L|[-P [-e]] [-@]] [dir]fatal: not a git repository (or any parent up to mount point /mnt)Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)."
I am so confused.How I can get through this?
  2 comentarios
Ankur Bose
Ankur Bose el 25 de Mzo. de 2024
We need some more inormation on the issue? Can you reach out to us at and provide the details of your issue? We will investigate what is going wrong here

Iniciar sesión para comentar.

Respuesta aceptada

Arun Mathamkode
Arun Mathamkode el 26 de Mzo. de 2024
I believe the issue you might be facing is because of the distribution root folder name. The expected path is '\\wsl.localhost\Ubuntu' instead of '\\wsl.localhost\Ubuntu-20.4'. You can consider installing the distrubution 'Ubuntu' and by default it will be installing 22.04 distribution. Try installing the 'Ubuntu' distribution by running the following comamnd in your Windows Command Prompt.
wsl --install -d Ubuntu
After the successful installation, ensure that you are chosing Ubuntu as the default distribution.
wsl --set-default Ubuntu
After this please try by giving either '/home/cfc/PX4-Autopilot' or '\\wsl.localhost\Ubuntu\home\cfc\PX4-Autopilot' as the PX4 firmware location.
  5 comentarios

Iniciar sesión para comentar.

Más respuestas (0)




Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by