I am getting error message about MPU6050 sensor on Arduino when I try to control my quadcopter system

11 次查看(过去 30 天)
I am having an error message during running the simulink model about my quadcopter controlling. Sometimes I can get the values from sensor for an half minute until my quadcopter moves roughly. (so I can't set the parameters about PID block cause I cant see how it effects the system.) Sometimes I don't give energy to brushless motors and I click run button and my model starts to work and after about half minute I get this error message again. I checked my MPU cables and they stay stable. I can get values without cutting from Arduino application but in Simulink, something is going wrong. Can you help me please?
---------------------------------------------------------------------------------------------------------------------------------
An error occurred while running the simulation and the simulation was terminated
Caused by:

回答(1 个)

Ralf Müller
Ralf Müller 2021-10-24
Any progress on this?
I'm getting the exact same error. with mpu6050
I tried with a basic model just containing the MPU6050 block from the simulink arduino support package and a scope.
Any help appreciated!

类别

Help CenterFile Exchange 中查找有关 Modeling 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by