def test_generate_environment_script(self):
        try:
            fake_environ = os.environ.copy()
            fake_environ['FOO'] = '/bar'
            fake_environ['TRICK'] = '/lib'
            catkin.environment_cache.os.environ = fake_environ
            rootdir = tempfile.mkdtemp()
            env_file = os.path.join(rootdir, 'env.sh')
            with open(env_file, 'a') as fhand:
                fhand.write('''\
#! /usr/bin/env sh
export FOO=/foo:/bar
export TRICK=/usr/lib
export BAR=/bar
exec "$@"''')
            mode = os.stat(env_file).st_mode
            os.chmod(env_file, mode | stat.S_IXUSR)
            result = generate_environment_script(env_file)
            self.assertTrue('export FOO="/foo:$FOO"' in result, result)
            self.assertTrue('export TRICK="/usr/lib"' in result, result)
            self.assertTrue('export BAR="/bar"' in result, result)
            self.assertEqual('#!/usr/bin/env sh', result[0])
        finally:
            catkin.environment_cache.os.environ = os.environ
            shutil.rmtree(rootdir)
Exemplo n.º 2
0
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/melodic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/melodic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in '/home/cristian/tiago_dual_public_ws/devel;/opt/ros/melodic'.split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/cristian/tiago_dual_public_ws/devel/.private/pmb2_maps/env.sh')

output_filename = '/home/cristian/tiago_dual_public_ws/build/pmb2_maps/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    # print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 3
0
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import relatively if available to work before installing catkin or overlaying installed version
if os.path.exists(os.path.join('/opt/ros/groovy/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/groovy/share/catkin/cmake', '..', 'python'))
from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/ludo/workspace/rosbuild_ws/humanoid_stack/nao_robot/nao_msgs/build/devel/env.sh')

output_filename = '/home/ludo/workspace/rosbuild_ws/humanoid_stack/nao_robot/nao_msgs/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/hans/catkin_ws/devel;/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/hans/catkin_ws/devel/env.sh')

output_filename = '/home/hans/catkin_ws/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/pi/ros/turtlejoy_ws/devel/env.sh')

output_filename = '/home/pi/ros/turtlejoy_ws/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/groovy/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/groovy/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/aub-ch/git/wet/devel;/opt/ros/groovy".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/aub-ch/ros/my_navigation_test/build/devel/env.sh')

output_filename = '/home/aub-ch/ros/my_navigation_test/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 7
0
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/kinetic".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/pi/RCR/2018/ros_catkin_ws/devel_isolated/roslisp/env.sh')

output_filename = '/home/pi/RCR/2018/ros_catkin_ws/build_isolated/roslisp/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 8
0
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/luan/depthsense/devel;/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/luan/depthsense/devel/env.sh')

output_filename = '/home/luan/depthsense/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 9
0
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/melodic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/melodic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/melodic".split(';'):
        python_path = os.path.join(workspace, 'lib/python3/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/otoshuki/cv_ros/devel/.private/catkin_tools_prebuild/env.sh')

output_filename = '/home/otoshuki/cv_ros/build/catkin_tools_prebuild/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 10
0
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/kinetic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/jingzhe/catkin_ws/devel;/home/jingzhe/WorkSpace/ROS/AlphaDemo/devel;/home/jingzhe/WorkSpace/ROS/Rostutorials_HuCX/devel;/opt/ros/kinetic".split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/jingzhe/WorkSpace/ROS/AlphaDemo/devel/env.sh')

output_filename = '/home/jingzhe/WorkSpace/ROS/AlphaDemo/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/pi/catkinws/devel_isolated/serial;/home/pi/catkinws/devel_isolated/vision_opencv;/home/pi/catkinws/devel_isolated/tf_conversions;/home/pi/catkinws/devel_isolated/laser_geometry;/home/pi/catkinws/devel_isolated/tf;/home/pi/catkinws/devel_isolated/rplidar_ros;/home/pi/catkinws/devel_isolated/orocos_kinematics_dynamics;/home/pi/catkinws/devel_isolated/kdl_conversions;/home/pi/catkinws/devel_isolated/eigen_conversions;/home/pi/catkinws/devel_isolated/opencv_tests;/home/pi/catkinws/devel_isolated/image_geometry;/home/pi/catkinws/devel_isolated/geometry;/home/pi/catkinws/devel_isolated/cv_bridge;/home/pi/catkinws/devel_isolated/angles;/home/pi/catkinws/devel;/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/pi/catkinws/devel_isolated/eigen_conversions/env.sh')

