How to specify the path to ROS package in VM
3 次查看(过去 30 天)
显示 更早的评论
Hi,
I follow the tutorial from here to create custom messages from ROS package
My ROS package is in my project in VM - Ubuntu, and my host computer is Win 7.
In Matlab in Win 7, I want to enter the folder path of the ROS package in VM, but don't know how to get this path because it is in the VM, not in the host computer.
Could you please help me figure out this issue?
Thank you
0 个评论
采纳的回答
Abhijeet Gadkari
2021-2-8
Hello Van,
You cannot build the custom message on the remote device, in this case your Ubuntu VM.
The message definitions must be accessible through MATLAB, in this case your Win 7 host computer.
Please copy the message definitions to the host computer from Ubuntu VM and the provide that folder path to rosgenmsg command.
-Abhijeet
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Custom Message Support 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!