Why I am getting so many errors whilw I am trying to run a example Simulink project called parrotMiniDrone Hoverstart?
8 ビュー (過去 30 日間)
古いコメントを表示
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/Attitude Estimator/Compare To Constant1'
Caused by:
- Unrecognized field name "kalman_acc_thres".
Component:Simulink | Category:Model error
Error due to multiple causes.
Caused by:
- Error evaluating parameter 'Q' in 'flightControlSystem/Flight Control System/State Estimator/Attitude Estimator/Pitch_Kalman/Kalman Filter'
- Unrecognized function or variable 'var_gyro_p_N'.
- Variable 'var_gyro_p_N' does not exist.
Suggested Actions
Load a file into base workspace.Fix
Create a new variable.Fix
- Error evaluating parameter 'R' in 'flightControlSystem/Flight Control System/State Estimator/Attitude Estimator/Pitch_Kalman/Kalman Filter'
- Unrecognized function or variable 'var_acc_angle_N'.
- Variable 'var_acc_angle_N' does not exist.
Suggested Actions
Load a file into base workspace.Fix
Create a new variable.Fix
Component:Simulink | Category:Model error
Error due to multiple causes.
Caused by:
- Error evaluating parameter 'Q' in 'flightControlSystem/Flight Control System/State Estimator/Attitude Estimator/Roll_Kalman/Kalman Filter'
- Unrecognized function or variable 'var_gyro_p_N'.
- Variable 'var_gyro_p_N' does not exist.
Suggested Actions
Load a file into base workspace.Fix
Create a new variable.Fix
- Error evaluating parameter 'R' in 'flightControlSystem/Flight Control System/State Estimator/Attitude Estimator/Roll_Kalman/Kalman Filter'
- Unrecognized function or variable 'var_acc_angle_N'.
- Variable 'var_acc_angle_N' does not exist.
Suggested Actions
Load a file into base workspace.Fix
Create a new variable.Fix
Component:Simulink | Category:Model error
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/AccelerationHandling/Deactivate Acceleration If OF is not used due to low altitude'
Caused by:
- Unrecognized field name "pos".
Component:Simulink | Category:Model error
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/DataHandling/maxdw1'
Caused by:
- Unrecognized field name "pos".
Component:Simulink | Category:Model error
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/DataHandling/maxdw2'
Caused by:
- Unrecognized field name "pos".
Component:Simulink | Category:Model error
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/DataHandling/maxp'
Caused by:
- Unrecognized field name "pos".
Component:Simulink | Category:Model error
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/DataHandling/maxp2'
Caused by:
- Unrecognized field name "pos".
Component:Simulink | Category:Model error
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/DataHandling/maxq'
Caused by:
- Unrecognized field name "pos".
Component:Simulink | Category:Model error
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/DataHandling/maxq2'
Caused by:
- Unrecognized field name "pos".
Component:Simulink | Category:Model error
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/DataHandling/maxw1'
Caused by:
- Unrecognized field name "pos".
Component:Simulink | Category:Model error
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/DataHandling/maxw2'
Caused by:
- Unrecognized field name "pos".
Component:Simulink | Category:Model error
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/DataHandling/maxw3'
Caused by:
- Unrecognized field name "pos".
Component:Simulink | Category:Model error
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/DataHandling/maxw4'
Caused by:
- Unrecognized field name "pos".
Component:Simulink | Category:Model error
Error evaluating parameter 'const' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/DataHandling/minHeightforOF'
Caused by:
- Unrecognized field name "pos".
Component:Simulink | Category:Model error
Error due to multiple causes.
Caused by:
- Error evaluating parameter 'A' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/KalmanFilter_dxdy'
- Unrecognized field name "pos".
- Error evaluating parameter 'B' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/KalmanFilter_dxdy'
- Unrecognized field name "pos".
- Error evaluating parameter 'C' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/KalmanFilter_dxdy'
- Unrecognized field name "pos".
- Error evaluating parameter 'D' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/KalmanFilter_dxdy'
- Unrecognized field name "pos".
- Error evaluating parameter 'Q' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/KalmanFilter_dxdy'
- Unrecognized field name "pos".
- Error evaluating parameter 'R' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/KalmanFilter_dxdy'
- Unrecognized field name "pos".
- Error evaluating parameter 'N' in 'flightControlSystem/Flight Control System/State Estimator/XY Position Estimator/EstimatorVelocity/KalmanFilter_dxdy'
- Unrecognized field name "pos".
These are the errors I am getting. I don't know why. I just loaded the project and I tried to run the simulation and I am getting these errors.
2 件のコメント
Govind KM
2025 年 7 月 17 日
Do ensure that you have the required toolboxes as well as the Simulink Support Package for Parrot Minidrones installed on your system. The required toolboxes are listed in the following example: https://www.mathworks.com/help/simulink/supportpkg/parrot_ug/fly-a-parrot-minidrone-using-the-hover-simulink-model.html
回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Aerospace Applications についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!