PX4 PIL error: configured for external mode which is not supported
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
종원 이
il 19 Nov 2021
Risposto: Arun Mathamkode
il 6 Dic 2021
Hello,
I've tried to run PIL(Processor In the Loop) for my own simulink file.
I set my settings properly, and the example code
open_system('px4demo_top_model_pil.slx');
run and shows result well.
However, When I run my own simulink file for PIL, some error occured and it says:
The SIL or PIL component "{my File name}" is configured for external mode which is not supported. To avoid this error change the data exchange interface setting in the Interface Configuration Parameters.
This is my setting in hardware implementation - Target hardware resources - External mode
I tried to my Commuication interface from XCP on Serial to Serial or uncheck "Use he same host serial port for external mode" and set proper usb port which is connected Pixhawk board but both didn't work.
Can you help me why this error occurred?
Thank you.
0 Commenti
Risposta accettata
Arun Mathamkode
il 6 Dic 2021
I think this might be due to a wrong active configuration set in the model. Navigate to the 'Model Explorer' and see what is the active configuration for your model. I guess the configuration with external mode might be stil active. Please make it inactive and activate the normal (without external mode) configuration as the active one. Have a look at this documentation to understand how to manage configuration sets.
0 Commenti
Più risposte (0)
Vedere anche
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!