ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

How to move manipulator to an upward pose with Descartes?

asked 2016-02-24 05:20:50 -0500

Yishin gravatar image

updated 2016-02-24 05:25:40 -0500

In Getting Started with Descartes, it assumes the end effector is at upward direction. However, my manipulator is initialized with a horizontal pose, like this.

How to move the end effector to upward direction with Descartes API?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2016-02-24 21:49:57 -0500

Yishin gravatar image

I found a solution here: How to specify trajectory points with 6D pose?

The method is to specify a {X, Y, Z} position with Orientation vector. Here's the code snippet:

using namespace Eigen;
Matrix3d m;
m =   AngleAxisd(0, Vector3d::UnitX())
    * AngleAxisd(-M_PI/2, Vector3d::UnitY())
    * AngleAxisd(0, Vector3d::UnitZ());
pose.linear() = m;
edit flag offensive delete link more

Comments

I'm glad you found an answer to the issue you were having. If you have more trouble or questions going forward, please feel free to post here or on the Descartes issues page.

Jmeyer gravatar image Jmeyer  ( 2016-02-25 09:52:00 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2016-02-24 05:20:50 -0500

Seen: 305 times

Last updated: Feb 24 '16