Control Gazebo via sockets with Matlab

asked 2015-05-20 07:19:46 -0600

Formigola gravatar image

updated 2015-05-20 10:28:48 -0600

Hello!

I installed on my PC Matlab 2014a end Gazebo 4. Now I want to send a Joint_cmd message to Gazebo with Matlab. Is there any protobufs compiler/plugin for matlab? I found just this one: https://code.google.com/p/protobuf-matlab/

This compiler/plugin don't work because is made for the 2.4.1 version of protobufs end Gazebo use the 2.5.0.

Do you have any idea to make communicate Matlab and Gazebo, without using robotic toolbox that exist just for Matlab 2015a?

Thanks in advance for any help!

edit retag flag offensive close merge delete

Comments

This is not an answer but just wondering why don't you just use python instead of matlab. I changed from matlab to python years ago and its been great and free! If you choose to use python you can use pygazebo to interface with gazebosim.

Tytteboevsen gravatar imageTytteboevsen ( 2015-05-20 12:21:52 -0600 )edit

I have already used python with pygazebo, but I'm writing my thesis and my supervisor ask me to do the same with matlab. I thought that it would be simple but it seem to be a little bit more complicated. If I will not find a simple solution I will not develop this part of the thesis, but I want to be sure that there are no simple solution to solve this problem, before giving up.

Formigola gravatar imageFormigola ( 2015-05-20 12:38:47 -0600 )edit

I see. Best of luck to you on your thesis. I was so happy when i did mine. A topic of you own choosing and getting time to do it. Not everyday you employer lets you do that. I cannot help you with matlab unfortunatly. Let us know if you find a solution. Best regards Tytteboevsen.

Tytteboevsen gravatar imageTytteboevsen ( 2015-05-20 13:07:59 -0600 )edit

We at OSRF have used protobuf through matlab in the haptix-comm project, but that is not a simple protobuf wrapper. You could also use ros with gazebo, since matlab has ROS support now.

scpeters gravatar imagescpeters ( 2015-05-21 18:43:28 -0600 )edit