Open evbernardes opened 2 years ago
I'm not sure how to fix your issue, but is mavlink working with the wifi module? Also, the message about an interface being selected arbitrarily is a standard message when using cyclone DDS. You can try switching to fast DDS and see if that helps.
I'm not sure how to fix your issue, but is mavlink working with the wifi module? Also, the message about an interface being selected arbitrarily is a standard message when using cyclone DDS. You can try switching to fast DDS and see if that helps.
Thanks for your reply! Sadly since I didn't have any replies until now and I have a time constraint, I had to give up and install ROS1 Noetic with Mavros.
Describe the bug px4_ros_com successfully compiled inside my ROS2 (galactic) workspace, and activated on the PX4 side. I manage to make a connection between by UART over USB, but UDP connection never works and nothing is sent. Tried both with access mode and station mode for the WiFi.
To Reproduce This works:
micrortps_client start -t UART -d /dev/ttyACM0 -b 460800
micrortps_agent -d /dev/ttyACM0 -b 460800
This DOES NOT work:
micrortps_client start -t UDP -i <ip.adress.of.COMPUTER>
micrortps_agent start -t UDP -i <ip.adress.of.PIXRACER>
Drone (please complete the following information):
Additional context As another unexpected behaviour, even though I correctly set the ip adress of the drone, I get the message:
1641562296.353968 [0] micrortps_: using network interface eno1 (udp/ANOTHER.IP.ADRESS) selected arbitrarily from: eno1, wlp111s0
, while eno1 is the ethernet interface my computer uses to connect to the internet while wlp111s0 is the wifi interface it should be using. Disconnecting the ethernet and relaunching micrortps_agent removes this message, but still doesn't work.