Borrar filtros
Borrar filtros

How do I get rid of this error message?

4 visualizaciones (últimos 30 días)
UASLAB
UASLAB el 15 de Mayo de 2023
Comentada: Hung el 21 de Feb. de 2024
Hello,
I am currently following the SITL example to deploy my model to px4 but keep getting this error:
"The base rate of the Simulink model 0 millisecond is less than 1 millisecond. This is not supported by the PX4 Autopilot since the tick rate of NuttX OS is 1 millisecond. To fix this error, change sample times of blocks in the Simulink model which is causing the base rate to be 0millisecond."
Please, how do I resolve this? How do I locate blocks having 0 milliseconds? I have followed the solution given in a somewhat related post on this community but not working in this case.
Thank you.

Respuestas (1)

Shaik
Shaik el 15 de Mayo de 2023
Hi,
The error message you're encountering suggests that the base rate of your Simulink model is set to 0 milliseconds, which is not compatible with the PX4 Autopilot since its tick rate is 1 millisecond. To resolve this issue, you need to locate the blocks in your Simulink model that have a sample time of 0 milliseconds and change them to a non-zero value.
  4 comentarios
UASLAB
UASLAB el 16 de Mayo de 2023
okay, thank you.
Hung
Hung el 21 de Feb. de 2024
How to find block with sample time 0 milliseconds by Model Advisor?

Iniciar sesión para comentar.

Productos


Versión

R2022b

Community Treasure Hunt

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

Start Hunting!

Translated by