Error in getting start with ROS on Raspberry
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I'm trying to follow the Matlab example here https://it.mathworks.com/help/supportpkg/raspberrypi/ref/getting-started-with-robot-operating-system-ros-on-raspberry-pi-r.html
but I have some issues.
Raspberry got the latest image from Matlab and got ROS melodic installed following this procedure https://it.mathworks.com/help/supportpkg/raspberrypi/ug/install-ros-melodic-on-raspberry-pi.html
As can be seen, when I run it should display raspberry as subscriber but it doesn't.
I think this is why also the message 'Hello Raspberry? is not detected by Raspberry.
What is the error I made?
Should I download ROS melodic also in my windows PC?
thank you
2 个评论
Prasanth Sunkara
2023-9-22
Hi Silvia,
To me it looks like you already have ROS installed on both PC and Raspberry Pi.
This seems more of a connection issue. Couple of things to check:
a) Is your Pi in the same network as PC? I mean are they connected to same network? Is it wired LAN or WiFi?
b) Windows is known to blocking ROS connections sometimes. Some firewall settings. I have seen many users able to solve this problem, by setting their network to Private from Public (public seems default on Windows). See this link. Alternately try running MATLAB and ROS on a Linux machine if possible. Linux is more ROS friendly than Windows in general
Thanks,
Prasanth
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 MATLAB Support Package for Raspberry Pi Hardware 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!