how to generate the custom message
4 views (last 30 days)
Show older comments
I am trying to creat a message for ros in maltab.
the .msg filein the folder (/home/bikebot/catkin_ws/src/kinova-ros-master/kinova_msgs/msg) and under the folder there are multiple .msg files.
then I used the funciton rosgenmsg and got followign error.
folderpath ='/home/bikebot/catkin_ws/src/kinova-ros-master/kinova_msgs'
罗斯genmsg(folderpath)
Identifying message files in folder '/home/bikebot/catkin_ws/src/kinova-ros-master/kinova_msgs'..Done.
Validating message files in folder '/home/bikebot/catkin_ws/src/kinova-ros-master/kinova_msgs'..Done.
[0/0] Generating MATLAB interfaces for custom message packages... Done.
Error using rosgenmsg (line 332)
No packages with '.msg' files found under
/home/bikebot/catkin_ws/src/kinova-ros-master/kinova_msgs。每个消息包目录必须
contain a directory named 'msg' that then contains '.msg' files.
希望有人可以为此提供帮助。
0 Comments
Accepted Answer
More Answers (1)
can ren
on 25 May 2021
Did you encountered the following problems?
1 Comment
CAM SALZBERGER
on 25 May 2021
对于及时包括R2020B,ROS工具箱仅支持Visual Studio 2017,用于Window金宝apps上的自定义消息。对于R2021A,它还支持Visual 金宝appStudio2019。如果您使用MATLAB的较早版本,请安装VS2017并使用MEX -setUp指向它。或更新到R2021A。
-Cam
See Also
下载188bet金宝搏
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
开始狩猎!