コード例 #1
0
ファイル: __init__.py プロジェクト: isucan/omplapp
######################################################################
# Rice University Software Distribution License
#
# Copyright (c) 2010, Rice University
# All Rights Reserved.
#
# For a full description see the file named LICENSE.
#
######################################################################

# Author: Mark Moll

from os.path import abspath, dirname
from ompl import dll_loader, geometric, control
dll_loader('ompl_app', dirname(abspath(__file__)))
from ompl.app._app import *
コード例 #2
0
ファイル: __init__.py プロジェクト: josuehfa/System
from os.path import abspath, dirname
from ompl import dll_loader
dll_loader('ompl', dirname(abspath(__file__)))
from ompl.util._util import *
import inspect


def OMPL_DEBUG(text):
    c = inspect.currentframe().f_back
    getOutputHandler().log(text, LogLevel.LOG_DEBUG, c.f_code.co_filename,
                           c.f_lineno)


def OMPL_INFORM(text):
    c = inspect.currentframe().f_back
    getOutputHandler().log(text, LogLevel.LOG_INFO, c.f_code.co_filename,
                           c.f_lineno)


def OMPL_WARN(text):
    c = inspect.currentframe().f_back
    getOutputHandler().log(text, LogLevel.LOG_WARN, c.f_code.co_filename,
                           c.f_lineno)


def OMPL_ERROR(text):
    c = inspect.currentframe().f_back
    getOutputHandler().log(text, LogLevel.LOG_ERROR, c.f_code.co_filename,
                           c.f_lineno)
コード例 #3
0
ファイル: __init__.py プロジェクト: eterpega/PR2_moveit
######################################################################
# Rice University Software Distribution License
#
# Copyright (c) 2010, Rice University
# All Rights Reserved.
#
# For a full description see the file named LICENSE.
#
######################################################################

# Author: Mark Moll

from os.path import abspath, dirname
from ompl import dll_loader, geometric, control
dll_loader('ompl_app_base', dirname(abspath(__file__)))
dll_loader('ompl_app', dirname(abspath(__file__)))
from ompl.app._app import *