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

Implement functions to get publisher and subcription informations like QoS policies from topic name #336

Merged
Merged
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
6721292
Simpled test for topic_cache
jaisontj Oct 17, 2019
944e1f3
Moved qos_converter to include/ since it needs to be accessible to
jaisontj Oct 18, 2019
e7a4a7e
- Modified topic_cache to include qos policies
jaisontj Oct 18, 2019
d0ac7e0
Stubs for rmw_get_publishers_info_by_topic and
jaisontj Oct 16, 2019
e640479
Implemented rmw_get_publishers_info_by_topic and
jaisontj Oct 23, 2019
1a80e44
- Addressing code review changes: Using const auto instead of auto
jaisontj Nov 14, 2019
30a2a56
- Alpha sorted cmakelist.txt
jaisontj Nov 16, 2019
dbfe0b4
- Alphasort
jaisontj Nov 16, 2019
04b29c8
- Refactor to accomodate change in rmw_topic_info_set* functions.
jaisontj Nov 22, 2019
af1e536
Refactor to accomodate change of gid from const char * to uint8_t[]
jaisontj Nov 22, 2019
e87e83c
Moved dds_qos_to_rmw_qos from qos_converter to qos.hpp
jaisontj Nov 22, 2019
16fcaed
- Modified topic cache to store participant guid and
jaisontj Nov 23, 2019
fea85a6
- Handled changes in headers from rmw
jaisontj Nov 27, 2019
1a4d9fa
Better error handling.
jaisontj Nov 27, 2019
169f218
fix error handling in _handle_topic_info_fini()
mm318 Dec 11, 2019
36e9718
address PR comments
mm318 Dec 14, 2019
8152876
address PR comments
mm318 Dec 18, 2019
642d9ed
conditionally demangle type name
mm318 Dec 19, 2019
38dec2a
reverse condition for demangling type name
mm318 Dec 28, 2019
c231f14
properly initialize history and history depth in topic info
mm318 Jan 2, 2020
a1a5e79
address more PR comments
mm318 Jan 10, 2020
354cae2
rename *topic_info* to *topic_endpoint_info*
mm318 Jan 10, 2020
1fe66ed
fix formatting
mm318 Jan 10, 2020
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
5 changes: 4 additions & 1 deletion rmw_fastrtps_shared_cpp/src/rmw_get_topic_info.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ _set_rmw_topic_info(
const char * node_name,
const char * node_namespace,
TopicData topic_data,
bool no_mangle,
::ParticipantListener * slave_target,
rcutils_allocator_t * allocator)
{
Expand All @@ -143,7 +144,8 @@ _set_rmw_topic_info(
return ret;
}
// set topic type
std::string type_name = _demangle_if_ros_type(topic_data.topic_type);
std::string type_name =
no_mangle ? _demangle_if_ros_type(topic_data.topic_type) : topic_data.topic_type;
wjwwood marked this conversation as resolved.
Show resolved Hide resolved
ret = rmw_topic_info_set_topic_type(topic_info, type_name.c_str(), allocator);
if (ret != RMW_RET_OK) {
return ret;
jaisontj marked this conversation as resolved.
Show resolved Hide resolved
Expand Down Expand Up @@ -229,6 +231,7 @@ _get_info_by_topic(
node_name,
node_namespace,
data,
no_mangle,
slave_target,
allocator);
if (ret != RMW_RET_OK) {
Expand Down