Open kyuhyong opened 10 months ago
Hi @kyuhyong , just for confirmation, are you workink on the branch release/1.14
?
Hi @kyuhyong , just for confirmation, are you workink on the branch
release/1.14
?
yes that's correct. As mentioned in https://discuss.px4.io/t/uxrce-dds-client-filled-up-to-93-1/35177/4 This issue was gone after stop manually starting the client from nsh but start by PARAM setting.
Hi @kyuhyong i have a similar error, the micro xrce_dds client don't receive anything from xrce agent. In particular when i send message from topic i receive this error:
xrce_dds_client: Pixhawk 6C, xrce_dds_agent: a companion Computer. I launch a ROS file from a Ground computer.
You have any idea?
Hi @Uzingr Did you check xrce_dds_client is up and running on nsh? Also need to check xrce dds is installed both on CC and GC.
Hi @Uzingr Did you check xrce_dds_agent is up and running on nsh? Also need to check xrce dds is installed both on CC and GC.
yes, xrce-dds is installed on both my Ground computer (an Ubuntu PC) and Companion computer (a Rasberry-like computer). From QGroundControl I type in "uxrce_dds_client status" and it says: "running, connected, Payload TX: 6700 (example, I don't remember the exact value), Payload RX:0. This makes me think that it is the xrce-dds-agent (my companion computer) that is not sending commands to the Pixhawk (flight controller). The xrce-dds client starts with the command "uxrce_dds_client start -t serial -d /dev/ttyS5 -b 57600"
baud 57600 is too slow for xrce-dds. Try to set baud 921600 or 2000000 for telem port in param settings in qgc.
Hi @kyuhyong i changed the baud rate to 921600 but didn't work. I think is a problem of this repo: https://github.com/ARK-Electronics/ROS2_PX4_Offboard_Example/blob/master/README.md because if i use a simple offboard_control example (https://docs.px4.io/main/en/ros2/offboard_control) by PX4_ros_com the client receives something (like 750 B/s). It's more strange because the repo that i use worked in SITL. Another problem is when i use the offboard_control example and launch the XRCE-DDS agent the drone give me this error: "no offboard signal". Why i receive this error?
Describe the bug
Running px4 release/1.14 on 6X module. Offboard PC(OPC) is running ubuntu 18.04 with ROS2 foxy installed. Host PC(HPC) is running ubuntu 20.04 with ROS2 foxy apt installed.
PX4 <-- serial --> OPC <-- ethernet --> HPC
When both micro_ros_agent and uxrce_dds_client are running, uxrce client shows connected but no rx packet received.
Task shows 93.3% FILLED in nsh
I tried to send arming command but nothing changed.
To Reproduce
On PX4, start uxrce_dds_client
On OPC, start micro_ros_agent
On HPC, start velocity commander
Expected behavior
PX4 would arm when commanded to arm the vehicle via ros 2 topic. Ros2 Topic echo shows command has sent to the agent as below
Screenshot / Media
Flight Log
No log is available
Software Version
release/1.14
Flight controller
6X
Vehicle type
Multicopter
How are the different components wired up (including port information)
px4 release/1.14 on 6X module. Offboard PC(OPC) is running ubuntu 18.04 with ROS2 foxy installed. Host PC(HPC) is running ubuntu 20.04 with ROS2 foxy apt installed.
PX4 <--(dev/ttyS3) serial (dev/ttyHS1)--> OPC <-- wired ethernet --> HPC
Additional context
No response