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

add logging permission profile #80

Merged
merged 3 commits into from
Feb 21, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions sros2/test/policies/common/node.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<profile xmlns:xi="http://www.w3.org/2003/XInclude">
<xi:include href="node/logging.xml"
xpointer="xpointer(/profile/*)"/>
<xi:include href="node/time.xml"
xpointer="xpointer(/profile/*)"/>
<xi:include href="node/parameters.xml"
Expand Down
6 changes: 6 additions & 0 deletions sros2/test/policies/common/node/logging.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<profile>
<topics publish="ALLOW" >
<topic>rosout</topic>
</topics>
</profile>
7 changes: 7 additions & 0 deletions sros2/test/policies/permissions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
<topic>rr/talker/set_parameters_atomicallyReply</topic>
<topic>rt/chatter</topic>
<topic>rt/parameter_events</topic>
<topic>rt/rosout</topic>
</topics>
</publish>
<subscribe>
Expand Down Expand Up @@ -74,6 +75,7 @@
<topic>rr/listener/set_parametersReply</topic>
<topic>rr/listener/set_parameters_atomicallyReply</topic>
<topic>rt/parameter_events</topic>
<topic>rt/rosout</topic>
</topics>
</publish>
<subscribe>
Expand Down Expand Up @@ -124,6 +126,7 @@
<topic>rr/add_two_ints_server/set_parametersReply</topic>
<topic>rr/add_two_ints_server/set_parameters_atomicallyReply</topic>
<topic>rt/parameter_events</topic>
<topic>rt/rosout</topic>
</topics>
</publish>
<subscribe>
Expand Down Expand Up @@ -174,6 +177,7 @@
<topic>rr/add_two_ints_client/set_parametersReply</topic>
<topic>rr/add_two_ints_client/set_parameters_atomicallyReply</topic>
<topic>rt/parameter_events</topic>
<topic>rt/rosout</topic>
</topics>
</publish>
<subscribe>
Expand Down Expand Up @@ -228,6 +232,7 @@
<topic>rr/minimal_action_server/set_parametersReply</topic>
<topic>rr/minimal_action_server/set_parameters_atomicallyReply</topic>
<topic>rt/parameter_events</topic>
<topic>rt/rosout</topic>
</topics>
</publish>
<subscribe>
Expand Down Expand Up @@ -282,6 +287,7 @@
<topic>rr/minimal_action_client/set_parametersReply</topic>
<topic>rr/minimal_action_client/set_parameters_atomicallyReply</topic>
<topic>rt/parameter_events</topic>
<topic>rt/rosout</topic>
</topics>
</publish>
<subscribe>
Expand Down Expand Up @@ -346,6 +352,7 @@
<topic>rt/fibonacci/_action/status</topic>
<topic>rt/chatter</topic>
<topic>rt/parameter_events</topic>
<topic>rt/rosout</topic>
</topics>
</publish>
<subscribe>
Expand Down