cvg / px-ros-pkg

A repository for PIXHAWK open source code running on ROS
50 stars 37 forks source link

Not receiving mavlink messages #18

Closed chataign closed 5 years ago

chataign commented 6 years ago

I am trying to use the px4flow ROS node, but while I receive the relevant Mavlink messages (encapsulated data, transmission handshake) from the px4flow when connected to QGC, I do not receive any when connecting via the Pixhawk (with the px4flow connected to the I2C bus. I think the issue might be the system ID -- the px4flow has 81 (default) while the Pixhawk/MAV has 1. When I connect to the px4flow via USB I can see Mavlink messages for vehicle 81, but when I connect to the Pixhawk I can only see vehicle 1. I tried to change the system ID for the px4flow to 1 from QGC, but the value doesn't seem to actually change. Also I AM receiving data from px4flow using the Mavros px4flow plugin. Am I doing something wrong?

Thanks!