Subscribing to ROS joint_states issue
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Jason Michel Lambert
el 7 de Nov. de 2019
Respondida: Jason Michel Lambert
el 21 de Nov. de 2019
Hello,
I'm migrating a Simulink model from R2017b to R2019b. The model subscribes to the "joint_states" topic of a ROS robot. Although I'm getting the right size and the right data values when calling rostopic echo (see first image) from the Matlab prompt, the output of the Simulink block gives me something different entirely (see second image). This only seems to happen with the "joint_states" topic. This used to work fine in R2017b.
![Matlab_bug.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247292/Matlab_bug.png)
![Simulink_bug2.png](https://www.mathworks.com/matlabcentral/answers/uploaded_files/247293/Simulink_bug2.png)
1 comentario
Philippe Lebel
el 20 de Nov. de 2019
have you tried to verify if the paths were the good ones in simulink. (i dont know how to do that though)
I've had a problem where the LD_LIBRARY_PATH was over written by matlab, preventing me from launching .launch files and using ROS in matlab, i had to manually re-export the right path in the matlab script i was using. Maybe this is a similar issue that you are facing with simulink.
Respuesta aceptada
Más respuestas (1)
Ver también
Categorías
Más información sobre Specialized Messages en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!