Has Matlab ROS2 support for actions and services not been implemented yet?

3 views (last 30 days)
I am teaching an intro to robotics course for the first time this semester. Eventually we want to shift our undergrad programming courses to Python, but so many are trained on Matlab, that I have allowed the students this semester to use either Python or Matlab for their homework. I also haven't been super specific about whether they have to use ROS1 or ROS2.
I always use Python, but had a couple of students using Matlab come to me and we can't figure out for the life of us how to call services or actions from the Matlab ROS2 interface. It doesn't even seem as if the functionality exists in the documentation. Is their ROS2 implementation currently not feature-full?

Accepted Answer

Jagadeesh Konakalla
Jagadeesh Konakalla on 11 Feb 2021
Hi Josh Swensen,
It is good to hear that you chose MATLAB to teach robotics course for students.
At this point, ROS Toolbox does not have Services and Actions for ROS2. These features are available for ROS1.
Team is actively working on provding MATALB interfaces for ROS2 Services and Actions in the upcoming releases of MATLAB.
Thank you for your interest.
Jagadeesh Konakalla
Jagadeesh Konakalla on 12 Feb 2021
You are right John. The requested features will be available in future releases not in R2021a.

Sign in to comment.

More Answers (0)


Find more on Publishers and Subscribers in Help Center and File Exchange




Community Treasure Hunt

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

Start Hunting!