Providing Autonomous Flight to drone

so i am trying to achieve a autonomous flight for my drone in gps denied environment
i am using
pixhawk 2.4.8
depth camera d435i
ubuntu 22.04
px4 firmware
ros2 humble
mavros

without GPS it will show you Invalid local position You can use ORB_SLAM3 to make your drone fly in position mode indoor without GPS. ORB_SLAM3will be running on companion computer

yeah , i am using slam to provide local position to the drone but i dont know how to integrate the slam with the mavros, i know about some ros packages vision_to_mavros but this is available for ros1 not ros2 can u help me integrating the slam pose data with mavros