.URDF.XACRO file

Typically: "How do I... ", "How can I... " questions
Post Reply
shazam
Posts: 7
Joined: 20 Sep 2019, 10:41

.URDF.XACRO file

Post by shazam »

hi everyone,
I am having problem with a .xacro file. I wanted to open it in V-Rep and in order to do so i used this command:

Code: Select all

rosrun xacro xacro --inorder model.urdf.xacro > model.urdf
This generate a .urdf file but when i try to open it in v-Rep, using [Menu->Plugins->ecc] the software fails.
I tried to find something online but didn't succeed.
Do you have any suggestion or a step by step guide in order to open a .xacro file in V-Rep?

Thank you very much guys.
Cheers

coppelia
Site Admin
Posts: 10361
Joined: 14 Dec 2012, 00:25

Re: .URDF.XACRO file

Post by coppelia »

Hello,

V-REP (or its plugins) cannot translate/understand xacro files, so you will have to process them as you mention it. Not sure what the problem with the generated URDF file is.
Maybe there is a possibility to translate your URDF file into an SDF file, which can also be read via a V-REP plugin.

Cheers

shazam
Posts: 7
Joined: 20 Sep 2019, 10:41

Re: .URDF.XACRO file

Post by shazam »

sorry i forgot to tell, the error I get is:

QMutex: destroying locked mutex.

fferri
Posts: 1216
Joined: 09 Sep 2013, 19:28

Re: .URDF.XACRO file

Post by fferri »

shazam wrote: 20 Sep 2019, 14:05 sorry i forgot to tell, the error I get is:

QMutex: destroying locked mutex.
I've seen that message a number of times, but I don't use the URDF plugin, so I guess that message is not related to your problem.

Post Reply