[ros-users] How can I load models from Google SketUp ????
Aaron Martinez Romero
aaronmartinezromero at gmail.com
Wed Feb 9 12:30:47 UTC 2011
yes, was problem of the route, now is working but I have now another problem
with the dimension of the model:
the model made in sketchup have the same dimension that the model from
example urdf_tutorial, I mean length 0.6 meters and radios 0.2 meters.
the base link:
<link name="base_link">
<visual>
<geometry>
<cylinder length="0.6" radius="0.2"/>
</geometry>
<material name="blue">
<color rgba="0 0 .8 1"/>
</material>
</visual>
</link>
but in rviz I see a big cylinder much more bigger than the base_link.......
http://dl.dropbox.com/u/2950889/tube.png
http://dl.dropbox.com/u/2950889/sizeError.png
http://dl.dropbox.com/u/2950889/tube.dae
http://dl.dropbox.com/u/2950889/r2d2.urdf
What am I doing bad?
2011/2/5 John Hsu <johnhsu at willowgarage.com>
> Hi Aaron,
> Couple of questions. Which COLLADA version is your dae file? Can you post
> your urdf file and the dae file? Also, as a sanity check, try below and
> make sure the file exists:
>
> ls `rospack find urdf_tutorial`/mymodel.dae
>
> hope this helps.
> John
>
>
> On Fri, Feb 4, 2011 at 3:44 AM, Aaron Martinez Romero <
> aaronmartinezromero at gmail.com> wrote:
>
>> Hi everyone,
>>
>> Somebody know how can I load in my urdf a model from google sketup?? I am
>> exporting the model in dae file, but I always obtain this error message:
>>
>> [ERROR] [1296819682.438922687]: Could not load resource
>> [package://urdf_tutorial/mymodel.dae]: Collada:
>> package://urdf_tutorial/mymodel.dae - Expected opening element
>> [ERROR] [1296819682.439516423]: Could not load model
>> 'package://urdf_tutorial/mymodel.dae' for link 'right_leg': OGRE
>> EXCEPTION(6:FileNotFoundException): Cannot locate resource
>> package://urdf_tutorial/mymodel.dae in resource group Autodetect or any
>> other group. in ResourceGroupManager::openResource at
>> /tmp/buildd/ros-cturtle-visualization-common-1.2.0/debian/ros-cturtle-visualization-common/opt/ros/cturtle/stacks/visualization_common/ogre/build/ogre_src_v1-7-1/OgreMain/src/OgreResourceGroupManager.cpp
>> (line 753)
>>
>>
>> If I use other model, like "<mesh
>> filename="package://pr2_description/meshes/gripper_v0/l_finger.dae"/>"
>> works.
>>
>> Best regards.
>> --
>> Atentamente,
>> Aarón Martínez Romero
>> Ingeniero en Informática
>> Tlf: 600 283 349
>> http://www.AaronMR.com
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
--
Atentamente,
Aarón Martínez Romero
Ingeniero en Informática
Tlf: 600 283 349
http://www.AaronMR.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110209/511bdcd5/attachment-0003.html>
More information about the ros-users
mailing list