-
Notifications
You must be signed in to change notification settings - Fork 349
[Feature] Choose different read and write rate for the hardware components #1570
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
Merged
bmagyar
merged 28 commits into
ros-controls:master
from
saikishor:add/hw_components/update_rate
Dec 4, 2024
Merged
Changes from 25 commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
b9416a1
added the initial changes for read_rate and write_rate
saikishor bbfb1e5
add last read and write cycle time to control the rate
saikishor ef24cdd
add read write rate parsing from the ros2_control tag in component pa…
saikishor 50e3257
fix the component info using the rw_rate in the HardwareInfo
saikishor e6baee7
Add tests to the parsed rw_rate
saikishor 15fc2a4
change the rw_rate between system and sensor interface for tests
saikishor 328f59a
for hardware read and write period switch to rclcpp::Duration
saikishor eed5e3b
update the state of the system test component similar to actuator tes…
saikishor 0a868ac
Add a test for a different components update rate and verifying with …
saikishor 13fefac
Add more checks and clean a part of the testing code
saikishor 081ead3
Add the test case of the deactivated case
saikishor f8b76e2
parameterize the tests for flexibility
saikishor c8b3550
Test also for the unconfigured and finalized lifecycle states
saikishor a8a19c2
Add testing for the component parser of the read and write rate
saikishor 6815e42
Update documentation and the release notes
saikishor eb357e1
Parse the actual period to the read and write methods
saikishor 19fc9bb
Use the current time to trigger the components based on their update …
saikishor b97f806
Update tests to reflect the change w.r.t reality
saikishor cc64820
update the logic to use the clock to initialize the last read and wri…
saikishor 3b46b09
Fix the test_component_interface for missing valid node_clock_interface
saikishor c4014f0
use the internal mutex to skip when occupied by other nonRT things
saikishor b46f581
add missing copying of read and write time in the copy constructor
saikishor 7437630
added the corner case of the simulation
saikishor bc47f7d
Fix test_component_interfaces for newly added tests
saikishor e273e06
Merge branch 'master' into add/hw_components/update_rate
bmagyar 98aeea8
Merge branch 'master' into add/hw_components/update_rate
saikishor ef64595
Move to single rw_rate variable instead of read and write separate rates
saikishor 68ddc9c
Merge branch 'master' into add/hw_components/update_rate
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 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
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.
Uh oh!
There was an error while loading. Please reload this page.