-
Notifications
You must be signed in to change notification settings - Fork 279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unknown macro name: xacro:base XacroException(u'unknown macro name: xacro:base',) #11
Comments
Hi, @u04617 Maybe I know your problem. According to your terminal's warning informations, I think you use the distribution of ROS is Jade or Kinetic, and the problem is just on the distribution of ROS. Firstly, I am using the Indigo, and I use the following command no any problem. $> roslaunch mastering_ros_robot_description_pkg view_arm.launch So according to your error information, I find the following lines in the seven_dof_arm.xacro: In addition to the error, there are warning informations on the terminal. If you visit Xacro wiki, you can find the xacro of Jade or Kinetic has more enhanced functionality and more limits than that of Indigo. So for the cause of warning, you can get by running xacro with option --check-order on the terminal just like $> roscd mastering_ros_robot_description_pkg
$> rosrun xacro xacro.py --check-order urdf/seven_dof_arm.xacro Last, according to the warning informations, I think the solution is here: Deprecated Syntax |
Thank you so much myyerrol. I followed the instructions and issue is resolved. Thank you so much. |
I am using the kinetic, and met the same issue. Yes, your solution works by commenting out those three macros, i.e., base, arm, and gripper. My questions is why it functions well with the old ROS distributions, such as Indigo. Where were those three macros defined in Indigo? Thanks. |
Hi, @Xianyong Firstly, you can look the following piccture: Secondly, for why it do well in the indigo distribution, the following picture may help you: |
I had the same error. |
I have been trying to run follow this book but I am facing some problems particularly in Chapter 2 and 3 and specifically in the file view_arm.launch. It is worth mentioning that this error is also reported in ROS website as well (link)
Whenever I run this file, I get the following error
I have been trying to resolve this problem in any way I can but it is not working.
I am also seeing this warning along with the above mentioned error,
Please, help me out how can I resolve this. Thank you.
The text was updated successfully, but these errors were encountered: