Main Content

Connect to ROS Device

When connecting to a ROS device, deploying a ROS node to a ROS device, or trying to start and stop nodes on a ROS device, you must specify the login credentials. The Connect to a ROS Device dialog requests the following information to connect to the ROS device.

  • Device Address — Specify the host name or IP address for the target ROS device.

  • Username — Specify the user name that is used to log into the target ROS device.

  • Password — Specify the password that is used to log into the target ROS device with the specified user name.

  • Remember my password — Select this parameter for your password to be saved for all MATLAB® sessions. If this parameter is not selected, MATLAB prompts for your password whenever a connection to the ROS device is established.

  • ROS folder — Specify the location of the ROS installation folder on the ROS device. For example: /opt/ros/indigo

  • Catkin workspace — Specify the location of the Catkin workspace folder on the ROS device. For example: ~/catkin_ws_test

By clicking the Test button, you can verify your settings. The results of the test are displayed in the Simulink® Diagnostic Viewer. Use the Diagnostic Viewer to troubleshoot any issues with connecting to your ROS device. For more information, see Systematic Diagnosis of Errors and Warnings (Simulink).

Related Topics

Go to top of page