External Mode Open Protocol Init command failed

30 Ansichten (letzte 30 Tage)
Ankit
Ankit am 20 Sep. 2023
Beantwortet: akshatsood am 13 Okt. 2023
External Mode Open Protocol Init command failed
Caused by:
In model 'uORB_example', the 'ExtMode' configuration parameter is set to 'off'. To connect to the target application, 'ExtMode' must be 'on'.
I have connected Pixhawk 4 , the board is connected to the PC(windows 11) , i am able to receive accelorometer data when setting up the hardware , i am facing issue with the External mode , please help me out .

Antworten (1)

akshatsood
akshatsood am 13 Okt. 2023
Hi Ankit,
I understand that you are encountering an error while communicating with the Pixhawk 4 board which is as follows
In model 'uORB_example', the 'ExtMode' configuration parameter is set to 'off'.
To connect to the target application, 'ExtMode' must be 'on'.
The above message instructs you to enable the 'ExtMode' configuration parameter. To do this, follow these steps:
  1. Open the Model Properties by using the shortcut (Ctrl + E) or using the button in the Toolstrip.
  2. Navigate to the 'Interface' section under 'Code Generation' tab.
  3. Look out for the 'External mode' option and toggle it on.
Here is the snapshot for your reference
Have a look at the below reference for more information: https://in.mathworks.com/help/rtw/ref/externalmode.html
I hope this helps.

Community Treasure Hunt

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

Start Hunting!

Translated by