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

Manually fix a set of Topic QoS, and implement the max-rx-rate and downsampling #55

Merged
merged 15 commits into from
Nov 8, 2023
Prev Previous commit
Next Next commit
Apply DdsPipe suggestions
Signed-off-by: tempate <danieldiaz@eprosima.com>
Tempate committed Nov 7, 2023
commit 407e67477f8d77db0daba7f1cbf13eb832744d62
11 changes: 4 additions & 7 deletions fastddsspy_yaml/src/cpp/YamlReaderConfiguration.cpp
Original file line number Diff line number Diff line change
@@ -16,6 +16,7 @@
#include <ddspipe_core/types/dynamic_types/types.hpp>
#include <ddspipe_core/types/topic/dds/DdsTopic.hpp>
#include <ddspipe_core/types/topic/filter/IFilterTopic.hpp>
#include <ddspipe_core/types/topic/filter/ManualTopic.hpp>
#include <ddspipe_core/types/topic/filter/WildcardDdsFilterTopic.hpp>
#include <ddspipe_participants/types/address/Address.hpp>

@@ -140,13 +141,9 @@ void Configuration::load_dds_configuration_(
// Get optional topics
if (YamlReader::is_tag_present(yml, TOPICS_TAG))
{
auto manual_topics = YamlReader::get_list<WildcardDdsFilterTopic>(yml, TOPICS_TAG, version);

for (auto const& manual_topic : manual_topics)
{
auto new_topic = utils::Heritable<WildcardDdsFilterTopic>::make_heritable(manual_topic);
ddspipe_configuration.manual_topics.push_back(new_topic);
}
const auto& manual_topics = YamlReader::get_list<ManualTopic>(yml, TOPICS_TAG, version);
ddspipe_configuration.manual_topics =
std::vector<ManualTopic>(manual_topics.begin(), manual_topics.end());
}

/////