Borrar filtros
Borrar filtros

Error in PX4 SITL with UAV Toolbox Support Package for PX4 Autopilots

4 visualizaciones (últimos 30 días)
I'm performing SITL on Windows 11 with jmavsim using UAV Toolbox Support Package for PX4 Autopilots but I got an error:
On the diagnostic view I got:
Top model targets built:
Model Action Rebuild Reason
=================================================================================
px4_openloop Code generated. Code generation information file does not exist.
1 of 1 models built (0 models already up to date)
Build duration: 0h 4m 26.003s
action: EXT_INIT
Creating Target Handler (XCP on TCP/IP)...
Build directory: D:\model validation\px4_openloop_ert_rtw
Target name: 127.0.0.1
Target port: 17725
action: EXT_CONNECT
Connecting to the target...
External Mode Open Protocol Connect command failed
Caused by:
Could not connect to target application: XCP TCP/IP error: Connect failed
Component:Simulink | Category:Block diagram error
Unable to connect to the 'PX4 Host Target' target for 'px4_openloop'.
Component:Simulink | Category:Block diagram error
On the cmd, I got:
The first time I run the Simulink model,it worked but when I tried to run it again without changing nothing , this error this displayed.

Respuesta aceptada

Narvik
Narvik el 24 de Ag. de 2023
Hi,
I understand that you faced a build issue while performing SITL on Windows 11 with jMAVSim using UAV Toolbox Support Package for PX4 Autopilots. This may occur if you run ‘Build Load and Run’ instead of running Monitor and Tune operation.
I advise you to follow the instructions provided under Task 3 in the ensuing documentation:
You can also refer to the following MATLAB answer for more information :
Hope this helps!

Más respuestas (0)

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by