output_filename = '/home/pi/catkinws/build_isolated/eigen_conversions/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 12
0
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/kinetic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/kinetic".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/danas/Qt_ws/devel/env.sh')

output_filename = '/home/danas/Qt_ws/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 13
0
# -*- coding: utf-8 -*-
from __future__ import print_function

import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/melodic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in '/home/govind/ariac_ws/devel;/opt/ros/melodic'.split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/govind/ariac_ws/devel/.private/gazebo_plugins/env.sh')

output_filename = '/home/govind/ariac_ws/build/gazebo_plugins/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    # print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 14
0
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/kinetic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/pi/propelled_cow/devel;/opt/ros/kinetic".split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/pi/propelled_cow/devel/env.sh')

output_filename = '/home/pi/propelled_cow/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 15
0
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/kinetic".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/zhang/dip_ws/devel/env.sh')

output_filename = '/home/zhang/dip_ws/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 16
0
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import relatively if available to work before installing catkin or overlaying installed version
if os.path.exists(os.path.join('/opt/ros/groovy/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/groovy/share/catkin/cmake', '..', 'python'))
from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/robo/Projects/WartHog/gps_umd/gps_common/build/devel/env.sh')

output_filename = '/home/robo/Projects/WartHog/gps_umd/gps_common/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 17
0
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import relatively if available to work before installing catkin or overlaying installed version
if os.path.exists(os.path.join("/opt/ros/groovy/share/catkin/cmake", "catkinConfig.cmake.in")):
    sys.path.insert(0, os.path.join("/opt/ros/groovy/share/catkin/cmake", "..", "python"))
from catkin.environment_cache import generate_environment_script

code = generate_environment_script("/home/futuhal57/ros/stacks/ar_recog/devel/env.sh")

output_filename = "/home/futuhal57/ros/stacks/ar_recog/catkin_generated/setup_cached.sh"
with open(output_filename, "w") as f:
    # print('Generate script for cached setup "%s"' % output_filename)
    f.write("\n".join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/melodic/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/melodic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/tomoya/catkin_ws/devel;/opt/ros/melodic".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/tomoya/ITSC_yokoyama/data_extraction/automan_based/build/devel/env.sh')

output_filename = '/home/tomoya/ITSC_yokoyama/data_extraction/automan_based/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 19
0
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/robot/myworld_ws/devel;/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/robot/myworld_ws/devel/env.sh')

output_filename = '/home/robot/myworld_ws/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 20
0
# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/melodic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/melodic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in '/home/divyanshi/turtlebot3_ws/catkin_ws/install_isolated;/home/divyanshi/turtlebot3_ws/devel;/opt/ros/melodic'.split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/divyanshi/turtlebot3_ws/catkin_ws/devel_isolated/cartographer_rviz/env.sh'
)

output_filename = '/home/divyanshi/turtlebot3_ws/catkin_ws/build_isolated/cartographer_rviz/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    # print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/hydro/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/hydro/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/hydro".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/nasa/catkinWS/devel/env.sh')

output_filename = '/home/nasa/catkinWS/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/kinetic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/kinetic;/home/vsarathy/proj/tools_sandbox/ros_packages/ros_macgyver/devel".split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/vsarathy/proj/tools_sandbox/ros_packages/ros_macgyver/devel/.private/mongodb_store_msgs/env.sh'
)

