wilselby / ROS_quadrotor_simulator

Quadrotor simulator using ROS, Gazebo, and RVIZ
270 stars 125 forks source link

IOError: [Errno 2] No such file or directory: 'kit_c.xacro' #12

Closed shuklam20 closed 6 years ago

shuklam20 commented 6 years ago

Hi, I am trying to follow all the steps that you have mentioned, however when I enter (during the model Verification part) rosrun xacro xacro.py kit_c.xacro -o /tmp/kit_c.urdf I get an error:

Traceback (most recent call last): File "/opt/ros/indigo/share/xacro/xacro.py", line 62, in xacro.main() File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/init.py", line 673, in main f = open(args[0]) IOError: [Errno 2] No such file or directory: 'kit_c.xacro'

and the next command: check_urdf kit_c.urdf gives:

Error: Error document empty. at line 72 in /build/buildd/urdfdom-0.2.10+dfsg/urdf_parser/src/model.cpp ERROR: Model Parsing the xml failed

Can you please help me with? Do I need to install something extra? I am using Ubuntu 14.04 Trusty version and a newbie to ROS.

medhijk commented 6 years ago

You have a missing file which is available in the ROS_quadrotor_simulator package. Please install it in your source directory of your catkin_workspace using $ git clone https://github.com/wilselby/ROS_quadrotor_simulator once and then build your catkin_workspace.

wilselby commented 6 years ago

Thanks for the head's up and I apologize for the confusion. I've updated the readme to make the process more clear. Thanks again!

kylemanna commented 5 years ago

Are you sure?

hassankhalil766 commented 3 years ago

rosrun xacro xacro.py kit_c.xacro -o /tmp/kit_c.urdf xacro: Traditional processing is deprecated. Switch to --inorder processing! To check for compatibility of your document, use option --check-order. For more infos, see http://wiki.ros.org/xacro#Processing_Order

wilselby commented 3 years ago

Those look like warnings, not an error?

hassankhalil766 commented 3 years ago

xacro: Traditional processing is deprecated. Switch to --inorder processing! To check for compatibility of your document, use option --check-order. For more infos, see http://wiki.ros.org/xacro#Processing_Order No such file or directory: kit_c.xacro None None

hassankhalil766 commented 3 years ago

xacro: Traditional processing is deprecated. Switch to --inorder processing! To check for compatibility of your document, use option --check-order. For more infos, see http://wiki.ros.org/xacro#Processing_Order No such file or directory: kit_c.xacro None None

hassankhalil766 commented 3 years ago

Anyone help me with this ?

hassankhalil766 commented 3 years ago

rosrun xacro xacro.py kit_c.xacro -o /tmp/kit_c.urdf xacro: Traditional processing is deprecated. Switch to --inorder processing! To check for compatibility of your document, use option --check-order. For more infos, see http://wiki.ros.org/xacro#Processing_Order No such file or directory: kit_c.xacro None None

that's the error

On Wed, Jun 2, 2021 at 5:11 PM wilselby @.***> wrote:

Those look like warnings, not an error?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/wilselby/ROS_quadrotor_simulator/issues/12#issuecomment-852974428, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT76IHQCMEEBVW5P4TOPMDDTQYNX3ANCNFSM4D4OIUVQ .