# Issue with installing Gazebo 7 and 8 for ArduSub SITL

**URL:** <https://discuss.bluerobotics.com/t/issue-with-installing-gazebo-7-and-8-for-ardusub-sitl/13654>\
**Category:** Blue Robotics Software\
**Tags:** sitl\
**Created:** [February 12, 2023, 5:37pm UTC](https://discuss.bluerobotics.com/t/issue-with-installing-gazebo-7-and-8-for-ardusub-sitl/13654 "2023-02-12T17:37:37Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Zeynep](https://avatars.discourse-cdn.com/v4/letter/z/73ab20/32.png) [@Zeynep](https://discuss.bluerobotics.com/u/Zeynep)\
**Post date:** [February 12, 2023, 5:37pm UTC](https://discuss.bluerobotics.com/t/issue-with-installing-gazebo-7-and-8-for-ardusub-sitl/13654/1 "2023-02-12T17:37:37Z")

</div>

Hi, I’ve been trying to set up ArduSub SITL with Gazebo to simulate some image processing code on my AUV. However the problem is in the ArduSub documantation ([SITL · GitBook](https://www.ardusub.com/developers/sitl.html)) the required plugins are said to only support Gazebo 7 or 8 that are both very tedious to install on my Ubuntu 22.04 machine. Is there any other version of gazebo that is supported by ArduSub SITL?

---

<div class="post-metadata">

**Author:** ![clyde](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/clyde/32/8563_2.png) [@clyde](https://discuss.bluerobotics.com/u/clyde)\
**Post date:** [February 12, 2023, 5:52pm UTC](https://discuss.bluerobotics.com/t/issue-with-installing-gazebo-7-and-8-for-ardusub-sitl/13654/2 "2023-02-12T17:52:47Z")

</div>

The ardupilot\_gazebo plugin has been updated for Gazebo Garden. Gazebo Garden has binaries for Ubuntu 22.04 and built-in plugins for buoyancy, hydrodynamics and thrusters. See the project here: [GitHub - ArduPilot/ardupilot\_gazebo: Plugins and models for vehicle simulation in Gazebo Sim with ArduPilot SITL controllers](https://github.com/ArduPilot/ardupilot_gazebo)

I built a model for the BlueROV2 running in Gazebo Garden here: [GitHub - clydemcqueen/bluerov2\_ignition: BlueROV2 model for Gazebo Garden](https://github.com/clydemcqueen/bluerov2_ignition)

Let me know if you run into bugs.

/Clyde

---

<div class="post-metadata">

**Author:** ![Zeynep](https://avatars.discourse-cdn.com/v4/letter/z/73ab20/32.png) [@Zeynep](https://discuss.bluerobotics.com/u/Zeynep)\
**Post date:** [February 12, 2023, 6:04pm UTC](https://discuss.bluerobotics.com/t/issue-with-installing-gazebo-7-and-8-for-ardusub-sitl/13654/3 "2023-02-12T18:04:18Z")

</div>

Thank you so much for your answer. I believe it will work out well.

---

<div class="post-metadata">

**Author:** ![ssicari](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@ssicari](https://discuss.bluerobotics.com/u/ssicari)\
**Post date:** [May 17, 2023, 6:01pm UTC](https://discuss.bluerobotics.com/t/issue-with-installing-gazebo-7-and-8-for-ardusub-sitl/13654/4 "2023-05-17T18:01:46Z")

</div>

Hello,  
I am trying to follow the links you sent as well. I am still on the first part of setting up gazebo garden and connecting it to ArduPilot and SITL. When trying to configure the environment variables, after I resource with the command “source ~/.bashrc”, I get  
“bash: /usr/share/gazebo/setup.sh: No such file or directory  
bash: /opt/ros/noetic/setup.bash: No such file or directory  
bash: /usr/share/gazebo/setup.sh: No such file or directory  
bash: /usr/share/gazebo/setup.sh: No such file or directory  
bash: /usr/share/gazebo/setup.sh: No such file or directory  
bash: /usr/share/gazebo/setup.sh: No such file or directory”  
Do you know what exactly these errors are or any way to fix them? I am struggling to find useful information on line. Thank you

---

<div class="post-metadata">

**Author:** ![ssicari](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@ssicari](https://discuss.bluerobotics.com/u/ssicari)\
**Post date:** [May 18, 2023, 3:48pm UTC](https://discuss.bluerobotics.com/t/issue-with-installing-gazebo-7-and-8-for-ardusub-sitl/13654/5 "2023-05-18T15:48:54Z")

</div>

Update: It seems as long as I rerun the environment commands, I can get the demo to work before moving on to the bluerov models. However, the quadcopter models do not load into the sim, I just see green boxes in place of it. Have you encountered this before?

---

<div class="post-metadata">

**Author:** ![Zeynep](https://avatars.discourse-cdn.com/v4/letter/z/73ab20/32.png) [@Zeynep](https://discuss.bluerobotics.com/u/Zeynep)\
**Post date:** [June 23, 2023, 7:18pm UTC](https://discuss.bluerobotics.com/t/issue-with-installing-gazebo-7-and-8-for-ardusub-sitl/13654/6 "2023-06-23T19:18:42Z")

</div>

I haven’t worked on quatcopters so, unfortunately I haven’t encountered this issue before 😕

---

<div class="post-metadata">

**Author:** ![ssicari](https://avatars.discourse-cdn.com/v4/letter/s/ce7236/32.png) [@ssicari](https://discuss.bluerobotics.com/u/ssicari)\
**Post date:** [June 23, 2023, 7:36pm UTC](https://discuss.bluerobotics.com/t/issue-with-installing-gazebo-7-and-8-for-ardusub-sitl/13654/7 "2023-06-23T19:36:17Z")

</div>

Thank you, I managed to fix it!
