Ask Your Question
0

scale tag in uwsim

asked 2014-11-06 05:16:09 -0500

VahidD gravatar image

updated 2014-11-06 06:35:30 -0500

Hello,

I want to use scale tag for my mesh file in urdf that is loaded in uwsim, i tried like standard urdf in mesh tag, but it doen't work, also tried with inside collision tag that i got parsing error. anybody knows how it is possible to scaling mesh files in urdf for uwsim? Also is it possible to use xacro in uwsim or not? Thanks in advance.

my urdf:

<?xml version="1.0"?>
<robot name="visual">
<link name="base_link">
    <visual>
      <geometry>
         <!--   <cylinder length="0.6" radius="0.2"/> -->
         <!--   <mesh filename="robot/cube_20k.stl" scale="4 4 4"/> -->
          <mesh filename="robot/ARM5E/ARM5E_part0.osg" scale="6 6 6"/>
     </geometry>
</robot>
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-11-06 05:45:25 -0500

Javier Perez gravatar image

Hi,

Scale tag is working in URDF meshes since May 21, version 1.3.1-1. Please check if you have an older version because it should be working. As an example:

<mesh filename="robot/ARM5E/ARM5E_part0.osg" scale="3 3 3"/>

About xacro, URDF can be generated through xacro, but UWSim does not allow xacro input yet, it's still in TO-DO list.

edit flag offensive delete link more

Comments

Thank you, it works now, the problem was i installed from binary at first and scale tag didn't work, I installed from source and now it works.

VahidD gravatar image VahidD  ( 2014-11-06 08:03:43 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-11-06 05:16:09 -0500

Seen: 148 times

Last updated: Nov 06 '14