Error in getting start with ROS on Raspberry

1 visualizzazione (ultimi 30 giorni)
Hello,
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 Commenti
Prasanth Sunkara
Prasanth Sunkara il 22 Set 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
Silvia Della Torre
Silvia Della Torre il 22 Set 2023
Hello,
Pi and PC are on the same network.
I solved the problem setting the network from Pubblic to Private.
Now I have a problem with task 2 of this link https://it.mathworks.com/help/supportpkg/raspberrypi/ref/getting-started-with-robot-operating-system-ros-on-raspberry-pi-r.html . I follow all the instruction but I have this error when I try to Build&Run
All the test connections work well. I don't have any web camera or audio card connected. so why the ros node not starts?
Do I have to generate the node in other way? It should be created when I run Build and Run, isn't it?
thank you

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su MATLAB Support Package for Raspberry Pi Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by