ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

rosmatlab- publisher

asked 2013-12-08 21:26:44 -0600

Ram99 gravatar image

I am using rosmatlab package for making a bridge between Matlab and Ros. I want to publish some interger data. But I couldnot find any proper Documentation for it. I am having problem with the syntax of ros.publisher.publish(); Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-04-15 06:05:06 -0600

NStaub gravatar image

Hi, you should follow the documentation from mathworks to launch a roscore and create a node in matlab. Then you can add a publisher to your node by using, in matlab :

publisher = rosmatlab.publisher('your_topic_name', 'std _ msgs/Int32', your_node);
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2013-12-08 21:26:44 -0600

Seen: 157 times

Last updated: Apr 15 '14