output_filename = '/home/vsarathy/proj/tools_sandbox/ros_packages/ros_macgyver/build/mongodb_store_msgs/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 23
0
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros_catkin_ws/install_isolated/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros_catkin_ws/install_isolated/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros_catkin_ws/install_isolated".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/opt/ros_catkin_ws/devel_isolated/rqt_publisher/env.sh')

output_filename = '/opt/ros_catkin_ws/build_isolated/rqt_publisher/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/indigo/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/turtlebot/mybot_ws/devel;/home/turtlebot/urdf2/devel;/opt/ros/indigo".split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/turtlebot/mybot_ws/devel/.private/hector_compressed_map_transport/env.sh'
)

output_filename = '/home/turtlebot/mybot_ws/build/hector_compressed_map_transport/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join("/opt/ros/indigo/share/catkin/cmake", "catkinConfig.cmake.in")):
    sys.path.insert(0, os.path.join("/opt/ros/indigo/share/catkin/cmake", "..", "python"))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/julian/catkin_ws/devel;/opt/ros/indigo".split(";"):
        python_path = os.path.join(workspace, "lib/python2.7/dist-packages")
        if os.path.isdir(os.path.join(python_path, "catkin")):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script("/home/julian/catkin_ws/devel/env.sh")

output_filename = "/home/julian/catkin_ws/build/catkin_generated/setup_cached.sh"
with open(output_filename, "w") as f:
    # print('Generate script for cached setup "%s"' % output_filename)
    f.write("\n".join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 26
0
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/kinetic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/kayuga/catkin_gps/devel;/opt/ros/kinetic".split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/kayuga/catkin_gps/devel/env.sh')

output_filename = '/home/kayuga/catkin_gps/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/robot/bebop_ws/devel;/home/robot/catkin_ws/devel;/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/robot/bebop_ws/devel/env.sh')

output_filename = '/home/robot/bebop_ws/build/camera_info_manager/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 28
0
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/kinetic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/lj/catkin_ws/devel;/opt/ros/kinetic".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/lj/catkin_ws/src/cmake-build-debug/devel/env.sh')

output_filename = '/home/lj/catkin_ws/src/cmake-build-debug/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/hydro/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/hydro/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/ros/ros-baxter/devel;/opt/ros/hydro".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/ros/ros-baxter/src/socket_oculus2baxter/devel/env.sh')

output_filename = '/home/ros/ros-baxter/src/socket_oculus2baxter/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 30
0
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/indigo/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/ngoc/catkin_ws/devel;/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/ngoc/catkin_ws/devel/env.sh')

output_filename = '/home/ngoc/catkin_ws/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 31
0
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/groovy/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/groovy/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/groovy".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/projects/ros/seniordesign/trackbot/trackbotCeral/build/devel/env.sh')

output_filename = '/projects/ros/seniordesign/trackbot/trackbotCeral/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/kinetic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/kinetic".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/llefeve/repos/moos-ros-bridge/moosros/build/devel/env.sh')

output_filename = '/home/llefeve/repos/moos-ros-bridge/moosros/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/jade/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/jade/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/oduasv/Monarch/devel;/opt/ros/jade".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/oduasv/Monarch/devel/env.sh')

output_filename = '/home/oduasv/Monarch/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 34
0
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/melodic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/melodic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in '/opt/ros/melodic'.split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/geekayman/irb6640_ws/devel/env.sh')

output_filename = '/home/geekayman/irb6640_ws/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    # print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/guillaume/roscode/catkin_ws/devel;/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/guillaume/roscode/catkin_ws/src/models_project/objects/build/devel/env.sh')

output_filename = '/home/guillaume/roscode/catkin_ws/src/models_project/objects/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 36
0
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/indigo/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/jackqian/pedestrian_ws/devel/env.sh')

output_filename = '/home/jackqian/pedestrian_ws/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/hydro/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/hydro/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/hydro".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/doodoros/rosbuild_ws/sandbox/simple_navigation_goals/build/devel/env.sh')

