Unable to install Gazebo Plugin for Simulink co-simulation

조회 수: 2 (최근 30일)
VIGNESH BALAJI
VIGNESH BALAJI 2024년 2월 14일
답변: Shubham 2024년 10월 9일
I am following the instructions in this page to install Gazebo Plugin - https://nl.mathworks.com/help/robotics/ug/perform-co-simulation-between-simulink-and-gazebo.html
I was unable to understand where to run this command packageGazeboPlugin
and where to download this file zip file to unzip and put it inside a path like the statements mentione below -
"Copy the GazeboPlugin.zip to your Linux machine that meets the following requirement:
Unzip the package on your Linux platform, for this example we unpack to /home/user/src/GazeboPlugin."
Please let me know

답변 (1개)

Shubham
Shubham 2024년 10월 9일
Hi Vignesh,
To install the Gazebo Plugin for Simulink co-simulation, follow these steps:
  • Open MATLAB and type packageGazeboPlugin in the Command Window. This will create "GazeboPlugin.zip" in your current working directory.
  • Move "GazeboPlugin.zip" to your Linux machine where Gazebo is installed.
  • Unzip the file and navigate to the directory using the following commands:
unzip GazeboPlugin.zip -d /home/user/src/
cd /home/user/src/GazeboPlugin
  1. If a build folder exists, remove it with following command:
rm -r build
  • Install the plugin using the following commands:
mkdir build
cd build
cmake ..
make
  • The compiled plugin will be located at "/home/user/src/GazeboPlugin/export/lib/libGazeboCoSimPlugin.so".
Further details on setting up and launching the Gazebo Simulation Environment are available in the provided documentation link.
Hope this helps!

카테고리

Help CenterFile Exchange에서 Gazebo Co-Simulation에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by