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

karburettor's profile - activity

2023-02-28 02:24:57 -0500 received badge  Great Answer (source)
2023-02-28 02:24:57 -0500 received badge  Guru (source)
2022-11-14 20:43:43 -0500 received badge  Good Question (source)
2022-07-18 04:06:45 -0500 received badge  Nice Question (source)
2022-07-18 04:06:42 -0500 received badge  Enlightened (source)
2022-07-18 04:06:42 -0500 received badge  Good Answer (source)
2022-02-21 09:17:20 -0500 received badge  Nice Answer (source)
2020-12-29 16:00:22 -0500 received badge  Student (source)
2020-04-22 13:11:25 -0500 received badge  Self-Learner (source)
2020-04-22 13:11:25 -0500 received badge  Teacher (source)
2019-09-24 05:34:03 -0500 received badge  Famous Question (source)
2019-08-25 19:04:57 -0500 received badge  Notable Question (source)
2019-08-25 06:30:20 -0500 marked best answer xacro: substitution args not supported: No module named 'rospkg'

I am an absolute beginner to Ubuntu and ROS and to such q/a forums, so please be forgiving. I am using Ubuntu 18.04.3 and running ROS Melodic. I am following an old Udacity course archive. It is about a package called simple_arm which I cloned from (https://github.com/udacity/simple_arm... )

I have created my catkin workspace, initialized it, cloned from github, ran catkin_make, sourced bash.setup as according to instructions. However I get an error when run the launch command:

roslaunch simple_arm robot_spawn.launch

The error i receive is:

... logging to /home/karthik/.ros/log/5ae6a64a-c58b-11e9-8b56-34e6ad8bdd6e/roslaunch-UnitedForever-17751.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: in-order processing became default in ROS Melodic. You can drop the option. substitution args not supported:  No module named 'rospkg'
when processing file: /home/karthik/catkin_ws/src/simple_arm/urdf/simple_arm.urdf.xacro
RLException: while processing /home/karthik/catkin_ws/src/simple_arm/launch/robot_description.xml: Invalid <param> tag: Cannot load command parameter [robot_description]: command [/opt/ros/melodic/lib/xacro/xacro --inorder '/home/karthik/catkin_ws/src/simple_arm/urdf/simple_arm.urdf.xacro'] returned with code [2].  Param xml is <param command="$(find xacro)/xacro --inorder '$(find simple_arm)/urdf/simple_arm.urdf.xacro'" name="robot_description"/> The traceback for the exception was written to the log file 
2019-08-25 06:12:02 -0500 answered a question xacro: substitution args not supported: No module named 'rospkg'

I had installed Anaconda. It had changed some python path. Uninstalling it and running above code solved the error. Than

2019-08-25 06:08:35 -0500 commented answer xacro: substitution args not supported: No module named 'rospkg'

Yes. Sorry for not mentioning.

2019-08-25 06:07:27 -0500 received badge  Popular Question (source)
2019-08-23 08:05:28 -0500 asked a question xacro: substitution args not supported: No module named 'rospkg'

Unable to run a Kinetic package on Melodic I am an absolute beginner to Ubuntu and ROS and to such q/a forums, so please