I am conducting simulation tests in the ROS2 Humble environment using px4_sitl gz_x500 and ros2 launch mavros px4.launch, but I keep encountering the following error. It seems to be a QoS issue, but changing the values has not helped. What can I do? Is there something wrong with my test environment?
[WARN]: New publisher discovered on topic ‘mavros/local_position/pose’, offering incompatible QoS. No messages will be received from it. Last incompatible policy: RELIABILITY
My qos settings are as follows :
qos = QoSProfile(
reliability=ReliabilityPolicy.RELIABLE,
history=HistoryPolicy.UNKNOWN,
durability=DurabilityPolicy.TRANSIENT_LOCAL,
lifespan=Duration(seconds=0),
deadline=Duration(seconds=0),
liveliness=LivelinessPolicy.AUTOMATIC,
liveliness_lease_duration=Duration(seconds=0)
)