MATLAB Answers

0

Create a ROS custom message

Asked by Jacob Knoll on 30 Jun 2016
Latest activity Edited by Tohru Kikawada on 2 May 2019
I have a 3x1 cell array that I would like to publish to a ROS topic. Each cell changes size for each publishing (they are lists of points in a region that my robots occupy). How would I write a custom ROS message to accomplish this?

  1 Comment

Sign in to comment.

1 Answer

Answer by Tohru Kikawada on 2 May 2019
Edited by Tohru Kikawada on 2 May 2019

You'll need to write the custom ROS messages in a manner before using MATLAB. http://wiki.ros.org/ROS/Tutorials/CreatingMsgAndSrv
Onece you write the custom ROS messages, you can import the messages using the following addon. https://jp.mathworks.com/help/robotics/ug/ros-custom-message-support.html

  0 Comments

Sign in to comment.