ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

myyerol's profile - activity

2018-06-11 21:16:12 -0500 received badge  Nice Answer (source)
2017-10-17 03:30:05 -0500 received badge  Teacher (source)
2017-10-06 19:40:18 -0500 received badge  Autobiographer
2016-09-08 09:03:50 -0500 answered a question Book: Mastering ROS for Robotics Programming, 2nd Edn; Chapter 2 - Working with 3D Robot Modeling in ROS

Hi, Dr Abdul Mannan

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:

screenshot from 2016-09-08 20 46 18

As mentioned by error, I also don't find the definition of macro base. For example, if you are coding by using C++, you need call a function, but the function is not defined and implemented yet, the compiler must report a error. So solution is commenting out these lines:

screenshot from 2016-09-08 21 11 28

As for why indigo can run, I think the checked mechanism of indigo's xacro is less than Jade or Kinetic.

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

2015-05-05 00:45:34 -0500 received badge  Enthusiast
2014-12-28 11:36:49 -0500 answered a question Gazebo unable to launch empty world

I used the indigo, and I also met this problem occasionally.when I input rosrunch gazebo_ros willowgarage_world.launch terminal always report the error:no namespace found ! Finally, I solve this problem.My solution is inputsudo apt-get install ros-indigo-gazebo-ros-pkgs ros-indigo-gazebo-ros-control in the terminal. Maybe you need update some packages. If you want to receive more detail informations, please go to the > http://gazebosim.org/tutorials?tut=ro... . Believe maybe this can help you!