Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gen 3 lite End-effector orientation offset Z-axis #51

Closed
ngeerlingsriwo opened this issue Jun 3, 2020 · 3 comments
Closed

Gen 3 lite End-effector orientation offset Z-axis #51

ngeerlingsriwo opened this issue Jun 3, 2020 · 3 comments

Comments

@ngeerlingsriwo
Copy link

Description

The orientation of the end-effector has a 90 deg offset on the Z-axis.

Version

At a minimum, provide the Kortex API and Kortex-enabled device versions.

KortexAPI : 2.1.1-130

Kortex Device : WO521050-1 (Gen3lite with 2f gripper)

Steps to reproduce

  1. Use the Actions menu in the web-app to move the robot to Zero configuration.

  2. Verify that the robot is in the exact same configuration as in Figure 63 in the Kinova Gen3 lite robot User Guide (page 122). The tool and base frame are now aligned, therefore the rotation matrix should be the identity matrix. Thus the extrinsic Z-Y-X Tait-Bryan angles should be 0(X), 0(Y) and 0(Z).

  3. Go to the Monitoring page in the webapp or open the actuation windown in Pose mode. Here you will see that the angles are 0(X), 0(Y) and 90(Z). How can this be?

  4. Run the ROS launch file (roslaunch kortex_driver kortex_driver.launch arm:=gen3_lite ip_address:=192.168.2.10 start_moveit:=false vision:=false gripper:=gen3_lite_2f).

  5. Go to rViz and flip open the TF/Frames/end_effector_link/Orientation tab. Here you will see that the quaternion is 0 (X), 0(Y), 0(Z), 1(W), which corresponds to the identity matrix, but conflicts with the angles in the web-app.

Code example

Expected behavior

I would expect the angles to be 0-0-0 in this case.

Any other information

I would like to have the option to send and receive the end-effector orientation as a quaternion, since this is the default way to describe orientations in ROS. I am currently figuring out how to do the conversion between your convention and quaternions.

@alexvannobel
Copy link
Contributor

Hi @ngeerlingsriwo ,

We changed the orientation of the end-effector to match the Gen3's end effector orientation just before the release and it looks like the user guide and a parameter in the ROS URDFs didn't follow along. The arm's feedback is correct. We're working on fixing the documentation and I'll fix the URDF.
I'll come back to you very shortly with the fix.

Thanks for the feedback,
Best,
Alex

@alexvannobel
Copy link
Contributor

Hi @ngeerlingsriwo ,

There were two causes to this :

  1. The user guide was not correctly updated after the tool frame change before the release.
  2. The tool_frame was not correctly referenced in the robot_description and MoveIt. The PR referenced in this issue added the tool_frame as it is considered by the arm's firmware.

This is the updated frame definition for the arm :

image

This is the updated transforms :

image
image
image
image
image
image
image

Unfortunately, changing the user guide takes more time and internal steps than answering on Github, so I'll let the issue open and pin it until the user guide is updated and put on our website.

Best,
Alex

@alexvannobel alexvannobel changed the title End-effector orientation offset Z-axis Gen 3 lite End-effector orientation offset Z-axis Jun 9, 2020
@alexvannobel alexvannobel pinned this issue Jun 9, 2020
@felixmaisonneuve
Copy link
Contributor

The documention of the Gen3 lite shows the sames values as the ones @alexvannobel mentionned.

I will close this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants