-
Notifications
You must be signed in to change notification settings - Fork 438
Add service interface to control hardware lifecycle #559
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
Closed
destogl
wants to merge
27
commits into
ros-controls:master
from
destogl:services-for-hardware-lifecycle
Closed
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
80cd7bb
Towards selective starting and stoping of hardware components. Cleani…
destogl dcfa12c
Move Lifecycle of hardware componnet to the bottom for better overview.
destogl 4557a30
Use the same nomenclature as for controllers. 'start' -> 'activate'; …
destogl 85afb4b
Add selective starting and stopping of hardware resources.
destogl ae50446
Use lifecycle_msgs/State in ListHardwareCompoents for state represent…
destogl 6c9ae01
Simplify repeatable code in methods.
destogl eb1ce5e
Add HW shutdown structure into ResouceManager.
destogl 36e1c4a
Fill out service callback in CM and add parameter for auto-configure.
destogl ef7ab05
Move claimed_command_itf_map to ResourceStorage from ResourceManager.
destogl 802c48a
Do not automatically configure hardware in RM.
destogl 5c30673
Lifecycle and claiming in Resource Manager is working.
destogl 655e8a0
Extend controller manger to support HW lifecycle.
destogl 315cc14
Add also available and claimed status into list compoentns service ou…
destogl f9687bc
Add SetHardwareComponentState service.
destogl a479ff3
Make all output in services debug-output.
destogl 354b850
Remove specific services for hardware lifecycle management and leave …
destogl af76420
fix typo
destogl e9c18bc
Fix formatting.
destogl 8213312
Make init_resource_manager less stateful.
destogl 0c64f00
Supress compile warning on unused test constants.
destogl 184403c
Fix formatting.
destogl 6c11ff8
Address comments from review.
destogl 48d737d
Merge branch 'master' into services-for-hardware-lifecycle
destogl 4f24378
Fixup generic system tests.
destogl 4f0b031
Optimize tests of generic system per review comment.
destogl 91001c7
Optimize tests of RM
destogl 8d9796b
Correct formatting.
destogl 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 hidden or 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 hidden or 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 hidden or 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.
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.
why do we even have to write constants like this? there should be some global consts available like
rclcpp_lifecycle::State::InactiveThere 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.
Because the upstream library does not defines standard states fully, at least not with the ID or names. We could create defines for this or should we directly try to add this into rclcpp?
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.
Also it is not possible to set this const because of the underlying logic where no copy of state is done but in place changes are added if ID is not provided... Will comment more in corresponding PR.