-
Notifications
You must be signed in to change notification settings - Fork 312
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
[CM] Add controller_manager activity topic #2006
Open
saikishor
wants to merge
16
commits into
ros-controls:master
Choose a base branch
from
pal-robotics-forks:add/cm/activity/topic
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
29c81a8
Add LifecycleInfo and ControllerManagerStatus message types
saikishor 76976bf
Add latched publisher of the controller manager activity
saikishor d6c8cf8
Rename the LifecycleInfo to NamedLifecycleState message type
saikishor df01691
Add `set_on_switch_callback` method to the RTControllersWrapper
saikishor ed19d63
Add `set_on_component_state_switch_callback` method to ResourceManager
saikishor 65faf4f
Add test for the controller activity message
saikishor 6768145
update release_notes.rst
saikishor e975db7
Merge branch 'master' into add/cm/activity/topic
saikishor 8c23873
Change the message from ControllerManagerStatus to ControllerManagerA…
saikishor c6ee487
Use on_* in the variable names
saikishor 934e4fd
Add documentation of the new publisher
saikishor 61ee0c4
Add comments to the newly added variables
saikishor 7952d89
Merge branch 'master' into add/cm/activity/topic
saikishor 27af6fe
Make reliable explicit on the QoS
saikishor 73aac52
Use `set_component_state` instead of directly deactivating it
saikishor d76302f
Merge branch 'master' into add/cm/activity/topic
saikishor File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# This message is used to provide the activity within the controller manager regarding the change in state of controllers and hardware interfaces | ||
|
||
# The header is used to provide timestamp information | ||
std_msgs/Header header | ||
|
||
# The current state of the controllers | ||
NamedLifecycleState[] controllers | ||
|
||
# The current state of the hardware components | ||
NamedLifecycleState[] hardware_components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# This message is used to provide information about the lifecycle state of the controller or the hardware components | ||
|
||
# The name of the controller or hardware interface | ||
string name | ||
|
||
# The current lifecycle state of the controller or hardware components | ||
lifecycle_msgs/State state |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It would be great to be consistent with the style of the existing docstrings, i.e. start the sentence with a verb for "brief". For example, I would put it here
However, I realize that we have already different docstring styles in this file. An example of another style is:
Is it intentional to have these different styles? @christophfroehlich