Ask Your Question
2

how to convert xacro file to urdf file?

asked Jun 27 '11

mhossameldin gravatar image mhossameldin
21 3

i wanna know the command used to convert xacro file to pure urdf file ,

Thanks for ur help

delete close flag offensive retag edit

2 Answers

Sort by ยป oldest newest most voted
8

answered Jun 27 '11

JeffRousseau gravatar image JeffRousseau
1141 15 21 34
http://jeffrousseau.info/
rosrun xacro xacro.py model.xacro > model.urdf
link delete flag offensive edit
0

answered Jun 29 '11

amix gravatar image amix
1

Hello,

I tried this command but nothing happened. A file is created on the same directories.

rosrun xacro xacro.py arm.urdf.xacro > arm.urdf

is their something wrong with this command

link delete flag offensive edit

Comments

there is nothing wrong with your command. If arm.urdf.xacro contains the xacro macros, arm.urdf should have the corresponding expanded xml's. If you have more detailed question, please post arm.urdf.xacro and the resulting arm.urdf. hsu (Jun 29 '11)edit

Your answer

Please start posting your answer anonymously - your answer will be saved within the current session and published after you log in or create a new account. Please try to give a substantial answer, for discussions, please use comments and please do remember to vote (after you log in)!
[hide preview]

Question tools

Follow
1 follower

subscribe to rss feed

Stats

Asked: Jun 27 '11

Seen: 208 times

Last updated: Jun 29 '11