output_filename = '/home/doodoros/rosbuild_ws/sandbox/simple_navigation_goals/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 38
0
        os.path.join(
            '/home/koki/ros_catkin_ws/install_isolated/share/catkin/cmake',
            'catkinConfig.cmake.in')):
    sys.path.insert(
        0,
        os.path.join(
            '/home/koki/ros_catkin_ws/install_isolated/share/catkin/cmake',
            '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in '/home/koki/ros_catkin_ws/install_isolated;/home/koki/catkin_ws/devel'.split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python3/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/koki/ros_catkin_ws/devel_isolated/rqt_graph/env.sh')

output_filename = '/home/koki/ros_catkin_ws/build_isolated/rqt_graph/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    # print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/jeasinema/Documents/catkin_workspace/devel/env.sh')

output_filename = '/home/jeasinema/Documents/catkin_workspace/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 40
0
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/kinetic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in '/home/kevin/catkin_ws/devel;/opt/ros/kinetic'.split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/kevin/catkin_ws/devel/.private/turtlebot3_fake/env.sh')

output_filename = '/home/kevin/catkin_ws/build/turtlebot3_fake/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    # print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 41
0
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/tiago/robotnik/devel;/home/tiago/DecosRoboticsLab/devel;/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/tiago/robotnik/devel/env.sh')

output_filename = '/home/tiago/robotnik/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 42
0
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/melodic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/melodic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in '/home/shinobot/shinobot_ws/devel;/opt/ros/melodic'.split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/shinobot/shinobot_ws/devel/env.sh')

output_filename = '/home/shinobot/shinobot_ws/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    # print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/hydro/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/hydro/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/rss-student/rss-2014-team-3/devel;/opt/ros/hydro".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/rss-student/rss-2014-team-3/devel/env.sh')

output_filename = '/home/rss-student/rss-2014-team-3/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 44
0
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/kinetic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/onyx/Desktop/RTG/catkin_ws/devel;/opt/ros/kinetic".split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/onyx/Desktop/RTG/catkin_ws/devel/env.sh')

output_filename = '/home/onyx/Desktop/RTG/catkin_ws/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 45
0
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/hydro/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/hydro/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/hydro;/home/joel/catkin_ws/install;/home/joel/catkin_ws/devel".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/joel/catkin_ws/src/image_rec/image_publish/qtcreator-build/devel/env.sh')

output_filename = '/home/joel/catkin_ws/src/image_rec/image_publish/qtcreator-build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 46
0
# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/groovy/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/groovy/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/rmb-rj/git/catkin_workspace/devel;/opt/ros/groovy".split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/rmb-rj/git/care-o-bot/accompany/accompany_example_publish_subscribe/build/devel/env.sh'
)

output_filename = '/home/rmb-rj/git/care-o-bot/accompany/accompany_example_publish_subscribe/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 47
0
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/hydro/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/hydro/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/pioneer/group41/devel;/home/pioneer/fsr_catkin_workspace/devel;/opt/ros/hydro".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/pioneer/group41/devel/env.sh')

output_filename = '/home/pioneer/group41/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/mpc/Localization/workspace/devel;/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/mpc/Localization/workspace/devel/env.sh')

output_filename = '/home/mpc/Localization/workspace/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 49
0
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/groovy/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/groovy/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/groovy".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/vitalij/ros/stacks/roboearth/re_wire_bridge/build/devel/env.sh')

output_filename = '/home/vitalij/ros/stacks/roboearth/re_wire_bridge/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 50
0
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/melodic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/melodic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/xavier_ssd/TrekBot/TrekBot_WS/install_isolated;/opt/ros/melodic".split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/xavier_ssd/TrekBot/TrekBot_WS/devel_isolated/gflags_catkin/env.sh')

output_filename = '/xavier_ssd/TrekBot/TrekBot_WS/build_isolated/gflags_catkin/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 51
0
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/jade/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/jade/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/jade".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/site-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/Users/adityabhat/Downloads/devel/env.sh')

output_filename = '/Users/adityabhat/Downloads/build/camera_info_manager/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/kinetic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/ros/catkin_ws/devel;/opt/ros/kinetic".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/ros/Desktop/turtlebot_bt/catkin_ws/devel/env.sh')

