Filter löschen
Filter löschen

Unable to connect to an external ROS device using RST

2 Ansichten (letzte 30 Tage)
Adhiti Raman
Adhiti Raman am 17 Mai 2018
Kommentiert: Stefano Arrigoni am 19 Jun. 2018
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?

Antworten (0)

Kategorien

Mehr zu Network Connection and Exploration finden Sie in Help Center und File Exchange

Produkte


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by