Can't get data from Gazebo to Simulink

1 vue (au cours des 30 derniers jours)
Chawki CRTL
Chawki CRTL le 4 Mai 2018
I have connected Simulink to Gazebo and I can send the velocities to the quadrotor without problems, but, BUT I can not receive the real data from the drone; when I connect a scope block to the subscribe block, the "Z position" signal for example remains at zero even if the drone is changing position ! same thing for other coordinates.
  1 commentaire
Chawki CRTL
Chawki CRTL le 5 Mai 2018
Modifié(e) : Walter Roberson le 5 Mai 2018
I resolved my problem by following the steps 1 ---> 6 described in the link below: https://fr.mathworks.com/matlabcentral/answers/196911-use-matlab-robotics-system-toolbox-to-receive-ros-message

Connectez-vous pour commenter.

Réponses (0)

Catégories

En savoir plus sur Block Libraries dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by