Skip to content

Better error message in pr2_head_action (ros ticket #5149) #356

@ahendrix

Description

@ahendrix

I'm seeing an error message when I try to point the head in some cases, and I'd like to see where it's coming from. Can this message be made more informative:

pr2_head_action/src/pr2_point_frame.cpp:265
{{{
if(traj_state.response.name.size() != joints)
{
ROS_ERROR("Number of joints mismatch: urdf chain vs. trajectory controller state.");
gh.setRejected();
return;
}
std::vectorurdf::JointLimits limits_(joints);
}}}

Specifically, can we add:

  • Joints from the trajectory controller and and command (by name)
  • Connection header or other info, so we know who's calling this

trac data:

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions