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

specifying arrow direction #161

Open
roboticsai opened this issue Jun 16, 2020 · 1 comment
Open

specifying arrow direction #161

roboticsai opened this issue Jun 16, 2020 · 1 comment

Comments

@roboticsai
Copy link

Eigen::Isometry3d pose1 = Eigen::Isometry3d::Identity();
                            pose1.translation() = p0;
                            visual_tools_->publishArrow(pose1, rvt::GREEN);
                            visual_tools_->trigger();

How do i specify the direction of arrow in this code?

@sea-bass
Copy link

RViz marker arrows will always face in the +X direction.

You can change pose1.rotation to whatever quaternion gets you the direction you want!

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

2 participants