Image bridge not passing camera topics from PX4 SITL to ROS2

Hello everyone,
I am having trouble bridging camera images from PX4_SITL to ROS 2. The image bridge doesn’t seem to forward the data to ROS 2.

I modified the x_500_base to include a camera

    <always_on>1</always_on>

<update_rate>30</update_rate>

true

camera_main

<horizontal_fov>1.396</horizontal_fov>

800

600

R8G8B8

0.1

100

base_link

camera_main_link

In the gazebo that the make px4_sitl gz_x500 opens, the image looks perfect and the topic (gz topic -e -t /camera_main)sends information. But when I try to create the bridge, the ros2 doesn’t receive the information. I’ve tried unsing the image_bridge command, bridge.yaml and every combination without success. So I come to you to see if you have had this problem before and know how to solve it.

P.D. This is my first ever post in any forum, so sorry if I break some rules. Be free to correctme :slight_smile: . Also english is not my first language, again sorry for the grammar mistakes :p.