output_filename = '/home/ros/Desktop/turtlebot_bt/catkin_ws/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/groovy/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/groovy/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/groovy".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/yeshi/catkin_ws/src/servo/devel/env.sh')

output_filename = '/home/yeshi/catkin_ws/src/servo/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 54
0
# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/melodic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/melodic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in '/home/kimna/Desktop/autoware.ai/install/ymc;/home/kimna/Desktop/autoware.ai/install/xsens_driver;/home/kimna/Desktop/autoware.ai/install/wf_simulator;/home/kimna/Desktop/autoware.ai/install/lattice_planner;/home/kimna/Desktop/autoware.ai/install/waypoint_planner;/home/kimna/Desktop/autoware.ai/install/waypoint_maker;/home/kimna/Desktop/autoware.ai/install/way_planner;/home/kimna/Desktop/autoware.ai/install/vlg22c_cam;/home/kimna/Desktop/autoware.ai/install/vision_ssd_detect;/home/kimna/Desktop/autoware.ai/install/vision_segment_enet_detect;/home/kimna/Desktop/autoware.ai/install/vision_lane_detect;/home/kimna/Desktop/autoware.ai/install/vision_darknet_detect;/home/kimna/Desktop/autoware.ai/install/vision_beyond_track;/home/kimna/Desktop/autoware.ai/install/vel_pose_diff_checker;/home/kimna/Desktop/autoware.ai/install/vehicle_socket;/home/kimna/Desktop/autoware.ai/install/vehicle_sim_model;/home/kimna/Desktop/autoware.ai/install/vehicle_model;/home/kimna/Desktop/autoware.ai/install/vehicle_gazebo_simulation_launcher;/home/kimna/Desktop/autoware.ai/install/vehicle_gazebo_simulation_interface;/home/kimna/Desktop/autoware.ai/install/vehicle_engage_panel;/home/kimna/Desktop/autoware.ai/install/vehicle_description;/home/kimna/Desktop/autoware.ai/install/op_utilities;/home/kimna/Desktop/autoware.ai/install/op_simulation_package;/home/kimna/Desktop/autoware.ai/install/op_local_planner;/home/kimna/Desktop/autoware.ai/install/op_global_planner;/home/kimna/Desktop/autoware.ai/install/lidar_kf_contour_track;/home/kimna/Desktop/autoware.ai/install/op_ros_helpers;/home/kimna/Desktop/autoware.ai/install/ff_waypoint_follower;/home/kimna/Desktop/autoware.ai/install/dp_planner;/home/kimna/Desktop/autoware.ai/install/op_simu;/home/kimna/Desktop/autoware.ai/install/op_planner;/home/kimna/Desktop/autoware.ai/install/op_utility;/home/kimna/Desktop/autoware.ai/install/lidar_euclidean_cluster_detect;/home/kimna/Desktop/autoware.ai/install/vector_map_server;/home/kimna/Desktop/autoware.ai/install/road_occupancy_processor;/home/kimna/Desktop/autoware.ai/install/costmap_generator;/home/kimna/Desktop/autoware.ai/install/object_map;/home/kimna/Desktop/autoware.ai/install/naive_motion_predict;/home/kimna/Desktop/autoware.ai/install/lanelet_aisan_converter;/home/kimna/Desktop/autoware.ai/install/map_file;/home/kimna/Desktop/autoware.ai/install/libvectormap;/home/kimna/Desktop/autoware.ai/install/lane_planner;/home/kimna/Desktop/autoware.ai/install/imm_ukf_pda_track;/home/kimna/Desktop/autoware.ai/install/decision_maker;/home/kimna/Desktop/autoware.ai/install/vector_map;/home/kimna/Desktop/autoware.ai/install/vector_map_msgs;/home/kimna/Desktop/autoware.ai/install/vectacam;/home/kimna/Desktop/autoware.ai/install/udon_socket;/home/kimna/Desktop/autoware.ai/install/twist_generator;/home/kimna/Desktop/autoware.ai/install/twist_gate;/home/kimna/Desktop/autoware.ai/install/twist_filter;/home/kimna/Desktop/autoware.ai/install/twist2odom;/home/kimna/Desktop/autoware.ai/install/tablet_socket;/home/kimna/Desktop/autoware.ai/install/runtime_manager;/home/kimna/Desktop/autoware.ai/install/mqtt_socket;/home/kimna/Desktop/autoware.ai/install/tablet_socket_msgs;/home/kimna/Desktop/autoware.ai/install/state_machine_lib;/home/kimna/Desktop/autoware.ai/install/sound_player;/home/kimna/Desktop/autoware.ai/install/sick_lms5xx;/home/kimna/Desktop/autoware.ai/install/sick_ldmrs_tools;/home/kimna/Desktop/autoware.ai/install/sick_ldmrs_driver;/home/kimna/Desktop/autoware.ai/install/sick_ldmrs_msgs;/home/kimna/Desktop/autoware.ai/install/sick_ldmrs_description;/home/kimna/Desktop/autoware.ai/install/points2image;/home/kimna/Desktop/autoware.ai/install/rosinterface;/home/kimna/Desktop/autoware.ai/install/rosbag_controller;/home/kimna/Desktop/autoware.ai/install/pure_pursuit;/home/kimna/Desktop/autoware.ai/install/points_preprocessor;/home/kimna/Desktop/autoware.ai/install/mpc_follower;/home/kimna/Desktop/autoware.ai/install/lidar_localizer;/home/kimna/Desktop/autoware.ai/install/emergency_handler;/home/kimna/Desktop/autoware.ai/install/autoware_health_checker;/home/kimna/Desktop/autoware.ai/install/as;/home/kimna/Desktop/autoware.ai/install/ros_observer;/home/kimna/Desktop/autoware.ai/install/roi_object_filter;/home/kimna/Desktop/autoware.ai/install/range_vision_fusion;/home/kimna/Desktop/autoware.ai/install/pos_db;/home/kimna/Desktop/autoware.ai/install/points_downsampler;/home/kimna/Desktop/autoware.ai/install/pixel_cloud_fusion;/home/kimna/Desktop/autoware.ai/install/pcl_omp_registration;/home/kimna/Desktop/autoware.ai/install/pc2_downsampler;/home/kimna/Desktop/autoware.ai/install/oculus_socket;/home/kimna/Desktop/autoware.ai/install/obj_db;/home/kimna/Desktop/autoware.ai/install/nmea_navsat;/home/kimna/Desktop/autoware.ai/install/ndt_tku;/home/kimna/Desktop/autoware.ai/install/ndt_gpu;/home/kimna/Desktop/autoware.ai/install/ndt_cpu;/home/kimna/Desktop/autoware.ai/install/multi_lidar_calibrator;/home/kimna/Desktop/autoware.ai/install/mrt_cmake_modules;/home/kimna/Desktop/autoware.ai/install/microstrain_driver;/home/kimna/Desktop/autoware.ai/install/memsic_imu;/home/kimna/Desktop/autoware.ai/install/marker_downsampler;/home/kimna/Desktop/autoware.ai/install/map_tools;/home/kimna/Desktop/autoware.ai/install/map_tf_generator;/home/kimna/Desktop/autoware.ai/install/log_tools;/home/kimna/Desktop/autoware.ai/install/lidar_shape_estimation;/home/kimna/Desktop/autoware.ai/install/lidar_point_pillars;/home/kimna/Desktop/autoware.ai/install/lidar_naive_l_shape_detect;/home/kimna/Desktop/autoware.ai/install/lidar_fake_perception;/home/kimna/Desktop/autoware.ai/install/lidar_apollo_cnn_seg_detect;/home/kimna/Desktop/autoware.ai/install/libwaypoint_follower;/home/kimna/Desktop/autoware.ai/install/lgsvl_simulator_bridge;/home/kimna/Desktop/autoware.ai/install/lanelet2_extension;/home/kimna/Desktop/autoware.ai/install/lanelet2_validation;/home/kimna/Desktop/autoware.ai/install/lanelet2_examples;/home/kimna/Desktop/autoware.ai/install/lanelet2_python;/home/kimna/Desktop/autoware.ai/install/lanelet2_routing;/home/kimna/Desktop/autoware.ai/install/lanelet2_traffic_rules;/home/kimna/Desktop/autoware.ai/install/lanelet2_projection;/home/kimna/Desktop/autoware.ai/install/lanelet2_maps;/home/kimna/Desktop/autoware.ai/install/lanelet2_io;/home/kimna/Desktop/autoware.ai/install/lanelet2_core;/home/kimna/Desktop/autoware.ai/install/kvaser;/home/kimna/Desktop/autoware.ai/install/kitti_launch;/home/kimna/Desktop/autoware.ai/install/kitti_player;/home/kimna/Desktop/autoware.ai/install/kitti_box_publisher;/home/kimna/Desktop/autoware.ai/install/javad_navsat_driver;/home/kimna/Desktop/autoware.ai/install/integrated_viewer;/home/kimna/Desktop/autoware.ai/install/image_processor;/home/kimna/Desktop/autoware.ai/install/hokuyo;/home/kimna/Desktop/autoware.ai/install/graph_tools;/home/kimna/Desktop/autoware.ai/install/gnss_localizer;/home/kimna/Desktop/autoware.ai/install/gnss;/home/kimna/Desktop/autoware.ai/install/glviewer;/home/kimna/Desktop/autoware.ai/install/gazebo_world_description;/home/kimna/Desktop/autoware.ai/install/gazebo_imu_description;/home/kimna/Desktop/autoware.ai/install/gazebo_camera_description;/home/kimna/Desktop/autoware.ai/install/garmin;/home/kimna/Desktop/autoware.ai/install/freespace_planner;/home/kimna/Desktop/autoware.ai/install/fastvirtualscan;/home/kimna/Desktop/autoware.ai/install/ekf_localizer;/home/kimna/Desktop/autoware.ai/install/ds4_msgs;/home/kimna/Desktop/autoware.ai/install/ds4_driver;/home/kimna/Desktop/autoware.ai/install/detected_objects_visualizer;/home/kimna/Desktop/autoware.ai/install/decision_maker_panel;/home/kimna/Desktop/autoware.ai/install/data_preprocessor;/home/kimna/Desktop/autoware.ai/install/custom_msgs;/home/kimna/Desktop/autoware.ai/install/carla_autoware_bridge;/home/kimna/Desktop/autoware.ai/install/calibration_publisher;/home/kimna/Desktop/autoware.ai/install/autoware_system_msgs;/home/kimna/Desktop/autoware.ai/install/autoware_rviz_plugins;/home/kimna/Desktop/autoware.ai/install/autoware_quickstart_examples;/home/kimna/Desktop/autoware.ai/install/autoware_pointgrey_drivers;/home/kimna/Desktop/autoware.ai/install/autoware_driveworks_interface;/home/kimna/Desktop/autoware.ai/install/autoware_connector;/home/kimna/Desktop/autoware.ai/install/autoware_camera_lidar_calibrator;/home/kimna/Desktop/autoware.ai/install/astar_search;/home/kimna/Desktop/autoware.ai/install/amathutils_lib;/home/kimna/Desktop/autoware.ai/install/autoware_msgs;/home/kimna/Desktop/autoware.ai/install/autoware_map_msgs;/home/kimna/Desktop/autoware.ai/install/autoware_launcher_rviz;/home/kimna/Desktop/autoware.ai/install/autoware_launcher;/home/kimna/Desktop/autoware.ai/install/autoware_lanelet2_msgs;/home/kimna/Desktop/autoware.ai/install/autoware_external_msgs;/home/kimna/Desktop/autoware.ai/install/autoware_driveworks_gmsl_interface;/home/kimna/Desktop/autoware.ai/install/autoware_config_msgs;/home/kimna/Desktop/autoware.ai/install/autoware_can_msgs;/home/kimna/Desktop/autoware.ai/install/autoware_build_flags;/home/kimna/Desktop/autoware.ai/install/autoware_bag_tools;/home/kimna/Desktop/autoware.ai/install/adi_driver;/opt/ros/melodic'.split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/kimna/Desktop/autoware.ai/src/autoware/core_planning/build/way_planner/devel/env.sh'
)

