Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 2203

How to add a matlab code to a ros package

$
0
0
Hello, I have a ros package with several nodes which are all written in c++ and python, now i want to add another node which is in matlab, also the output of this matlab node should be sent to a node which is written in python (i dont know it matter or not), so how can i do it, my assumption is that i have to change cmakelist file somehow to be able to make and build matlab code, is it true? if yes can anyone help me to do it? I checked but all materials are about using matlab instead of ros, i couldn't find some easy issue like mine! Cheers, --- Edit: thank you for reply, first no i didn't use robotic toolbox, about incorporation or communication, i'm not sure what you mean! so let me make an example, consider i have a python node which name is PRINT, and its only job is to print a number, on the other hand i have a matlab node that calculate a complex formula and obtain the final answer which name is RESULT, now i want to send the obtained answer in RESULT to PRINT It's all what i want to do...

Viewing all articles
Browse latest Browse all 2203

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>