Problem with converting .xacro to .urdf in Windows 10 ROS
I am using the command
rosrun xacro xacro.py <filename>.urdf.xacro > <filename>.urdf
as well as
rosrun xacro xacro --inorder <filename>.urdf.xacro > <filename>.urdf
I receive an error for both commands that says
xacro.py: error: expected exactly one input file as argument
which, for the second command, doesn't have the .py extension. The directory is valid and if I don't add the xacro.py or xacro --inorder part, the command runs without an error but doesn't produce a .urdf in the folder I want it in.
Sorry for the unclear description, I am not familiar with this software and am pretty new to coding. The reason I need to convert the .xacro to a .urdf file is because I am trying to make a GUI that shows one robot arm, however the .urdf file I have is for the entire robot. I followed this guide to use ROS on Windows 10.
Could you please always tag ROS-on-Windows questions with at least one tag mentioning
Windows
?