Trouble converting this .xacro into a .urdf
Hello, I'm still a bit new to all of this and am still getting accustomed to ROS. I'm trying to convert this xacro into a urdf for a project that i am working on. I believe i installed ROS correctly on my laptop that runs windows 10, but i keep getting this error when i use the rosrun xacro xacro --inorder -o model.urdf model.urdf.xacro command. What could the issue be here? i have the file i want to convert in the directory so I'm not sure what else i could be doing wrong?
Update2: Sorry for that, here is the error:
C:\Windows\System32>rosrun xacro xacro --indorder -o vision60.urdf vision60.urdf.xacro
Usage: xacro [options] <input>
xacro: error: ←[91mno such option: --indorder←[0m
Update3: so with the help of osilva I was able to fix the original error but I'm still having some issues, this is the new error that is showing up:
in-order processing became default in ROS Melodic. You can drop the option. ←[91mNo such file or directory: V3/vision60v3.xacro [Errno 2] No such file or directory: 'V3/vision60v3.xacro'←[0m when processing file: vision60.urdf.xacro
I'd also like to thank this community for being so helpful, i really appreciate it!
Seems like maybe you forgot to add the error that you're getting? Please edit your question to add.
Thanks for pointing that out! totally missed it, just added the error!
I'm sorry to have to do this for something seemingly minor, but please don't post screenshots of terminal text in question on ROS Answers. It's all text, so there is no need. Just copy-paste the text from the terminal into your question text. Do make sure to format it properly by selecting the text and pressing
ctrl+k
(or clicking the Preformatted Text button (the one with101010
on it)).You don't need to post a new question, just edit your curent one. You can use the
edit
button/link for this.After you replace the screenshot with the error message itself, we can re-open your question.
Sorry about that! i have updated it now though
Hi @Stressedgineer looks like there is a syntax error - should be
--inorder
vsindorder
.Thanks @osilva ! I missed that, that did fix that error but now I'm just getting a new error message, this is what it says:
Any clue what this could be?
This is telling you that
vision60v3.xacro
file is missing. Hard to tell when you are calling this file without looking at your urdf file.