Skip to content

Conversation

@sviridovm
Copy link

@sviridovm sviridovm commented Dec 26, 2025

Added warn messages when an interface remapping does not occur.
Added warn messages when default interface is not present and thus there will be default NaN values.
Fixes issue #1776

@sviridovm sviridovm changed the title added warning messages when unable to remap the interface properly in Joint State Broadcaster. Fixes #1776 added warning messages when unable to remap the interface properly in Joint State Broadcaster. Dec 26, 2025
{
RCLCPP_WARN(
get_node()->get_logger(),
"Interface '%s' of joint '%s' is not mapped to any joint state field. The default value %s will be used.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Print the proper double default value

//then it should also print that it is not present and NaN's will be obtained in the respective field.
RCLCPP_WARN(
get_node()->get_logger(),
"Interface '%s' of joint '%s' is not present in JointState message fields. NaN's will be obtained in the respective field.",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"Interface '%s' of joint '%s' is not present in JointState message fields. NaN's will be obtained in the respective field.",
"Interface '%s' of joint '%s' is not present in JointState message fields. NaN's will be filled in the respective field.",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants