Every value from ROS Subscriber put to zero

2 Ansichten (letzte 30 Tage)
Jason Michel Lambert
Jason Michel Lambert am 15 Dez. 2021
Hi,
I'm having issues with my ROS Subscriber in Simulink. I have a comptuer running a ROS Master wired-connected to a second one running windows and Matlab/Simulink. I want to send a basic ROS Message to simulink via a ROS Topic. I checked with 'rostopic echo <topic_name>' on my linux platform and the right values come up. But when i checked with a value display or a scope in simulink what is the output from my ROS Subsriber bloc, all the values are 0. It seems that the topic is filled with the rights values but my simulink model cannot read it.
But everything works for a ROS Publisher
  1 Kommentar
Abhijeet Gadkari
Abhijeet Gadkari am 16 Dez. 2021
Hello Jason,
This issue seems similar to this MATLAB Answers post.
The “Accepted Answers” suggested in that post might be useful.
-Abhijeet

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jagadeesh Konakalla
Jagadeesh Konakalla am 8 Mär. 2023

Kategorien

Mehr zu Publishers and Subscribers finden Sie in Help Center und File Exchange

Produkte


Version

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by