Hello I have tried to communicate px4 board and PC with following this instruction.
here is my hardware setup:
Host machine: Lenovo thinkpad Ubuntu 22.04
ROS2 Humble
PX4 Board: pixhawk 4
When I try with this command:
make px4_sitl gz_x500
MicroXRCEAgent udp4 -p 8888
gazebo garden opened and communication between ros2 and px4. Here is the output:
After gazebo I have started to try communication with px4 board.
I have configured the baudrate and set the UXRE_DD_Client parameters as shown below:
But when I tried this with PX4 board I doesnβt work. Here is the output of
sudo MicroXRCEAgent serial --dev /dev/ttyUSB0 -b 921600
:
It always stuck here.
I have used TELEM1 and TELEM2 either. But result was same.