23 errors when I run the asbQuadcopter project

4 views (last 30 days)
원지 최
원지 최 on 15 Jul 2022
Commented: Katia on 30 Jan 2023
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
....

Answers (1)

원지 최
원지 최 on 15 Jul 2022
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 Comment
Katia
Katia on 30 Jan 2023
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!

Sign in to comment.

Categories

Find more on Introduction to Installation and Licensing in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!