output_filename = '/home/kimna/Desktop/autoware.ai/src/autoware/core_planning/build/way_planner/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    # print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 55
0
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros_catkin_ws/install_isolated/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros_catkin_ws/install_isolated/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros_catkin_ws/install_isolated".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/opt/ros_catkin_ws/devel_isolated/rosbag/env.sh')

output_filename = '/opt/ros_catkin_ws/build_isolated/rosbag/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 56
0
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(
        os.path.join('/opt/ros/kinetic/share/catkin/cmake',
                     'catkinConfig.cmake.in')):
    sys.path.insert(
        0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/dylan/catkin__ws/devel;/opt/ros/kinetic".split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/dylan/catkin__ws/devel/.private/teleop_controller/env.sh')

output_filename = '/home/dylan/catkin__ws/build/teleop_controller/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/indigo/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/indigo/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/opt/ros/indigo".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/mnt/dav/Projekt/Software/Raspberry PI/devel_isolated/rosunit/env.sh')

output_filename = '/mnt/dav/Projekt/Software/Raspberry PI/build_isolated/rosunit/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 58
0
# -*- coding: utf-8 -*-
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/kinetic/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/kinetic/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/nishanth/TurtleStuff/turtle_drive/devel;/opt/ros/kinetic".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/nishanth/TurtleStuff/turtle_drive/devel/.private/uvc_camera/env.sh')

