forked from Archive/PX4-Autopilot
microdds: use UXR_DURABILITY_VOLATILE for data reader
This corresponds to the ROS2 default. Using reader=TRANSIENT_LOCAL and writer=VOLATILE (=default) is incompatible according to https://docs.ros.org/en/rolling/Concepts/About-Quality-of-Service-Settings.html
This commit is contained in:
parent
b36758b1a0
commit
45b390b0bf
|
@ -112,7 +112,7 @@ static bool create_data_reader(uxrSession *session, uxrStreamId reliable_out_str
|
|||
uxrObjectId datareader_id = uxr_object_id(id, UXR_DATAREADER_ID);
|
||||
|
||||
uxrQoS_t qos = {
|
||||
.durability = UXR_DURABILITY_TRANSIENT_LOCAL,
|
||||
.durability = UXR_DURABILITY_VOLATILE,
|
||||
.reliability = UXR_RELIABILITY_BEST_EFFORT,
|
||||
.history = UXR_HISTORY_KEEP_LAST,
|
||||
.depth = 0,
|
||||
|
|
Loading…
Reference in New Issue