Ask Your Question
1

How to move manipulator to an upward pose with Descartes?

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

Yishin gravatar image

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

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 -0600

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 imageJmeyer ( 2016-02-25 09:52:00 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 78 times

Last updated: Feb 24 '16