-
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
[Diagnostics] Add diagnostics of execution time and periodicity of the hardware components #2005
Open
saikishor
wants to merge
33
commits into
ros-controls:master
Choose a base branch
from
pal-robotics-forks:add/hardware_component/statistics
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 25 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
17386af
Add MovingAverageStatistics struct
saikishor 8ba2f6b
Add HardwareComponentCycleStatus return type
saikishor 0a4c273
initialize the statistics
saikishor 7c7fade
Integrate HardwareComponentCycleStatus on the trigger read and write …
saikishor ef87463
Add statistics_types.hpp header
saikishor 2f00c4e
add HardwareComponentStatisticsCollector
saikishor 4f7cdad
Change to prio_inherit_mutex instead of recursive one
saikishor 5260019
Fill in the HardwareComponentCycleStatus from read and write cycle in…
saikishor 28bf286
Return trigger result for system
saikishor 241a325
add logic to update the statistics information
saikishor 455b08d
Add missing reset_statistics on activate
saikishor 08e583b
Add get_read_statistics and get_write_statistics to the Hardware Comp…
saikishor baf89cc
Only update_statistics when the sample count is higher
saikishor 138d1b9
Update read and write statistics data of hardware component info
saikishor dd6eb4f
return a const reference from `get_components_status` method
saikishor b5b46ed
Add hardware_components statistics GPL information
saikishor 7f4ddeb
Add first version of the hardware component diagnostics
saikishor 562d088
Add logic to the hardware components diagnostics
saikishor 6699413
add set_reset_statistics_sample_count method to reset statistics base…
saikishor 9daa4fa
add test on the hardware statistics
saikishor 5a3877b
Update parameter description
saikishor 8b52c3d
Merge branch 'master' into add/hardware_component/statistics
saikishor b74a55b
fix the logic for async hardware components
saikishor ba7275a
update write cycle statistics only if it is valid
saikishor 8c586cf
Apply suggestions from code review
saikishor cdb5427
Update controller_manager/src/controller_manager_parameters.yaml
saikishor 4a67663
Add conditioning to protect the hardware statistics
saikishor 8a64061
Fix the logic in the hardware components periodicity and proper cycles
saikishor 655414e
Add proper assertions for the async periodicity tests
saikishor 9b1a4c9
Merge branch 'master' into add/hardware_component/statistics
saikishor 1d752a2
Fix the parameters_context for the controllers diagnostics
saikishor 27eea3e
Use parameters_context.yaml for common documentation of the parameters
saikishor a59873f
fix the logic back for failing tests
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
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.
can we move some parts of the description to the parameters_context.yaml file, because they are repeating a lot? but I see that it is not sorted correctly in the rst, I'll have a look to fix that.
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.
I agree with you. Let's get this in as it is consistent with others for now, and let's fix it in a different PR?
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.
the sorting is fixed now with ros-controls/control.ros.org#384
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.
Awesome. I fixed the paramters_context.yaml as you suggested :)