Ask Your Question
0

roslaunch turtlebot_bringup minimal.launch not working+anaconda+python3.6

asked 2018-02-04 21:30:14 -0600

ariel gravatar image

updated 2018-02-14 16:35:53 -0600

marguedas gravatar image

The system is ubuntu14.04, I install the Anaconda 3, and I create an environment which belongs to python3.6. I install ros in anaconda python3.6 environment, I add the path like this: export PATH="/home/ariel/anaconda3/bin:$PATH" source /opt/ros/indigo/setup.bash and I install turtlebot. I go into the python3.6 environment, and print like this: sudo apt-get install ros-indigo-turtlebot ros-indigo-turtlebot-apps ros-indigo-turtlebot-interactions ros-indigo-turtlebot-simulator ros-indigo-kobuki-ftdi ros-indigo-rocon-remocon ros-indigo-rocon-qt-library ros-indigo-ar-track-alvar-msgs

however, when I use this instrction:roslaunch turtlebot_bringup minimal.launch it has some error:

(python3) ariel@ariel-ThinkPad-T420:~$ roslaunch turtlebot_bringup minimal.launch 
... logging to /home/ariel/.ros/log/6787eee4-0a21-11e8-a515-8c705a64ffd4/roslaunch-ariel-ThinkPad-T420-23885.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.

Traceback (most recent call last):
  File "/opt/ros/indigo/share/xacro/xacro.py", line 60, in <module>
    import xacro
  File "/opt/ros/indigo/lib/python2.7/dist-packages/xacro/__init__.py", line 36, in <module>
    import glob
ModuleNotFoundError: No module named 'glob'
while processing /opt/ros/indigo/share/turtlebot_bringup/launch/includes/robot.launch.xml:
while processing /opt/ros/indigo/share/turtlebot_bringup/launch/includes/description.launch.xml:
Invalid <param> tag: Cannot load command parameter [robot_description]: command [/opt/ros/indigo/share/xacro/xacro.py '/opt/ros/indigo/share/turtlebot_description/robots/kobuki_hexagons_asus_xtion_pro.urdf.xacro'] returned with code [1]. 

Param xml is <param command="$(arg urdf_file)" name="robot_description"/>
The traceback for the exception was written to the log file

I don't know how to do, can anyone give me some advive? Thank you!

edit retag flag offensive close merge delete

Comments

The default install of ROS is not designed to work with Anaconda. There are many similar questions, such as this one: https://answers.ros.org/question/2810...

clyde gravatar imageclyde ( 2018-02-08 00:32:44 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-03-09 00:10:13 -0600

mugenzebra gravatar image

updated 2019-03-09 01:15:03 -0600

jayess gravatar image

I had the same problem after installing Anaconda. Removing anaconda by doing the following works for me

rm -rf /home/your-username/Local/Software/Anaconda

Here's a link on more details on uninstalling Anaconda.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-02-04 21:30:14 -0600

Seen: 238 times

Last updated: Mar 09 '19