You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The gripper action doesn't return stall in simulation because the simulation velocity oscillates and never settles. The proposed solution is to make "stalling" determined by position. The following code needs to change:
{{{
// Determines if the gripper has stalled.
if (fabs(msg->process_value_dot) > stall_velocity_threshold_)
{
last_movement_time_ = ros::Time::now();
}
}}}
The gripper action should keep a best_achieved_position_ and best_achieved_position_time_, and check if they've been surpassed recently.
[hsu] a '''stall_velocity_threshold''' parameter was added, but not documented, I just updated documentation to reflect the code: [http://www.ros.org/wiki/pr2_gripper_action pr2_gripper_action]].
The gripper action doesn't return stall in simulation because the simulation velocity oscillates and never settles. The proposed solution is to make "stalling" determined by position. The following code needs to change:
{{{
// Determines if the gripper has stalled.
if (fabs(msg->process_value_dot) > stall_velocity_threshold_)
{
last_movement_time_ = ros::Time::now();
}
}}}
The gripper action should keep a best_achieved_position_ and best_achieved_position_time_, and check if they've been surpassed recently.
trac data:
The text was updated successfully, but these errors were encountered: