This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AWR1443BOOST: Ubuntu/Am572x-EVM TI-DEP01006 : roslaunch error on the Ubuntu Linux box

Part Number: AWR1443BOOST
Other Parts Discussed in Thread: TIDEP-01006

Dear Support team;

I would like to do the TIDEP-01006.

But, the following error occured on the Ubuntu Linux box when I done the "roslaunch turtlebot_bringup decrtiption.launch".

sugiyama@sugiyama-VirtualBox:~/catkin_ws$ roslaunch turtlebot_bringup description.launch
Traceback (most recent call last):
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/__init__.py", line 225, in main
    args = rlutil.resolve_launch_arguments(args)
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslaunch/rlutil.py", line 92, in resolve_launch_arguments
    resolved = roslib.packages.find_resource(args[0], args[1])
  File "/opt/ros/indigo/lib/python2.7/dist-packages/roslib/packages.py", line 495, in find_resource
    pkg_path = rospack.get_path(pkg)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 201, in get_path
    self._update_location_cache()
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 184, in _update_location_cache
    list_by_path(self._manifest_name, path, cache)
  File "/usr/lib/python2.7/dist-packages/rospkg/rospack.py", line 67, in list_by_path
    root = ElementTree(None, os.path.join(d, PACKAGE_FILE))
  File "/usr/lib/python2.7/xml/etree/ElementTree.py", line 611, in __init__
    self.parse(file)
  File "<string>", line 38, in parse
ParseError: not well-formed (invalid token): line 1, column 0

Could you tell me how to repair?

Best Regards,

 Masaaki Sugiyama

  • Hi,

    It seems you didn't update the python settings.

    Please see section  3.2.1.2.2 AM572x EVM Running Processor SDK Linux of the user's guide. 

    Charles O

  • Dear Charles-san;

    Thank you for your support.

    I could not find AM572x EVM Running Processor SDK Linux of the user's guide.

    Could you tell me this URL?

    Best Regards,

     Masaaki Sugiyama

  • Page 16 of the user's guide, section  3.2.1.2.2,  titled "AM572x EVM Running Processor SDK Linux"

  • Dear Charles-san;

    I understood.

    But, this means on AM572xEVM.

    My log is on Ubuntu Linux box (PC).

    Do I need the same setting on PC (Ubuntu Linux box)?

    But there is no file of python3-config on my Ubuntu.

    sugiyama@sugiyama-VirtualBox:/usr/bin$ ls -l /usr/bin/*python*
    -rwxr-xr-x 1 root root    1056 12月 21  2013 /usr/bin/dh_python2
    lrwxrwxrwx 1 root root      29 10月 29 14:26 /usr/bin/dh_python3 -> ../share/dh-python/dh_python3
    -rwxr-xr-x 1 root root   73560  3月 23  2014 /usr/bin/pvtkpython
    lrwxrwxrwx 1 root root       9 11月 12 16:17 /usr/bin/python -> python2.7
    lrwxrwxrwx 1 root root       9 10月 29 14:26 /usr/bin/python2 -> python2.7
    -rwxr-xr-x 1 root root 3341256 11月 13  2018 /usr/bin/python2.7
    lrwxrwxrwx 1 root root      33 11月 13  2018 /usr/bin/python2.7-config -> x86_64-linux-gnu-python2.7-config
    lrwxrwxrwx 1 root root      16 12月 21  2013 /usr/bin/python2-config -> python2.7-config
    lrwxrwxrwx 1 root root       9 10月 29 14:26 /usr/bin/python3 -> python3.4
    -rwxr-xr-x 1 root root 3709816 11月 13  2018 /usr/bin/python3.4
    -rwxr-xr-x 1 root root 3709816 11月 13  2018 /usr/bin/python3.4m
    lrwxrwxrwx 1 root root      10 10月 29 14:26 /usr/bin/python3m -> python3.4m
    lrwxrwxrwx 1 root root      16 12月 21  2013 /usr/bin/python-config -> python2.7-config
    -rwxr-xr-x 1 root root   14880  3月 23  2014 /usr/bin/vtkpython
    -rwxr-xr-x 1 root root    2916 11月 13  2018 /usr/bin/x86_64-linux-gnu-python2.7-config
    lrwxrwxrwx 1 root root      33 12月 21  2013 /usr/bin/x86_64-linux-gnu-python-config -> x86_64-linux-gnu-python2.7-config

    Ubuntu version is 14.04 LTS.

    Could you tell me how do I do?

    B.R

     Sugiyama

  • Thats true. On the same page 15, there is a note to copy some files from the Sitara to the PC. Can you ensure you didn't skip that step?

    Also make sure you have ROS dependency including python installed. see section 1.7 of linked page .

    http://wiki.ros.org/kinetic/Installation/Ubuntu

    BR,

    Charles O

  • Dear Charles-san;

    Of course, I copied the following dirctries from the Sitara EVM to the PC.

    And, I wold like confirm.

    The URL you mentioned is Kinect ROS, but my ROS is Indigo.

    Should I install Indigo or Kinect?

    B,R

     Sugiyama

  • either one works,  you also need to install python dependency on Indigo. see 1.7 of linked doc

    http://wiki.ros.org/indigo/Installation/Ubuntu

  • Dear charles-san;

    I executed the "sudo apt-get install python-rosinstall".

    But I cannot find /usr/bin/python3-config file.

    sugiyama@sugiyama-VirtualBox:/usr/bin$ ls -la *python*
    -rwxr-xr-x 1 root root    1056 12月 21  2013 dh_python2
    lrwxrwxrwx 1 root root      29 11月 19 08:58 dh_python3 -> ../share/dh-python/dh_python3
    -rwxr-xr-x 1 root root   73560  3月 23  2014 pvtkpython
    lrwxrwxrwx 1 root root       7 11月 19 15:28 python -> python3
    lrwxrwxrwx 1 root root       9 11月 19 08:58 python2 -> python2.7
    -rwxr-xr-x 1 root root 3341256 11月 13  2018 python2.7
    lrwxrwxrwx 1 root root      33 11月 13  2018 python2.7-config -> x86_64-linux-gnu-python2.7-config
    lrwxrwxrwx 1 root root      16 12月 21  2013 python2-config -> python2.7-config
    lrwxrwxrwx 1 root root       9 11月 19 08:58 python3 -> python3.4
    -rwxr-xr-x 1 root root 3709816 11月 13  2018 python3.4
    -rwxr-xr-x 1 root root 3709816 11月 13  2018 python3.4m
    lrwxrwxrwx 1 root root      10 11月 19 08:58 python3m -> python3.4m
    lrwxrwxrwx 1 root root      16 12月 21  2013 python-config -> python2.7-config
    -rwxr-xr-x 1 root root   14880  3月 23  2014 vtkpython
    -rwxr-xr-x 1 root root    2916 11月 13  2018 x86_64-linux-gnu-python2.7-config
    lrwxrwxrwx 1 root root      33 12月 21  2013 x86_64-linux-gnu-python-config -> x86_64-linux-gnu-python2.7-config

    How do I make the python3-config file?

    B.R

     Sugiyama

  • Hi,

    is this a different error from the initial one? its unclear where the error is appearing at this point?

    the printout you share doesn't show any error.

    BR,

    Charles O

  • Dear Charles-san;

    Sorry late reply.

    I installed python3.5.5 additionally.

    This problem has been resolved.

    Thank you for your great support.

    B.R

     Sugiyama