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

Baxter Moveit tutorial example error

asked 2016-01-18 15:36:30 -0600

rdhn gravatar image

updated 2016-01-18 15:36:47 -0600

Using Ubuntu 14.04 with ROS Indigo installed. Trying to implement Moveit example for baxter.

I updated the baxter to the new sdk. Version 1.2.

Runnig

roslaunch baxter_moveit_config baxter_grippers.launch

gives me this error

... logging to /home/colab/.ros/log/3c0648a4-bdfe-11e5-aedd-000af70eb5a9/roslaunch-ros-monster-10040.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.

while processing /home/colab/ros/ws_baxter_sdk/src/moveit_robots/baxter/baxter_moveit_config/launch/planning_context.launch: Invalid tag: Cannot load command parameter [robot_description_semantic]: command [/opt/ros/indigo/share/xacro/xacro.py --inorder /home/colab/ros/ws_baxter_sdk/src/moveit_robots/baxter/baxter_moveit_config/config/baxter.srdf.xacro left_electric_gripper:=true right_electric_gripper:=true left_tip_name:=left_gripper right_tip_name:=right_gripper] returned with code [2].

Param xml is The traceback for the exception was written to the log file

Cannot understand the error. Please assist. Thank you

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-01-18 20:47:34 -0600

imcmahon gravatar image

updated 2016-01-19 10:35:05 -0600

It sounds like your Debain ROS installation is in a broken state. I believe roslaunch is telling you that xacro failed to create the SDF file. This is likely due to using an old version of xacro. I recommend updating your install:

$ sudo apt-get install --only-upgrade ros-indigo-xacro

If that doesn't work, you may need to update your entire set of ROS packages. The best way I know of for this (please correct me if I am wrong here):

$ sudo apt-get dist-upgrade

That will upgrade all of your out of date packages (ROS and otherwise), and remove any old and conflicting packages.

edit flag offensive delete link more

Comments

Still no luck. The roslaunch command still gets stuck.

rdhn gravatar image rdhn  ( 2016-01-19 12:23:22 -0600 )edit
0

answered 2016-01-19 10:17:48 -0600

rdhn gravatar image

updated 2016-01-19 10:19:45 -0600

I updated the xacro. Now the roslaunch command does not execute fully.

On terminating I get an error of this sort . .

... logging to /home/colab/.ros/log/1a3a62fa-bec6-11e5-8513-000af70eb5a9/roslaunch-ros-monster-18263.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.

^CTraceback (most recent call last): File "/opt/ros/indigo/bin/roslaunch", line 35, in <module> roslaunch.main() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/__init__.py", line 298, in main p.start() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 260, in start self._start_infrastructure() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 209, in _start_infrastructure self._load_config() File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/parent.py", line 124, in _load_config roslaunch_strs=self.roslaunch_strs, verbose=self.verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/config.py", line 451, in load_config_default loader.load(f, config, verbose=verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 730, in load self._load_launch(launch, ros_config, is_core=core, filename=filename, argv=argv, verbose=verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 702, in _load_launch Traceback (most recent call last): File "/opt/ros/indigo/share/xacro/xacro.py", line 58, in <module> xacro_jade.main() File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro_jade/__init__.py", line 998, in main self._recurse_load(ros_config, launch.childNodes, self.root_context, None, is_core, verbose) File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/xmlloader.py", line 666, in _recurse_load val = self._include_tag(tag, context, ros_config, default_machine, is_core, verbose) process_doc(doc, **vars(opts))

. . .

File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro_jade/__init__.py", line 420, in process_include func(include, macros, symbols) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro_jade/__init__.py", line 813, in eval_all process_include(node, macros, symbols, eval_all) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro_jade/__init__.py", line 420, in process_include func(include, macros, symbols) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro_jade/__init__.py", line 813, in eval_all process_include(node, macros, symbols, eval_all) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro_jade/__init__.py", line 420, in process_include func(include, macros, symbols) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro_jade/__init__.py", line 813, in eval_all process_include(node, macros, symbols, eval_all) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro_jade/__init__.py", line 420, in process_include func(include, macros, symbols) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro_jade/__init__.py", line 813, in eval_all process_include(node, macros, symbols, eval_all) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro_jade/__init__.py", line 420, in process_include func(include, macros, symbols) File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro_jade/__init__.py", line 863, in eval_all elif handle_macro_call(node, macros, symbols): . .

edit flag offensive delete link more

Comments

I reinstalled and updated a couple of time. It works now. Thanks.

rdhn gravatar image rdhn  ( 2016-01-20 18:01:32 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-01-18 15:36:30 -0600

Seen: 603 times

Last updated: Jan 19 '16