# ROS 2 Setup on RB5 Flight

Source: https://forum.modalai.com/topic/3102/ros-2-setup-on-rb5-flight
Category: Development Drones (https://forum.modalai.com/category/44/development-drones)
Tags: rb5
Posted: 2024-02-08 23:13:38 UTC by Advait Pandit
Replies: 2 · Views: 1001

## Advait Pandit · 2024-02-08 23:13:38 UTC

Hi,

I am currently working on Ubuntu 22.04 (Jammy) with my RB5 flight connected. I am trying to install ROS 2 on my drone. I was only able to find this video (https://youtube.com/watch?v=zEGe-5EdXC0) for reference that explains how to install ROS and not ROS 2 which would not work for me given the version of Ubuntu I am using. Therefore, I found another video (https://www.youtube.com/watch?v=onJFNSNiiIU), this tutorial explains how to install ROS 2 on RB5 Robotics platform. Before I proceed I wanted to know if this would work on my RB5 flight? If not how do you suggest I should proceed. Thank you.

## Reply by tom (ModalAI staff) · 2024-02-08 23:36:28 UTC

@Advait-Pandit see here https://docs.modalai.com/ros2-installation-voxl2/#ros2-installation-on-voxl-2

## Reply by Advait Pandit · 2024-02-09 18:23:51 UTC (in reply to tom)

@tom 

Thank you for your response, I went through the link you mentioned and had the following issues:

I had already setup the environment source from the video I mentioned earlier with the line:
source opt/ros/dashing/setup.bash
Is there a way to change it, or would it require a clean install?

Moreover, as I am new to this, I am having some trouble understanding the "MPA - to - Ros2" steps mentioned in the document. Can you please elaborate on the command lines I should  execute for the steps mentioned. Thanks again!
