osrf / drcsim

Repository for the DRC project.
18 stars 7 forks source link

IRobot Hand Issues #417

Open osrf-migration opened 10 years ago

osrf-migration commented 10 years ago

Original report (archived issue) by GoRobotGo (Bitbucket: GoRobotGo).

The original report had attachments: Screenshot from 2014-03-11 11:52:00.png, Screenshot from 2014-03-11 12:17:21.png, Screenshot from 2014-03-11 12:17:54.png


I have begun to look at using the simulated IRobot hand, but have run into a couple of issues. I have tried both the default and update_irobot_hand_issue_139 branches of drcsim (with the default branch of gazebo as of March 8th).

The macro'ed xacro for the irobot hand seems to be incorrect. Some fingers move forward and close, but other fingers will only move backwards. I have attached a screenshot. In the screenshot the two fingers on the right only move backwards while the finger on the left moves as expected. I would be happy to fix it on a finger by finger basis, but it wasn't obvious how to de-macroize the xacro so different fingers could have different ranges of motion.

Possibly related to that - a positive value in the irobot control message will generally open the fingers and a negative close. That doesn't seem tob e the case. The message I am using:

#!c++

    handle_msgs::HandleControl irobot_ctrl_msg;
    irobot_ctrl_msg.type[0] = irobot_ctrl_msg.VELOCITY;
    irobot_ctrl_msg.type[1] = irobot_ctrl_msg.VELOCITY;
    irobot_ctrl_msg.type[2] = irobot_ctrl_msg.VELOCITY;
    irobot_ctrl_msg.type[3] = irobot_ctrl_msg.VELOCITY;
    irobot_ctrl_msg.type[4] = irobot_ctrl_msg.VELOCITY;
    irobot_ctrl_msg.valid[0] = true;
    irobot_ctrl_msg.valid[1] = true;
    irobot_ctrl_msg.valid[2] = true;
    irobot_ctrl_msg.valid[3] = true;
    irobot_ctrl_msg.valid[4] = true;
    irobot_ctrl_msg.value[0] = 10000;
    irobot_ctrl_msg.value[1] = 10000;
    irobot_ctrl_msg.value[2] = 10000;
    irobot_ctrl_msg.value[3] = 0;
    irobot_ctrl_msg.value[4] = 0;

On the 139 branch the finger that moved in the correct direction on the right hand would not close very far, but would swing back and forth.

On the 139 branch the two fingers that move the correct direction on the left hand don't close all the way.

On the 139 branch the left two fingers would tilt together for some reason - see the 12-17-21 screenshot.

Finally, I couldn't get the fingers to rotate (vs close/open) (value[3] & value[4]), but this is less critical for me.

Let me know what other information you need or what I can do to help.

osrf-migration commented 10 years ago

Original comment by GoRobotGo (Bitbucket: GoRobotGo).


osrf-migration commented 10 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


On hold while we work on Robotiq hand model.