Not able to run multiple node scripts at once
显示 更早的评论
Hello all,
Recently, I discovered the ROS toolbox of Matlab. I like the working principle of ROS so it was very interesting for me to combine this with matlab scripts.
However, I face problems when trying to run multiple scripts as separate nodes ont he same host. If ROS is directly used in Ubuntu from the terminal. Then infinite nodes can be ran by opening new terminals and run rosrun. But in matlab there is only one terminal. So if I execute a first node then I am not able anymore to execute another script as a node. I tried to put them all into one script but when executing this script, the second program waits for the first to finish. The only thing I want here is multiple matlab scripts which can run in parallel as nodes under one host while publishing and subscribing. To provide an example, I want a Monte Carlo localization script and a collision avoidance script to run seperatly on a remote robot.
Is there anyone who can help me with this?
Regards,
Matthias
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Custom Message Support 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!