Cannot connect to ROS device

25 vues (au cours des 30 derniers jours)
An Nguyen
An Nguyen le 24 Mar 2019
Commenté : Alex Gunagwera le 10 Nov 2020
In Ubuntu 16.04, I am building a PID controller model in Simulink and am trying to build and deploy it.
After roslaunching in a terminal which starts up all my other nodes (not built using Simulink), I'm trying to connect my Simulink node to my ROS device by using the IP addr outputted from ifconfig but am failing on this step.
It says that
Cannot connect to device. Check that the device address, username, and password are correct.
I have checked my address, username and password multiple times to ensure they are correct. Please see the photos below for details.
I have tried enabling SSH and disabling the firewall, to no avail.
photo.png
Thank you!

Réponse acceptée

Sebastian Castro
Sebastian Castro le 28 Mar 2019
Hi An,
Have you installed openssh-server on your Ubuntu machine? This is needed for the tests to succeed, far as I recall.
- Sebastian
  3 commentaires
Alex Gunagwera
Alex Gunagwera le 10 Nov 2020
Modifié(e) : Alex Gunagwera le 10 Nov 2020
hello, is there a way to specify the port on to which ssh should connect? I know thats the issue because i changed the default port and if i personally try to ssh to the machine from the terminal, I successfully connnect. so it is not working on 22. However i could not find an option to specify this. In my case the error is connecting to the ssh server at the ip_address
Alex Gunagwera
Alex Gunagwera le 10 Nov 2020
ok figured it out, but why wont they put it in the documentation?

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Raspberry Pi Hardware dans Help Center et File Exchange

Produits


Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by