Co-simulation between MatLab and Gazebo
I want to control a robotic manipulator using co-simulation between Simulink and Gazebo. I created a Gazebo plugin package by running the packageGazeboPlugin command in Matlab and then compiled it in the user/home directory. I copied libGazeboCoSimPlugin.so file in the manipulator package (catkin_ws/devel/lib) then created a plugin file and included this file to the model .xacro file (i followed steps presented here -->http://kashishdhal.me/ros-tutorials/how-to-synchronize-gazebo-with-ros/).
but when I use the Gazebo pacer block to test if Gazebo has synchronized or not, I receive "failed to connect to Gazebo plugin". Do you have any idea what is the problem?