Azzera filtri
Azzera filtri

Unable to connect to an external ROS device using RST

2 visualizzazioni (ultimi 30 giorni)
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?

Risposte (0)

Categorie

Scopri di più su Network Connection and Exploration in Help Center e File Exchange

Prodotti


Release

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by