Make error message in PositionIKRequest less confusing #2517
Labels
good first issue
If you want to contribute work for the first time, look at this
moveit day candidate
This issue can likely be resolved in less than a day
Description
As described in this ROS Answers post, calling the
compute_ik
service with an emptyrobot_state
field displays the errorFound empty JointState message
because the field is parsed in _robotStateMsgToRobotStateHelper after passing through here. Something like "No hint for IK provided - starting from current robot state" should be displayed before the IK is called, imo.I believe the error message normally appears when an empty message arrives on
/joint_states
, and that behavior should persist. But I can't find where exactly it happens (presumably inplanning_scene_monitor
/current_state_monitor
), so I might just keep the error print inutils
and add the extra information.This would be a good first-timer issue since it only requires small changes in a few files.
Steps to reproduce
Call the
compute_ik
service with an emptyrobot_state
field in thePositionIKRequest
message.The text was updated successfully, but these errors were encountered: