Hi Jorge,
On Mon, 6 Oct 2014 10:57:39 +0200
Jorge Santos Simón <
jsanto...@gmail.com> wrote:
> Hi Martin,
>
> Thanks, it's a good advice, but problematic to apply by now, because
> as explained here
> <
https://github.com/turtlebot/turtlebot_arm/issues/12>, openrave
> hasn't been upgraded for indigo/14.04, so I cannot regenerate the
> plugin without reverting my linux/ROS installation. Or can I, and my
> information is obsolete?
No, you're right, the PPA for OpenRAVE doesn't have 14.04 binaries
(only up to precise). You could either install it from source, or find
a 12.04 system to generate your plugin. You only need OpenRAVE on the
machine where you generate the plugin; once the ROS package is generated,
you can compile it anywhere without having to have OpenRAVE.
> In fact, the ideal would be to ignore roll and yaw, that are
> constrained by the robot geometry, but not pitch. Like that, I can
> keep some flexibility in the grasping direction, as some small
> objects are better grasped from above, but "tall" ones are with an
> horizontal gripper approach.
This is exactly what I think the IKFast IK type "TranslationZAxisAngle4D" does:
"TranslationXAxisAngle4D, TranslationYAxisAngle4D, TranslationZAxisAngle4D
- end effector origin reaches desired 3D translation, manipulator direction
makes a specific angle with x/y/z-axis (defined in the manipulator
base link’s coordinate system)"
(from
http://openrave.org/docs/latest_stable/openravepy/ikfast/)
I had to read that 5 times to process, but I think it's exactly what you
want: it lets you specify position and pitch, but ignores roll and yaw.
Hmmm... after writing all this, I just saw that you're a contributor to
the turtlebot_arm github repo, and it already uses an IKFast plugin. So...
what's wrong with that?
I also just found a message by Fergs where he said he's using a
TranslationDirection5D IK type with a fake joint there, so maybe the
TranslationZAxisAngle4D approach didn't work for him.
Cheers,
Martin