Why constant value cannot be changed real time in deployment while using ROS2 toolbox and external mod?
Afficher commentaires plus anciens
hey all, I'm trying to deploy the following model on a ROS2 device. 

The issue is, as I try to change the values during deployment in the blocks named "cmd_lin" & "cmd_ang" by using knob blocks it doesn't allow me to. The values in the blocks cannot be changed. I face the following errors in the diagnostic viewer.

However, earlier I've been able to change values real time during deployment on the same ROS2 device with the following model which is not much different from the model where I'm facing issue. Nothing is changed vastly between the two models.

When I change values successfully in the model above the diagnostic viewer shows like that:

Also on the command window it shows:

It doesn't show like that on command window when the issue occurs. As far as I can recall I'm not missing any crucial steps as in setup or something that I had done when deploying the model where the issue didn't occur.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur ROS Network Access in Simulink dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!