Effacer les filtres
Effacer les filtres

Unable to connect to an external ROS device using RST

2 vues (au cours des 30 derniers jours)
Adhiti Raman
Adhiti Raman le 17 Mai 2018
Commenté : Stefano Arrigoni le 19 Juin 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?

Réponses (0)

Catégories

En savoir plus sur Network Connection and Exploration dans Help Center et File Exchange

Produits


Version

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by