Hi,
I have just setup a new environment and am not seeing any messages published to the /fmu/sensor_combined/out (or using “ros2 launch px4_ros_com sensor_combined_listener.launch.py”).
PX4 with RTPS runs fine and launches the micrortps_client (“make px4_sitl_rtps gazebo”)
The micrortps agent is definitely receving messages (I confirmed by running before and after launch px4 above, and messages received in the 1000s only after running) “micrortps_agent -t UDP”
If I publish a message manually in ros2 then I see it in the listener: “ros2 topic pub /fmu/sensor_combined/out px4_msgs/msg/SensorCombined”
So it seems to me the issue is with the micrortps agent - but I don’t know what to check.
I didn’t have this issue in Ubuntu 20.04 + ROS2 Galactic - but that might be a red herring - since its a new install now.
Other (perhaps) useful info:
When micrortps agent is running I can see publisher:
Hi, I have just setup a new environment and am not seeing any messages published to the /fmu/sensor_combined/out (or using “ros2 launch px4_ros_com sensor_combined_listener.launch.py”).
PX4 with RTPS runs fine and launches the micrortps_client (“make px4_sitl_rtps gazebo”)
The micrortps agent is definitely receving messages (I confirmed by running before and after launch px4 above, and messages received in the 1000s only after running) “micrortps_agent -t UDP”
If I publish a message manually in ros2 then I see it in the listener: “ros2 topic pub /fmu/sensor_combined/out px4_msgs/msg/SensorCombined”
So it seems to me the issue is with the micrortps agent - but I don’t know what to check.
I didn’t have this issue in Ubuntu 20.04 + ROS2 Galactic - but that might be a red herring - since its a new install now.
Other (perhaps) useful info: When micrortps agent is running I can see publisher:
~$ ros2 topic info /fmu/sensor_combined/out Type: px4_msgs::msg::SensorCombined Publisher count: 1 Subscription count: 0
But when I echo it I get this error ~$ ros2 topic echo /fmu/sensor_combined/out The message type ‘px4_msgs::msg::SensorCombined’ is invalid
Is somehow the micrortps agent sending invalid messages?