필터 지우기
필터 지우기

Unable to connect to an external ROS device using RST

조회 수: 2 (최근 30일)
Adhiti Raman
Adhiti Raman 2018년 5월 17일
댓글: Stefano Arrigoni 2018년 6월 19일
I've been trying to use the RTW to connect to a ROS enabled device (Turtlebot) as an external target through Simulink. The code builds without errors. When run, it first attempts to test the connection to the Turtlebot. The device is pinged successfully but will not connect.
I think the rosdevice command attempts to ssh to the Turtlebot as well. When executed it gives me this error.
>> rosdevice('10.10.10.102','turtlebot','turtlebot')
Invalid MEX-file
'/usr/local/MATLAB/R2017a/toolbox/robotics/robotsimulink/robotslros/+robotics/+codertarget/+internal/private/ssh2client_mex.mexa64':
libssh2.so.1: cannot open shared object file: No such file or directory.
Error in robotics.codertarget.internal.ssh2client (line 66)
obj.Key = ssh2client_mex('connect',...
Error in rosdevice (line 165)
obj.Ssh = robotics.codertarget.internal.ssh2client(hostname, ...
How can I fix these errors?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Network Connection and Exploration에 대해 자세히 알아보기

제품


릴리스

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by