C++ file for Gazebo plugin "GazeboCoSimPlugin.so"
80 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi, I successfully tried two examples, named "Perform Co-Simulation between Simulink and Gazebo" and "Control a Differential Drive Robot in Gazebo with Simulink" with the plugin named"libGazeboCoSimPlugin.so". Now I want to see how they built the plugin, and want to write my own.
But, I can't find C++ file for the plugin.
Where can I find it? or someone can send me?
please share your knowledge about it.
Thanks
0 Kommentare
Antworten (2)
Gaurav Bhosale
am 29 Jul. 2021
Hi Jaeyong,
The Gazebo plugin source files and executables are present /home/user/src/GazeboPlugin
Further, /home/user/src/GazeboPlugin/src/gazeboplugin/GazeboPlugin.cpp is the main 'World_Plugin' initializes and controls several handalers. In addition, /home/user/src/GazeboPlugin/src/gazeboplugin/CMakeLists.txt generates libGazeboCoSimPlugin.so at /home/user/src/GazeboPlugin/export/lib location. So, you can modify GazeboPlugin.cpp or write your own plugin and link with libGazeboCoSimPlugin.so in the world file.
Please, let me know, if you have further doubts or questions.
Thanks.
With Regards,
Gaurav Bhosale
0 Kommentare
bo zhang
am 19 Jun. 2022
Hello!
i didn't finish the example of Ur10BasicWithPlugin.world,can you help me? can yoi show your Ur10BasicWithPlugin.world?
Looking forward to your reply!
1 Kommentar
Gaurav Bhosale
am 20 Jun. 2022
You need to download https://www.mathworks.com/support/product/robotics/ros2-vm-installation-instructions-v6.html
Ur10BasicWithPlugin.world is present in this VM. Make sure, you download latest VM (v6).
Siehe auch
Kategorien
Mehr zu ROS Log Files and Transformations finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!