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
[ForceTorqueSensorBroadcaster] Create ParamListener and get parameters on configure #698
Conversation
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.
|
Since the parameters are not declared on init anymore, they cannot be set without declaring them before
…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)
…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)
…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>
…arameters on configure (ros-controls#698)" This reverts commit 32aaef7.
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! :)