Skip to content

Commit

Permalink
fixup! [DSR] fix breaking changes for FastDDS 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
JuanCarlosgg committed Jul 17, 2024
1 parent b7739f9 commit b417d0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/rtps/dsrpublisher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ std::tuple<bool, eprosima::fastdds::dds::Publisher*, eprosima::fastdds::dds::Dat
}

// Check ACK for sended messages.
dataWriterQos.reliable_writer_qos().times.heartbeatPeriod.seconds = 0;
dataWriterQos.reliable_writer_qos().times.heartbeatPeriod.nanosec = 20000000; //20 ms. This value should be more or less close to the sending frequency.
dataWriterQos.reliable_writer_qos().times.heartbeat_period.seconds = 0;
dataWriterQos.reliable_writer_qos().times.heartbeat_period.nanosec = 20000000; //20 ms. This value should be more or less close to the sending frequency.

//Check latency
dataWriterQos.latency_budget().duration = {0,10000000}; //10ms;
Expand Down

0 comments on commit b417d0e

Please sign in to comment.