matlab and simulink can not receive custom message whice send by ros

1 Ansicht (letzte 30 Tage)
xupeng
xupeng am 22 Nov. 2019
Beantwortet: Cam Salzberger am 5 Dez. 2019
i want to use matlab to receive the custom message whice is sended by ros, but cannot receive and display the message . i use the command "rostopic echo /chatter" in matlab , it cannot receive either .but i use this cammand in ubuntu , it can recieve the data . i have add custom message into matlab rosmsg lib .i can find my custom message type though command "rosmsg list " , use command “rqt_gragh ” i find the node have connect each oher ,l

Antworten (1)

Cam Salzberger
Cam Salzberger am 5 Dez. 2019
Please see some strategies for resolving and troubleshooting this issue in my answer here. You shouldn't need to set ROS_IP on the MATLAB machine, as MATLAB does that for you, though it can't hurt to try. More important is to set it on the remote nodes before running them. Also see Ines' suggestion about the firewall on the same page.

Kategorien

Mehr zu Custom Message Support finden Sie in Help Center und File Exchange

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by