output_filename = '/home/nishanth/TurtleStuff/turtle_drive/build/uvc_camera/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 59
0
from __future__ import print_function
import argparse
import os
import stat
import sys

# find the import for catkin's python package - either from source space or from an installed underlay
if os.path.exists(os.path.join('/opt/ros/groovy/share/catkin/cmake', 'catkinConfig.cmake.in')):
    sys.path.insert(0, os.path.join('/opt/ros/groovy/share/catkin/cmake', '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in "/home/tangy-user/groovy_ws/devel;/opt/ros/groovy".split(';'):
        python_path = os.path.join(workspace, 'lib/python2.7/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script('/home/tangy-user/groovy_ws/devel/env.sh')

output_filename = '/home/tangy-user/groovy_ws/build/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    #print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)
Exemplo n.º 60
0
        os.path.join(
            '/home/koki/ros_catkin_ws/install_isolated/share/catkin/cmake',
            'catkinConfig.cmake.in')):
    sys.path.insert(
        0,
        os.path.join(
            '/home/koki/ros_catkin_ws/install_isolated/share/catkin/cmake',
            '..', 'python'))
try:
    from catkin.environment_cache import generate_environment_script
except ImportError:
    # search for catkin package in all workspaces and prepend to path
    for workspace in '/home/koki/ros_catkin_ws/install_isolated;/home/koki/catkin_ws/devel'.split(
            ';'):
        python_path = os.path.join(workspace, 'lib/python3/dist-packages')
        if os.path.isdir(os.path.join(python_path, 'catkin')):
            sys.path.insert(0, python_path)
            break
    from catkin.environment_cache import generate_environment_script

code = generate_environment_script(
    '/home/koki/ros_catkin_ws/devel_isolated/cmake_modules/env.sh')

output_filename = '/home/koki/ros_catkin_ws/build_isolated/cmake_modules/catkin_generated/setup_cached.sh'
with open(output_filename, 'w') as f:
    # print('Generate script for cached setup "%s"' % output_filename)
    f.write('\n'.join(code))

mode = os.stat(output_filename).st_mode
os.chmod(output_filename, mode | stat.S_IXUSR)