0
$\begingroup$

Rosanswers logo

im putting my stl filesin my urdf file but when i see it in rviz ,its too large.can someone help me with it


Originally posted by yams on ROS Answers with karma: 1 on 2017-02-05

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

ROS uses SI units for everything, so also in URDF (for link lengths) and for meshes. See REP-003, section Units.

You'll have to make sure your meshes use metres as scale. Meshes exported by CAD tools often use millimetres, so they will be a 1000 times too large.


If you don't want to or can't scale your meshes, you could use the scale attribute on the mesh element in your urdf. See wiki/urdf/XML/link - Elements for more information.


Originally posted by gvdhoorn with karma: 86574 on 2017-02-05

This answer was ACCEPTED on the original site

Post score: 0

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.