mkdir -p ~/catkin_ws/src/mpu6050_driver/launch
cd ~/catkin_ws/src/mpu6050_driver/launch
nano mpu6050.launch
<launch>
<!-- Launch the MPU6050 Publisher Node -->
<node name="mpu6050_publisher" pkg="mpu6050_driver" type="mpu6050_publisher.py" output="screen"/>
<!-- Optional: Launch the TF Broadcaster Node -->
<!--
<node name="imu_tf_broadcaster" pkg="mpu6050_driver" type="tf_broadcaster.py" output="screen"/>
-->
</launch>

Explanation:
This launch file starts the mpu6050_publisher node, which reads data from the MPU6050 and publishes it to the /imu/data_raw topic.
source /opt/ros/noetic/setup.bash
source ~/catkin_ws/devel/setup.bash
roslaunch mpu6050_driver mpu6050.launch
