ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Hi @Bhavik

Hi @Bhavik

Consider this a partial answer as I don't know how to a full connection to your specific robot application, but this is how I will approach it.

There is a lot of information for connecting Simulink to Matlab scripts and it's outside scope of the forum and I sense you already have experience with it. One example: https://www.mathworks.com/videos/incorporating-matlab-algorithms-into-a-simulink-model-69028.html

To start with, I will first work on this wonderful tutorial that shows how to perform ROS Controls with Matlab to control a PR2 arms: https://www.mathworks.com/help/robotics/ug/control-pr2-arm-movements-using-actions-and-ik.html

The tutorial it will help you understand how to the basics of ROS control.

But if you want to learn ROS and learn more about using Matlab and ROS, I'd recommend to purchase this book:

Mastering ROS for Robotics Programming Third Edition Best practices and troubleshooting solutions   when working with ROS Lentin Joseph Jonathan Cacace

Chapter 14: Using ROS in MATLAB and Simulink

Hi @Bhavik

Hi @Bhavik

Consider this a partial answer as I don't know how to a full connection to your specific robot application, but this is how I will approach it.

There is a lot of information for connecting Simulink to Matlab scripts and it's outside scope of the forum and I sense you already have experience with it. One example: https://www.mathworks.com/videos/incorporating-matlab-algorithms-into-a-simulink-model-69028.html

To start with, I will first work on this wonderful tutorial that shows how to perform ROS Controls with Matlab to control a PR2 arms: https://www.mathworks.com/help/robotics/ug/control-pr2-arm-movements-using-actions-and-ik.html

The tutorial it will help you understand how to the basics of ROS control.

But if you want to learn ROS and learn more about using Matlab and ROS, I'd recommend to purchase this book:

Mastering ROS for Robotics Programming Third Edition Best practices and troubleshooting solutions   when working with ROS Lentin Joseph Jonathan Cacace

Chapter 14: Using ROS in MATLAB and Simulink