Skip to content
Snippets Groups Projects
Commit 035ff5a2 authored by armar-user's avatar armar-user
Browse files

(FR) ObstacleAwarePlatformUnit: fixing drawing of bounding cylinder

parent a68d1e5e
No related branches found
No related tags found
No related merge requests found
......@@ -607,7 +607,7 @@ armarx::ObstacleAwarePlatformUnit::visualize(const velocities& vels)
l_prog.add(Cylinder{"boundingCylinder"}
.position(agent_pos)
.color(Color::cyan(255, 64))
.pose(simox::math::pos_rpy_to_mat4f(agent_pos, -M_PI_2, 0, 0))
.pose(simox::math::pos_rpy_to_mat4f(agent_pos, -M_PI_2, 0, 0) * Eigen::Isometry3f(Eigen::Translation3f(0, 0, 1000)).matrix())
.radius(m_viz.boundingCircle.radius)
.height(2000));
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment