Error in getting start with ROS on Raspberry
1 view (last 30 days)
Show older comments
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 Comments
Prasanth Sunkara
on 22 Sep 2023
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
Answers (0)
See Also
Categories
Find more on MATLAB Support Package for Raspberry Pi Hardware in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!