Unable to connect Pixhawk 6x to the laptop (XRCE-DDS)

Hi,

I want to connect the Pixhawk 6x to my laptop to receive ROS2 messages.

I’ve followed the instructions from this doc:

I set parameter like this:

UXRCE_DDS_CFG = Ethernet
UXRCE_DDS_AG_IP : 2130706433
UXRCE_DDS_DOM_ID : 0
UXRCE_DDS_KEY : 1
UXRCE_DDS_PRT : 8888
MAV_#(number)_CONFIG = disable

I set my laptop IPv4 to automatic.

But the connection isn’t working. Are there any additional laptop IP settings or PX4 parameters I need to configure?

PX4 version : 1.14.0
ROS2 version : Humble
DDS version : XRCE-DDS

1 Like

Hello l have also encountered this problem if there is a solution l would greatly appreciate it

hi li16, Can i ask did you use netplan to set a static IP on your laptop?

I think all the details for ethernet setup is here, maybe this will help!: PX4 Ethernet Setup | PX4 Guide (main)