Cannot load iris xacro in ros moveit

asked 2018-07-14 18:24:41 -0500

zubair gravatar image

updated 2018-07-14 22:45:40 -0500

jayess gravatar image

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

  1. clone the px4 firmware from https://github.com/PX4/Firmware
  2. launch rosmove it
  3. 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
edit retag flag offensive close merge delete

Comments

Can you please update your question with the exact commands that you're using?

jayess gravatar image jayess  ( 2018-07-14 22:51:25 -0500 )edit
2

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.

gvdhoorn gravatar image gvdhoorn  ( 2018-07-15 04:41:45 -0500 )edit

Inside moveit setup assistance, i am passing this "xacro --inorder iris.xacro rotors_description_dir:= /home/Firmware/Tools/sitl_gazebo/models/rotors_description "

zubair gravatar image zubair  ( 2018-07-16 16:38:35 -0500 )edit

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?

sfeger gravatar image sfeger  ( 2018-07-27 00:47:41 -0500 )edit