# UXRCE Client and Agent not Connecting

**URL:** <https://discuss.px4.io/t/uxrce-client-and-agent-not-connecting/37851>\
**Category:** ROS 1 / ROS 2\
**Created:** [April 19, 2024, 6:55am UTC](https://discuss.px4.io/t/uxrce-client-and-agent-not-connecting/37851 "2024-04-19T06:55:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JTUnger](https://discuss.px4.io/user_avatar/discuss.px4.io/jtunger/32/16368_2.png) [@JTUnger](https://discuss.px4.io/u/JTUnger)\
**Post date:** [April 19, 2024, 6:55am UTC](https://discuss.px4.io/t/uxrce-client-and-agent-not-connecting/37851/1 "2024-04-19T06:55:07Z")

</div>

Hello, I’m trying to get a Raspberry Pi4B running Ubuntu 22.04 and ROS2 Humble connected to a Pixhawk 6C. The RPI4 is connected to the TELEM2 port using the GPIOs TX, RX pins. I have PX4 1.14 stable installed via QGC in the pixhawk, with the following relevant parameters set:  
UXRCE\_DDS\_CFG = TELEM2  
MAV\_0\_CONFIG = TELEM1  
MAV\_1\_CONFIG, MAV\_2\_CONFIG = Disabled  
SER\_TEL2\_BAUD = 921600 8N1  
When I enter the MAVlink Console with the agent running in the RPI4 and call “uxrce\_dds\_client status” I get:  
 ![image](https://discuss.px4.io/uploads/default/original/3X/d/9/d905428feb3dad89b666663d793b4ef42a56fc35.png)  
On the RPI4 side I followed the ROS 2 User Guide and installed the Micro XRCE-DDS Agent, to start it I get this:

 ![image](https://discuss.px4.io/uploads/default/original/3X/4/5/45e0018eed1972d5e73d09e8ef48d3756219f2b5.png)  
I’ve tried to reinstall the UXRCE Agent, flash a fresh PX4 1.14 stable, check the physical connection (Rx/Tx cables flipped). At this point I’m stumped, any ideas to continue debugging?

---

<div class="post-metadata">

**Author:** ![Luke\_Connolly](https://discuss.px4.io/user_avatar/discuss.px4.io/luke_connolly/32/6572_2.png) [@Luke\_Connolly](https://discuss.px4.io/u/Luke_Connolly)\
**Post date:** [June 1, 2024, 8:17am UTC](https://discuss.px4.io/t/uxrce-client-and-agent-not-connecting/37851/2 "2024-06-01T08:17:54Z")

</div>

Hi, I have this same problem, did you fix this in the end?

---

<div class="post-metadata">

**Author:** ![JTUnger](https://discuss.px4.io/user_avatar/discuss.px4.io/jtunger/32/16368_2.png) [@JTUnger](https://discuss.px4.io/u/JTUnger)\
**Post date:** [September 18, 2024, 12:08am UTC](https://discuss.px4.io/t/uxrce-client-and-agent-not-connecting/37851/3 "2024-09-18T00:08:01Z")

</div>

Yeah, for future reference, when running Ubuntu Desktop/Server in a Raspberry Pi, the UART connection comes by disabled by default, to enable it you need to download raspi-config and enable serial connection.
