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!

 채택된 답변

Sebastian Castro
Sebastian Castro 2019년 3월 28일

2 개 추천

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

An Nguyen
An Nguyen 2019년 3월 28일
Hi Sebastian,
It turns out the problem was with my machine. I did install openssh-server to enable SSH but it still did not work. I tried the whole process on another machine and it worked out fine. Thank you for looking into this :)
Alex Gunagwera
Alex Gunagwera 2020년 11월 10일
편집: Alex Gunagwera 2020년 11월 10일
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 2020년 11월 10일
ok figured it out, but why wont they put it in the documentation?

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Network Connection and Exploration에 대해 자세히 알아보기

제품

릴리스

R2018b

태그

질문:

2019년 3월 24일

댓글:

2020년 11월 10일

Community Treasure Hunt

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

Start Hunting!

Translated by