tu-darmstadt-ros-pkg / hector_quadrotor

hector_quadrotor contains packages related to modeling, control and simulation of quadrotor UAV systems.
Other
378 stars 277 forks source link

kinect camera issue #93

Open yiorgosk opened 6 years ago

yiorgosk commented 6 years ago

Hello i want to use hector_quadrotor in order to perform slam with kinect camera but when i summon the drone with the kinect camera on i get this issue:

... logging to /home/balkan/.ros/log/467f3498-8ffd-11e8-861b-2c4d54d42d24/roslaunch-balkan-balkan-13162.log Checking log directory for disk usage. This may take awhile. Press Ctrl-C to interrupt Done checking log file disk usage. Usage is <1GB.

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 redefining global property: pi when processing file: /home/balkan/husky_kinetic/src/src/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor_with_kinect.gazebo.xacro unknown macro name: xacro:inertial_sphere None None when instantiating macro: kinect_camera_model (/home/balkan/husky_kinetic/src/src/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor_with_kinect.gazebo.xacro) instantiated from: kinect_camera (/home/balkan/husky_kinetic/src/src/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor_with_kinect.gazebo.xacro) in file: /home/balkan/husky_kinetic/src/src/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor_with_kinect.gazebo.xacro while processing /home/balkan/husky_kinetic/src/src/hector_quadrotor/hector_quadrotor_gazebo/launch/spawn_quadrotor_with_kinect.launch: while processing /home/balkan/husky_kinetic/src/src/hector_quadrotor/hector_quadrotor_gazebo/launch/spawn_quadrotor.launch: Invalid tag: Cannot load command parameter [robot_description]: command [/opt/ros/kinetic/lib/xacro/xacro '/home/balkan/husky_kinetic/src/src/hector_quadrotor/hector_quadrotor_description/urdf/quadrotor_with_kinect.gazebo.xacro' base_link_frame:=/base_link world_frame:=/world] returned with code [2].

Param xml is The traceback for the exception was written to the log file

I have done research and i came to the conclusion that unknown macro name: xacro:inertial_sphere None None inertial sphere is missing from my xacro files. I do not know what is wrong.