ROS2 with SITL not working

Hi, I am trying to get Ardupilot get working my ROS2 setup.
ROS2 version: humble
Gazebo version: harmonic
Ubuntu 22.04
I am following instructions from ROS 2 with SITL — Dev documentation
I am currently using ardupilot repo on the master which I think corresponds to a version greater or equal to 4.6. Therefore I am trying to get the following command get working:

ros2 launch ardupilot_sitl sitl_dds_udp.launch.py transport:=udp4 synthetic_clock:=True wipe:=False model:=quad speedup:=1 slave:=0 instance:=0 defaults:=$(ros2 pkg prefix ardupilot_sitl)/share/ardupilot_sitl/config/default_params/copter.parm,$(ros2 pkg prefix ardupilot_sitl)/share/ardupilot_sitl/config/default_params/dds_udp.parm sim_address:=127.0.0.1 master:=tcp:127.0.0.1:5760 sitl:=127.0.0.1:5501

I get the following result, with no errors and no warnings,

~/ros2_ws ros2 launch ardupilot_sitl sitl_dds_udp.launch.py transport:=udp4 synthetic_clock:=True wipe:=False model:=quad speedup:=1 slave:=0 instance:=0 defaults:=$(ros2 pkg prefix ardupilot_sitl)/share/ardupilot_sitl/config/default_params/copter.parm,$(ros2 pkg prefix ardupilot_sitl)/share/ardupilot_sitl/config/default_params/dds_udp.parm sim_address:=127.0.0.1 master:=tcp:127.0.0.1:5760 sitl:=127.0.0.1:5501

