# Installing ROS or ROS2 locally on BlueROV2

**URL:** <https://discuss.bluerobotics.com/t/installing-ros-or-ros2-locally-on-bluerov2/17292>\
**Category:** Blue Robotics Software\
**Created:** [June 28, 2024, 11:57am UTC](https://discuss.bluerobotics.com/t/installing-ros-or-ros2-locally-on-bluerov2/17292 "2024-06-28T11:57:34Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![susanna](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@susanna](https://discuss.bluerobotics.com/u/susanna)\
**Post date:** [June 28, 2024, 11:57am UTC](https://discuss.bluerobotics.com/t/installing-ros-or-ros2-locally-on-bluerov2/17292/1 "2024-06-28T11:57:34Z")

</div>

Hi everyone,

My team and I have been struggling for the past week on how to install ROS or ROS 2 locally on the Raspberry Pi 4 (2GB RAM, 64-bit) of our BlueROV2 Heavy. We currently have the standard Raspberry Pi OS 32-bit bullseye on the Pi. We would like to install ROS or ROS2 locally, but it looks like we have 2 choices:

1. For ROS, we would have to downgrade the OS to buster, as bullseye is [not supported](https://ros.org/reps/rep-0003.html#noetic-ninjemys-may-2020-may-2025) with ROS noetic.
2. For ROS 2, we would have to install Ubuntu 22.04 as suggested [here](https://docs.ros.org/en/foxy/How-To-Guides/Installing-on-Raspberry-Pi.html).

We will have to install ROS extensions for some additional sensors that we are using and we will do sensor fusion.

Has anyone had the same experience and can share some insights on how to proceed?

---

<div class="post-metadata">

**Author:** ![tony-white](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/tony-white/32/13297_2.png) [@tony-white](https://discuss.bluerobotics.com/u/tony-white)\
**Post date:** [June 28, 2024, 4:36pm UTC](https://discuss.bluerobotics.com/t/installing-ros-or-ros2-locally-on-bluerov2/17292/2 "2024-06-28T16:36:16Z")

</div>

Hi Susanna -  
Have you considered using [BlueOS](https://blueos.cloud/docs/blueos/latest/installation/), and installing the [ROS extension?](https://github.com/BlueOS-community/blueos-ros)  
If you’re intending to use ROS with the BlueROV2, this may be your best option…

---

<div class="post-metadata">

**Author:** ![susanna](https://avatars.discourse-cdn.com/v4/letter/s/bbce88/32.png) [@susanna](https://discuss.bluerobotics.com/u/susanna)\
**Post date:** [July 1, 2024, 2:24pm UTC](https://discuss.bluerobotics.com/t/installing-ros-or-ros2-locally-on-bluerov2/17292/3 "2024-07-01T14:24:15Z")

</div>

Hi Tony,  
We are already using BlueOS and I tried out the ROS extension, but we wanted to avoid using docker images as no one in my team has experience with them. Also, we would prefer to use ROS2 since our laptops mainly run on newer versions of Linux, which are not compatible with ROS. Right now we are trying to install blueOS on a newly flashed card with Ubuntu 22.04, and later install ROS2 with the extensions of the sensors.

---

<div class="post-metadata">

**Author:** ![tony-white](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.bluerobotics.com/tony-white/32/13297_2.png) [@tony-white](https://discuss.bluerobotics.com/u/tony-white)\
**Post date:** [July 1, 2024, 5:27pm UTC](https://discuss.bluerobotics.com/t/installing-ros-or-ros2-locally-on-bluerov2/17292/4 "2024-07-01T17:27:46Z")

</div>

Hi @susanna -  
Docker images are a very ubiquitous form of packaging software, I would encourage your team to get familiar with them! I’m not sure you’ll have an easy time getting ROS2 to coexist with BlueOS - this is likely much more challenging than the typical ROS extension approach. You can install the ROS extension in BlueOS with just a couple clicks in the Extensions Manager… best of luck!
