23 errors when I run the asbQuadcopter project

Dear all,
Hi, I'm trying to simulate quadcopter using asbQuadcopter project in Simulink.
But I stucked at the first 'run' ..
I downloaded all the sources and licences. And when I click the 'run' button, then I got 23 errors everytime.
No video or webinar say I need to tweak something for first flight.
Can anyone help me out? Thanks!!
-----Errors----------------------------------------------------
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/Complementary Filter/Compare To Constant'
Caused by:
Unrecognized field name "gyroAngleUpdateAccThreshold".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/Complementary Filter/Compare To Constant1'
Caused by:
Unrecognized field name "gyroAngleUpdateAccThreshold".
Component: Simulink | Category: Model error
Error due to multiple causes.
Caused by:
Error evaluating parameter 'G' in 'stateEstimator/State Estimator/EstimatorAltitude/KalmanFilter_altitude'
Unrecognized field name "alt".
Error evaluating parameter 'H' in 'stateEstimator/State Estimator/EstimatorAltitude/KalmanFilter_altitude'
Unrecognized field name "alt".
Error evaluating parameter 'Q' in 'stateEstimator/State Estimator/EstimatorAltitude/KalmanFilter_altitude'
Unrecognized field name "alt".
Error evaluating parameter 'R' in 'stateEstimator/State Estimator/EstimatorAltitude/KalmanFilter_altitude'
Unrecognized field name "alt".
Error evaluating parameter 'N' in 'stateEstimator/State Estimator/EstimatorAltitude/KalmanFilter_altitude'
Unrecognized field name "alt".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorAltitude/OutlierHandling/currentEstimateVeryOffFromPressure'
Caused by:
Unrecognized field name "alt".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorAltitude/OutlierHandling/currentStateVeryOffsonarflt'
Caused by:
Unrecognized field name "alt".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorAltitude/OutlierHandling/outlierJump'
Caused by:
Unrecognized field name "alt".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/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 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/DataHandling/maxdw1'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/DataHandling/maxdw2'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/DataHandling/maxp'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/DataHandling/maxp2'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/DataHandling/maxq'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/DataHandling/maxq2'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/DataHandling/maxw1'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/DataHandling/maxw2'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/DataHandling/maxw3'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/DataHandling/maxw4'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/DataHandling/minHeightforOF'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error due to multiple causes.
Caused by:
Error evaluating parameter 'G' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/KalmanFilter_dxdy'
Unrecognized field name "pos".
Error evaluating parameter 'H' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/KalmanFilter_dxdy'
Unrecognized field name "pos".
Error evaluating parameter 'Q' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/KalmanFilter_dxdy'
Unrecognized field name "pos".
Error evaluating parameter 'R' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/KalmanFilter_dxdy'
Unrecognized field name "pos".
Error evaluating parameter 'N' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorVelocity/KalmanFilter_dxdy'
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error due to multiple causes.
Caused by:
Error evaluating parameter 'G' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorXYPosition/KalmanFilter_posxy'
Unrecognized field name "pos".
Error evaluating parameter 'H' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorXYPosition/KalmanFilter_posxy'
Unrecognized field name "pos".
Error evaluating parameter 'Q' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorXYPosition/KalmanFilter_posxy'
Unrecognized field name "pos".
Error evaluating parameter 'R' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorXYPosition/KalmanFilter_posxy'
Unrecognized field name "pos".
Error evaluating parameter 'N' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorXYPosition/KalmanFilter_posxy'
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorXYPosition/OutlierHandling/maxp3'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorXYPosition/OutlierHandling/maxq3'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
Error evaluating parameter 'const' in 'stateEstimator/State Estimator/EstimatorXYPosition/EstimatorXYPosition/OutlierHandling/planarjumpsVISPOS'
Caused by:
Unrecognized field name "pos".
Component: Simulink | Category: Model error
....

回答(1 个)

The problem was I didn't install signal processing toolbox.
So there was a problem in parameter initializing steps..
I hope there is a way a MATLAB can suggest more installation when user have a problem.

1 个评论

Hello, I have faced the same problem and tried your given solution. It worked well and solved the issue.
Thank you for sharing this information!

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Simulink 的更多信息

产品

版本

R2021a

提问:

2022-7-15

评论:

2023-1-30

Community Treasure Hunt

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

Start Hunting!

Translated by