[INFO] [launch]: All log files can be found below /home/teju/.ros/log/2024-10-14-17-41-01-137315-teju-Legion-5-15ITH6-221899
[INFO] [launch]: Default logging verbosity is set to INFO
namespace:        
transport:        udp4
middleware:       dds
verbose:          4
discovery:        7400
port:             2019
command:          arducopter
model:            quad
speedup:          1
slave:            0
sim_address:      127.0.0.1
instance:         0
defaults:         /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
synthetic_clock:  True
command:          mavproxy.py
master:           tcp:127.0.0.1:5760
sitl:             127.0.0.1:5501
out:              127.0.0.1:14550
console:          False
map:              False
[INFO] [micro_ros_agent-1]: process started with pid [221900]
[INFO] [dds_udp.parm --synthetic-clock -2]: process started with pid [221902]
[INFO] [mavproxy.py -3]: process started with pid [221904]
[dds_udp.parm --synthetic-clock -2] Setting SIM_SPEEDUP=1.000000
[dds_udp.parm --synthetic-clock -2] Suggested EK3_DRAG_BCOEF_* = 17.209, EK3_DRAG_MCOEF = 0.209
[dds_udp.parm --synthetic-clock -2] Starting sketch 'ArduCopter'
[dds_udp.parm --synthetic-clock -2] Starting SITL input
[dds_udp.parm --synthetic-clock -2] Using Irlock at port : 9005
[dds_udp.parm --synthetic-clock -2] Waiting for connection ....
[dds_udp.parm --synthetic-clock -2] bind port 5760 for SERIAL0
[dds_udp.parm --synthetic-clock -2] SERIAL0 on TCP port 5760
[micro_ros_agent-1] [1728907861.174341] info     | UDPv4AgentLinux.cpp | init                     | running...             | port: 2019
[micro_ros_agent-1] [1728907861.174468] info     | Root.cpp           | set_verbose_level        | logger setup           | verbose_level: 4
[dds_udp.parm --synthetic-clock -2] Connection on serial port 5760
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] bind port 5762 for SERIAL1
[dds_udp.parm --synthetic-clock -2] SERIAL1 on TCP port 5762
[dds_udp.parm --synthetic-clock -2] bind port 5763 for SERIAL2
[dds_udp.parm --synthetic-clock -2] SERIAL2 on TCP port 5763
[dds_udp.parm --synthetic-clock -2] Home: -35.363262 149.165237 alt=584.000000m hdg=353.000000
[dds_udp.parm --synthetic-clock -2] Smoothing reset at 0.001
[dds_udp.parm --synthetic-clock -2] validate_structures:514: Validating structures
[dds_udp.parm --synthetic-clock -2] Waiting for internal clock bits to be set (current=0x00)
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[mavproxy.py -3] Connect tcp:127.0.0.1:5760 source_system=255
[mavproxy.py -3] Log Directory: 
[mavproxy.py -3] Telemetry log: mav.tlog
[mavproxy.py -3] Waiting for heartbeat from tcp:127.0.0.1:5760
[mavproxy.py -3] AP: Calibrating barometer
[mavproxy.py -3] Detected vehicle 1:1 on link 0
[mavproxy.py -3] online system 1
[mavproxy.py -3] STABILIZE> Mode STABILIZE
[mavproxy.py -3] AP: ArduCopter V4.6.0-dev (2524583d)
[mavproxy.py -3] AP: ba5c2d2a8515447bb0ba21c408e99255
[mavproxy.py -3] AP: Frame: QUAD/PLUS
[mavproxy.py -3] AP: Barometer 1 calibration complete
[mavproxy.py -3] AP: Barometer 2 calibration complete
[dds_udp.parm --synthetic-clock -2] Loaded defaults from /home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/copter.parm,/home/teju/ros2_ws/install/ardupilot_sitl/share/ardupilot_sitl/config/default_params/dds_udp.parm
[micro_ros_agent-1] [1728907863.758683] info     | Root.cpp           | create_client            | create                 | client_key: 0xAAAABBBB, session_id: 0x81
[micro_ros_agent-1] [1728907863.758723] info     | SessionManager.hpp | establish_session        | session established    | client_key: 0xAAAABBBB, address: 127.0.0.1:42958
[mavproxy.py -3] Init Gyro**Received 1393 parameters (ftp)
[mavproxy.py -3] Saved 1393 parameters to mav.parm
[mavproxy.py -3] 
[mavproxy.py -3] AP: ArduPilot Ready
[mavproxy.py -3] AP: AHRS: DCM active
[mavproxy.py -3] AP: DDS: Init complete
[micro_ros_agent-1] [1728907863.765157] info     | ProxyClient.cpp    | create_participant       | participant created    | client_key: 0xAAAABBBB, participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.765292] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x000(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.765326] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0xAAAABBBB, publisher_id: 0x000(3), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.765491] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0xAAAABBBB, datawriter_id: 0x000(5), publisher_id: 0x000(3)
[micro_ros_agent-1] [1728907863.765537] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x001(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.765558] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0xAAAABBBB, publisher_id: 0x001(3), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.765659] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0xAAAABBBB, datawriter_id: 0x001(5), publisher_id: 0x001(3)
[micro_ros_agent-1] [1728907863.765702] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x002(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.765718] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0xAAAABBBB, publisher_id: 0x002(3), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.765812] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0xAAAABBBB, datawriter_id: 0x002(5), publisher_id: 0x002(3)
[micro_ros_agent-1] [1728907863.765862] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x003(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.765877] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0xAAAABBBB, publisher_id: 0x003(3), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.765966] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0xAAAABBBB, datawriter_id: 0x003(5), publisher_id: 0x003(3)
[micro_ros_agent-1] [1728907863.766008] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x004(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766021] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0xAAAABBBB, publisher_id: 0x004(3), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766092] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0xAAAABBBB, datawriter_id: 0x004(5), publisher_id: 0x004(3)
[micro_ros_agent-1] [1728907863.766134] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x005(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766146] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0xAAAABBBB, publisher_id: 0x005(3), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766239] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0xAAAABBBB, datawriter_id: 0x005(5), publisher_id: 0x005(3)
[micro_ros_agent-1] [1728907863.766279] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x006(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766299] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0xAAAABBBB, publisher_id: 0x006(3), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766396] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0xAAAABBBB, datawriter_id: 0x006(5), publisher_id: 0x006(3)
[micro_ros_agent-1] [1728907863.766444] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x007(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766460] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0xAAAABBBB, publisher_id: 0x007(3), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766559] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0xAAAABBBB, datawriter_id: 0x007(5), publisher_id: 0x007(3)
[micro_ros_agent-1] [1728907863.766593] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x008(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766606] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0xAAAABBBB, publisher_id: 0x008(3), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766677] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0xAAAABBBB, datawriter_id: 0x008(5), publisher_id: 0x008(3)
[micro_ros_agent-1] [1728907863.766713] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x009(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766729] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0xAAAABBBB, publisher_id: 0x009(3), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766808] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0xAAAABBBB, datawriter_id: 0x009(5), publisher_id: 0x009(3)
[micro_ros_agent-1] [1728907863.766844] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x00A(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766859] info     | ProxyClient.cpp    | create_publisher         | publisher created      | client_key: 0xAAAABBBB, publisher_id: 0x00A(3), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766936] info     | ProxyClient.cpp    | create_datawriter        | datawriter created     | client_key: 0xAAAABBBB, datawriter_id: 0x00A(5), publisher_id: 0x00A(3)
[micro_ros_agent-1] [1728907863.766972] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x00B(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.766995] info     | ProxyClient.cpp    | create_subscriber        | subscriber created     | client_key: 0xAAAABBBB, subscriber_id: 0x00B(4), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.767114] info     | ProxyClient.cpp    | create_datareader        | datareader created     | client_key: 0xAAAABBBB, datareader_id: 0x00B(6), subscriber_id: 0x00B(4)
[micro_ros_agent-1] [1728907863.767202] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x00C(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.767223] info     | ProxyClient.cpp    | create_subscriber        | subscriber created     | client_key: 0xAAAABBBB, subscriber_id: 0x00C(4), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.767331] info     | ProxyClient.cpp    | create_datareader        | datareader created     | client_key: 0xAAAABBBB, datareader_id: 0x00C(6), subscriber_id: 0x00C(4)
[micro_ros_agent-1] [1728907863.767407] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x00D(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.767423] info     | ProxyClient.cpp    | create_subscriber        | subscriber created     | client_key: 0xAAAABBBB, subscriber_id: 0x00D(4), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.767536] info     | ProxyClient.cpp    | create_datareader        | datareader created     | client_key: 0xAAAABBBB, datareader_id: 0x00D(6), subscriber_id: 0x00D(4)
[micro_ros_agent-1] [1728907863.767603] info     | ProxyClient.cpp    | create_topic             | topic created          | client_key: 0xAAAABBBB, topic_id: 0x00E(2), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.767616] info     | ProxyClient.cpp    | create_subscriber        | subscriber created     | client_key: 0xAAAABBBB, subscriber_id: 0x00E(4), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.767713] info     | ProxyClient.cpp    | create_datareader        | datareader created     | client_key: 0xAAAABBBB, datareader_id: 0x00E(6), subscriber_id: 0x00E(4)
[micro_ros_agent-1] [1728907863.768082] info     | ProxyClient.cpp    | create_replier           | replier created        | client_key: 0xAAAABBBB, requester_id: 0x000(7), participant_id: 0x001(1)
[micro_ros_agent-1] [1728907863.768363] info     | ProxyClient.cpp    | create_replier           | replier created        | client_key: 0xAAAABBBB, requester_id: 0x001(7), participant_id: 0x001(1)
[mavproxy.py -3] AP: DDS: Topic/Sub/Reader session pass for index '11'
[mavproxy.py -3] AP: DDS: Topic/Sub/Reader session pass for index '12'
[mavproxy.py -3] AP: DDS: Topic/Sub/Reader session pass for index '13'
[mavproxy.py -3] AP: DDS: Topic/Sub/Reader session pass for index '14'
[mavproxy.py -3] AP: DDS: Service/Replier session pass for index '0'
[mavproxy.py -3] AP: DDS: Service/Replier session pass for index '1'
[mavproxy.py -3] AP: DDS: Initialization passed
[mavproxy.py -3] AP: RC7: SaveWaypoint LOW
[mavproxy.py -3] Received 1402 parameters
[mavproxy.py -3] Saved 1393 parameters to mav.parm
[mavproxy.py -3] AP: EKF3 IMU0 initialised
[mavproxy.py -3] AP: EKF3 IMU1 initialised
[mavproxy.py -3] AP: AHRS: EKF3 active
[mavproxy.py -3] AP: EKF3 IMU1 tilt alignment complete
[mavproxy.py -3] AP: EKF3 IMU0 tilt alignment complete
[mavproxy.py -3] AP: EKF3 IMU1 MAG0 initial yaw alignment complete
[mavproxy.py -3] AP: EKF3 IMU0 MAG0 initial yaw alignment complete
[mavproxy.py -3] AP: GPS 1: probing for u-blox at 230400 baud
[mavproxy.py -3] AP: GPS 1: detected u-blox
[mavproxy.py -3] fence present
[mavproxy.py -3] Flight battery 100 percent
[mavproxy.py -3] AP: EKF3 IMU1 origin set
[mavproxy.py -3] AP: Field Elevation Set: 584m
[mavproxy.py -3] AP: EKF3 IMU0 origin set
[mavproxy.py -3] AP: EKF3 IMU0 is using GPS
[mavproxy.py -3] AP: EKF3 IMU1 is using GPS
[mavproxy.py -3] Flight battery 100 percent
[mavproxy.py -3] Flight battery 100 percent
[mavproxy.py -3] Flight battery 100 percent
[mavproxy.py -3] Flight battery 100 percent
[mavproxy.py -3] Flight battery 100 percent
[mavproxy.py -3] Flight battery 100 percent
[mavproxy.py -3] Flight battery 100 percent
[mavproxy.py -3] Flight battery 100 percent
[mavproxy.py -3] Flight battery 100 percent

