Home | Tutorials | Wiki | Issues
Ask Your Question
0

Is it possible to change the mesh size in xacro file?

asked 2016-02-24 20:08:48 -0600

RRK gravatar image

I am trying to load a .stl model to gazebo using xacro. But the size of the model in gazebo is too big. I don't have editor to edit .stl so is it possible to reduce the size of mesh through xacro?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2017-09-11 04:55:28 -0600

Duckfrost gravatar image

updated 2017-09-11 04:56:29 -0600

I'd like to add a video example of whar @RRK user answered.

It works exactly the same way in XACROS and URDF files.

Here you have three code examples of how to make a mesh smaller, bigger and change scale in only one axis. C:\fakepath\options_scale.urdf.launch

edit flag offensive delete link more
0

answered 2016-02-24 21:17:59 -0600

RRK gravatar image

can change using mesh scale

<mesh scale="0.005 0.005 0.005" filename="package://grizzly_description/meshes/ultrasoundsensor.STL"/>

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-02-24 20:08:48 -0600

Seen: 677 times

Last updated: Sep 11