Clear Filters
Clear Filters

Unable to connect to an external ROS device using RST

2 views (last 30 days)
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?

Answers (0)

Categories

Find more on Network Connection and Exploration in Help Center and File Exchange

Products


Release

R2017a

Community Treasure Hunt

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

Start Hunting!