Skip to content

Commit

Permalink
Apply suggestions
Browse files Browse the repository at this point in the history
Signed-off-by: Jesus Perez <jesusperez@eprosima.com>
  • Loading branch information
jepemi committed Nov 16, 2023
1 parent a4f5490 commit f8ff139
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 3 additions & 2 deletions ddsrecorder_yaml/src/cpp/recorder/YamlReaderConfiguration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,15 +68,16 @@ void RecorderConfiguration::load_ddsrecorder_configuration_(
// Create Simple Participant Configuration
simple_configuration = std::make_shared<SimpleParticipantConfiguration>();
simple_configuration->id = "SimpleRecorderParticipant";
simple_configuration->app_id = "DDS RECORDER";
simple_configuration->app_id = "DDS_RECORDER";
simple_configuration->app_metadata = "";
simple_configuration->is_repeater = false;

/////
// Create Recorder Participant Configuration
recorder_configuration = std::make_shared<ParticipantConfiguration>();
recorder_configuration->id = "RecorderRecorderParticipant";
recorder_configuration->app_id = "DDS RECORDER";
recorder_configuration->app_id = "DDS_RECORDER";
// TODO: fill metadata field once its content has been defined.
recorder_configuration->app_metadata = "";
recorder_configuration->is_repeater = false;

Expand Down
5 changes: 3 additions & 2 deletions ddsrecorder_yaml/src/cpp/replayer/YamlReaderConfiguration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ void ReplayerConfiguration::load_ddsreplayer_configuration_(
// WARNING: Replayer configuration must have been parsed beforehand
mcap_reader_configuration = std::make_shared<McapReaderParticipantConfiguration>();
mcap_reader_configuration->id = "McapReaderParticipant";
mcap_reader_configuration->app_id = "DDS REPLAYER";
mcap_reader_configuration->app_id = "DDS_REPLAYER";
mcap_reader_configuration->app_metadata = "";
mcap_reader_configuration->is_repeater = false;
mcap_reader_configuration->begin_time = begin_time;
Expand All @@ -101,7 +101,8 @@ void ReplayerConfiguration::load_ddsreplayer_configuration_(
// Create Replayer Participant Configuration
replayer_configuration = std::make_shared<SimpleParticipantConfiguration>();
replayer_configuration->id = "ReplayerParticipant";
replayer_configuration->app_id = "DDS REPLAYER";
replayer_configuration->app_id = "DDS_REPLAYER";
// TODO: fill metadata field once its content has been defined.
replayer_configuration->app_metadata = "";
replayer_configuration->is_repeater = false;

Expand Down
2 changes: 1 addition & 1 deletion docs/rst/notes/forthcoming_version.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ Next release will include the following **DDS Recorder & Replay internal adjustm
* Store *DDS Record & Replay* version in metadata record of the generated MCAP files.
* Move dynamic types storage from metadata to attachments MCAP section.
* Store schemas in OMG IDL format (instead of ROS 2 msg).
* Store `app_id` and `app_metadata` attributes in *DDS Record & Replay* participants.
* Set `app_id` and `app_metadata` attributes on *DDS Record & Replay* participants.

.. warning::

Expand Down

0 comments on commit f8ff139

Please sign in to comment.