-
Notifications
You must be signed in to change notification settings - Fork 357
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[ForceTorqueSensorBroadcaster] Create ParamListener and get parameters on configure #698
Merged
Conversation
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
Codecov Report
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. @@ Coverage Diff @@
## master #698 +/- ##
==========================================
+ Coverage 35.78% 36.53% +0.75%
==========================================
Files 189 7 -182
Lines 17570 676 -16894
Branches 11592 357 -11235
==========================================
- Hits 6287 247 -6040
+ Misses 994 134 -860
+ Partials 10289 295 -9994
Flags with carried forward coverage won't be shown. Click here to find out more.
|
destogl
reviewed
Jul 14, 2023
bmagyar
approved these changes
Jul 24, 2023
Since the parameters are not declared on init anymore, they cannot be set without declaring them before
mergify bot
pushed a commit
that referenced
this pull request
Aug 18, 2023
…s on configure (#698) * Create ParamListener and get parameters on configure * Declare parameters for test_force_torque_sensor_broadcaster Since the parameters are not declared on init anymore, they cannot be set without declaring them before --------- Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com> (cherry picked from commit 32aaef7)
christophfroehlich
pushed a commit
that referenced
this pull request
Dec 4, 2023
…s on configure (#698) * Create ParamListener and get parameters on configure * Declare parameters for test_force_torque_sensor_broadcaster Since the parameters are not declared on init anymore, they cannot be set without declaring them before --------- Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com> (cherry picked from commit 32aaef7)
christophfroehlich
added a commit
that referenced
this pull request
Dec 5, 2023
…s on configure (backport #698) (#750) * [ForceTorqueSensorBroadcaster] Create ParamListener and get parameters on configure (#698) * Create ParamListener and get parameters on configure * Declare parameters for test_force_torque_sensor_broadcaster Since the parameters are not declared on init anymore, they cannot be set without declaring them before --------- Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com> (cherry picked from commit 32aaef7) * Fix "parameter is already declared" error --------- Co-authored-by: Noel Jiménez García <noel.jimenez@pal-robotics.com> Co-authored-by: Christoph Froehlich <christoph.froehlich@ait.ac.at>
saikishor
added a commit
to saikishor/ros2_controllers
that referenced
this pull request
Jan 25, 2024
…arameters on configure (ros-controls#698)" This reverts commit 32aaef7.
xueying4402
pushed a commit
to xueying4402/ros2_controllers
that referenced
this pull request
Jul 13, 2024
…s on configure (ros-controls#698) * Create ParamListener and get parameters on configure * Declare parameters for test_force_torque_sensor_broadcaster Since the parameters are not declared on init anymore, they cannot be set without declaring them before --------- Co-authored-by: Bence Magyar <bence.magyar.robotics@gmail.com>
6 tasks
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
backport-humble
This label should be used by maintainers only! Label triggers PR backport to ROS2 humble.
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.
Hi,
After the last sync of humble, the
ForceTorqueSensorBroadcaster
stopped working for me. After looking for the issue, I've found that there is a validation of the parameterframe_id
(added here), that is failing always because the parameters have not been loaded into the node yet and then, the parameter is empty at that point.I have the parameter declared in the yaml file that I'm loading in the node but the error I'm having is the following:
By creating the
ParamListener
and reading the parameters on configure instead of on init is working for me. I would like to have also a backport forhumble
.Thanks! :)