Cannot load iris xacro in ros moveit
Description
I have recently installed ROS moveit and i was trying to test IRIS quad in moveit, although when i am trying to upload iris.xacro from my px4 firmware, it showing error that "Undefined substitution argument rotors_description_dir None" and it not able to recognnize rotors description package in px4 firmware. can anyone tell me i am forgetting to do any workaround !
Thanks
Environment
ROS Distro: [Kinetic]
OS Version: 16.04
Steps to reproduce
- clone the px4 firmware from https://github.com/PX4/Firmware
- launch rosmove it
- load iris.xacro from rotor description
Expected behaviour
I should see iris model loaded using .xacro
Actual behaviour
ERROR : cannot find package rotor description
Backtrace or Console output
when processing file: /home/zubair/Firmware/Tools/sitl_gazebo/models/rotors_description/urdf/iris_base.xacro
[rospack] Error: package 'sitl_gazebo' not found
[librospack]: error while executing command
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
Undefined substitution argument rotors_description_dir None
when processing file: /home/zubair/Firmware/Tools/sitl_gazebo/models/rotors_description/urdf/iris.xacro
Can you please update your question with the exact commands that you're using?
Please do not cross-post your question to both the MoveIt issue tracker (ros-planning/moveit#985) and ROS Answers. It will lead to split discussions in the best case, and wasted effort in the worst.
Inside moveit setup assistance, i am passing this "xacro --inorder iris.xacro rotors_description_dir:= /home/Firmware/Tools/sitl_gazebo/models/rotors_description "
I have also the same problem: I get that error: Running xacro failed. The terminal error output was "Undefined substitution argument rotors_description_dir None when processing file: /home/john/src/Firmware/Tools/sitl_gazebo/models/rotors_description/urdf/iris.xacro"
Could anyone help?