but i dont see any ros2 topic under ap namespace. Infact the only topics i see are

/parameter_events
/rosout

Further doing ros2 node list results in nothing.
I verified that DDS_ENABLE param is set to 1
Can somebody please help me??
How do I know what is going wrong in my system?

Check that ROS_DOMAIN_ID=0 and RMW_IMPLEMENTATION=rmw_fastrtps_cpp.

The DDS client is connecting, so the problem is most likely an consistent ROS domain, or RMW, or Fast DDS library (see the warning in ROS 2 — Dev documentation).

Some times it helps to stop the ros2 daemon: $ ros2 daemon stop

@rhys thank you for the reply
I have installed dds using sudo apt install ros-humble-rmw-fastrtps-cpp
Could this be the problem?
Shall I follow the instructions in 3. Linux installation from sources — Fast DDS 3.1.0 documentation?

Should not need to install from source, and the ros-humble install of rwm-fastrtps-ccp should be ok (I use the standard headless install for ROS on an ubuntu server companion and it works find). The domain is worth checking, there is a parameter to control the domain choice in AP now, but start with the default (which should be 0).

A guy on Discord helped me solve it, but i could not figure out the reason for solving it
Keeping ROS_LOCALHOST_ONLY to 0 and then restarting my PC helped.
Thank you @rhys !

1 Like