Create a ROS custom message

1 回表示 (過去 30 日間)
Jacob Knoll
Jacob Knoll 2016 年 6 月 30 日
編集済み: Tohru Kikawada 2019 年 5 月 2 日
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 件のコメント
Image Analyst
Image Analyst 2016 年 6 月 30 日
What's ROS?

サインインしてコメントする。

回答 (1 件)

Tohru Kikawada
Tohru Kikawada 2019 年 5 月 2 日
編集済み: Tohru Kikawada 2019 年 5 月 2 日
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

Community Treasure Hunt

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

Start Hunting!

Translated by