How do I define a service server with custom service type in MATLAB?
3 views (last 30 days)
Show older comments
I am trying to write a service along with a callback function. The service would have a response and request of type sensor_msgs/Image. However, there are no such service types in rostype.getServiceList. How can I create a custom service type that will accept the correct request and response msg types? Is this the correct approach for creating a service server in MATLAB?
Thanks!
Answers (1)
Jagadeesh Konakalla
on 11 Jun 2021
Hi Abhinav,
Here are the links for R2020a MATLAB release related to custom message creation in MATLAB. As you have already installed the support package, you should be able to use the rosgenmsg function now. Please follow the following links.
Thanks,
Jagadeesh K
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!