Error in getting start with ROS on Raspberry
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Silvia Della Torre
el 20 de Sept. de 2023
Comentada: Silvia Della Torre
el 22 de Sept. de 2023
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.![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1488157/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1488157/image.jpeg)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1488162/image.jpeg)
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 comentarios
Prasanth Sunkara
el 22 de Sept. de 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
Respuestas (0)
Ver también
Categorías
Más información sobre MATLAB Support Package for Raspberry Pi Hardware 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!