Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deadline QoS [4993] #446

Merged
merged 55 commits into from
Apr 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
2896957
Refs #4693 Refactor of PublisherHistory and SubscriberHistory to use …
Feb 27, 2019
2ad4262
Refs #4693 Adding new class DeadlineTimer
Feb 27, 2019
8f302ac
Refs #4693 Changes to Participant, ParticipantImpl and RTPSParticipan…
Feb 27, 2019
7008458
Refs #4693 Adding callbacks to pub/sub listeners to notify missed dea…
Feb 27, 2019
b22e775
Refs #4693 Adding deadline functionality to publisher and subscriber
Feb 27, 2019
535850d
Refs #4693 Adding check for compatibility reader-writer
Feb 27, 2019
b565ea7
Refs #4693 Adding C++ example
Feb 27, 2019
a42182d
Refs #4693 Fixing a bug found in SubscriberHistory while testing dead…
Feb 28, 2019
40c40f9
Refs #4693 Changing default parameters in deadline example
Feb 28, 2019
9836302
Refs #4693 Do not start the timer if all instances missed the deadline
Feb 28, 2019
5b8771b
Refs #4693 Adding more options to the example to allow publisher to s…
Feb 28, 2019
26ae8de
Refs #4693 Refactoring Publisher(Subscriber)History to avoid reservin…
Feb 28, 2019
80d0493
Refs #4693 Removing unused class deadlineQoS
Mar 1, 2019
3b0069c
Refs #4693 History could be empty, fixing get_latest_samples() in Pub…
Mar 5, 2019
e794168
Refs #4693 Adding blackbox tests
Mar 6, 2019
c853f6c
Refs #4693 Adding helper CacheChange to Publisher/SubscriberHistory t…
Mar 6, 2019
bae2450
Refs #4693 Adding a struct to Publisher/SubscriberHistory to keep the…
Mar 6, 2019
b710723
Refs #4693 Changed a bit the design to fix failure seen when a sample…
Mar 6, 2019
f9a2818
Refs #4693 Adding some comments to tests and changing parameters so t…
Mar 6, 2019
1d38bff
Refs #4693 Improving precision of current time
Mar 6, 2019
1f08d35
Refs #4693 Locking reader/writer mutex to prevent the history from be…
Mar 6, 2019
b9af481
Refs #4693 Code formatting
Mar 6, 2019
60b7a35
Refs #4693 Added Offered/RequestedDeadlineMissedStatus defined in the…
Mar 8, 2019
e091692
Refs #4693 Adding getters for offered/requested deadline missed status
Mar 8, 2019
de2c466
Refs #4693 Back to first deadline implementation + update of unit tests
Mar 11, 2019
4687ac9
Refs #4693 Minor changes to C++ example + some fixes for compiler war…
Mar 11, 2019
c4b749a
Refs #4693 Resetting total_count_change after requesting deadline mis…
Mar 11, 2019
496c5ab
Refs #4693 Allowing changing deadline QoS
Mar 11, 2019
a51ba6b
Refs #4693 Updating C++ example description
Mar 11, 2019
99f5b28
Refs #4693 Alternative implementation
Mar 13, 2019
121a30a
Refs #4693 Removing some attributes from C++ example
Mar 13, 2019
63691fd
Refs #4693 Replacing forward declaration with include + other minor c…
Mar 13, 2019
9037d9f
Refs #4693 Replacing Time_t with chrono
Mar 14, 2019
bbc3448
Refs #4693 Moving next_deadline map to history
Mar 14, 2019
d5780d0
Refs #4693 Clarify example description
Mar 14, 2019
33fce99
Refs #4993 Addressing review suggestions related to C++ example
Mar 26, 2019
d445ee7
Refs #4993 Applying coding style to public member variables
Mar 26, 2019
aa7764d
Refs #4993 Passing deadline missed status as const and merging Offere…
Mar 26, 2019
1a957d0
Refs #4993 Moving KeyedChanges to a separate file so that publisher a…
Mar 26, 2019
cd62938
Refs #4993 Moving DeadlineTimer new directory src/cpp/timedevent
Mar 26, 2019
dd33773
Refs #4993 Fixing compiler errors in blackbox tests
Mar 27, 2019
0b39cf1
Refs #4993 Removing unnecessary getter in Participant
Mar 27, 2019
e6f036b
Refs #4993 Fixing warnings
Mar 27, 2019
5399969
Refs #4993 Moved KeyedChanges to a common/ subdirectory
Mar 27, 2019
094354a
Refs #4993 Removing unnecessary forward declaration
Mar 28, 2019
b08572d
Refs #4993 Changes to XML parser
Apr 10, 2019
d4a21ec
Refs #4993 Renaming DeadlineTimer -> TimedCallback so that class is s…
Apr 10, 2019
a4e89c6
Refs #4993 Fixing build and warnings
Apr 11, 2019
9958ddd
Refs #4993 Fixing deadline tests due to issue when resolving conflicts
Apr 12, 2019
e0be166
Refs #4993 Fixing valgrind
Apr 12, 2019
f1a8d03
Merge remote-tracking branch 'origin/develop' into feature/DeadlineQo…
Apr 12, 2019
4a77ec1
Refs #4993 Trying to make tests more stable increasing deadline perio…
Apr 13, 2019
f9f5f17
Refs #4993 Increasing duration even more
Apr 14, 2019
c508107
Refs #4993 Splitting long lines
Apr 15, 2019
79f4584
Refs #5133 Fixed LivelinessAssertion test.
Apr 15, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions examples/C++/DeadlineQoSExample/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Deadline QoS example

## Application description

This example illustrates the Deadline QoS feature on a FastRTPS Application.

To launch this example open two different consoles:

In the first one launch: ./DeadlineQoSExample publisher
In the second one launch: ./DeadlineQoSExample subscriber

## Application behaviour

The application will use a topic with three different keys,
one of which (the third one) sends a sample only half of the times.

By default the deadline period is set to 2000 ms and the publisher write rate to 1000 ms, so
that the third instance misses the deadline 50% of the time. The number of samples that will be written is set to 10.

The default behaviour can be changed by providing the following command line arguments:

./DeadlineQoSExample publisher [--deadline <deadline_ms>] [--sleep <writer_sleep_ms>] [--samples <samples>]
./DeadlineQoSExample subscriber [--deadline <deadline_ms>]

For example:

./DeadlineQoSExample publisher --deadline 1000 --sleep 500 --samples 5
./DeadlineQosExample subscriber --deadline 1000

will setup the publisher and subscriber to use a deadline period of 1000 ms, the publisher will write a new sample every 500 ms for the first two keys and every 1000 ms for the third one, and a total of 5 samples will be sent.
56 changes: 0 additions & 56 deletions examples/C++/DeadlineQoSExample/README.txt

This file was deleted.

92 changes: 0 additions & 92 deletions examples/C++/DeadlineQoSExample/deadlineQoS.cxx

This file was deleted.

68 changes: 0 additions & 68 deletions examples/C++/DeadlineQoSExample/deadlineQoS.h

This file was deleted.

Loading