Open roboticsai opened 4 years ago
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?
RViz marker arrows will always face in the +X direction.
You can change pose1.rotation to whatever quaternion gets you the direction you want!
pose1.rotation
How do i specify the direction of arrow in this code?