00001 import os 00002 from include.libLoader import LibLoader 00003 THIRDPARTY_BASE_PATH = os.path.join(os.path.dirname(os.path.abspath(__file__)), "thirdparty") 00004 00005 # USE LibLoader.load3rdParty to assign a class to variable 00006 # MyClass = LibLoader.load3rdParty("PATH/TO/myclass.py, 'MyClass') 00007 00008 00009 # PLAY_MOTION_PATH = os.path.join(THIRDPARTY_BASE_PATH, 'play_motion_msgs/msg/') 00010 00011 # MotionInfo = LibLoader.load3rdParty(os.path.join(PLAY_MOTION_PATH, 'MotionInfo.py'), 'MotionInfo') 00012 # PlayMotionAction = LibLoader.load3rdParty(os.path.join(PLAY_MOTION_PATH, 'PlayMotionAction.py'), 'PlayMotionAction') 00013 # PlayMotionActionFeedback = LibLoader.load3rdParty(os.path.join(PLAY_MOTION_PATH, 'PlayMotionActionFeedback.py'), 'PlayMotionActionFeedback') 00014 # PlayMotionActionGoal = LibLoader.load3rdParty(os.path.join(PLAY_MOTION_PATH, 'PlayMotionActionGoal.py'), 'PlayMotionActionGoal') 00015 # PlayMotionActionResult = LibLoader.load3rdParty(os.path.join(PLAY_MOTION_PATH, 'PlayMotionActionResult.py'), 'PlayMotionActionResult') 00016 # PlayMotionFeedback = LibLoader.load3rdParty(os.path.join(PLAY_MOTION_PATH, 'PlayMotionFeedback.py'), 'PlayMotionFeedback') 00017 # PlayMotionGoal = LibLoader.load3rdParty(os.path.join(PLAY_MOTION_PATH, 'PlayMotionGoal.py'), 'PlayMotionGoal') 00018 # PlayMotionResult = LibLoader.load3rdParty(os.path.join(PLAY_MOTION_PATH, 'PlayMotionResult.py'), 'PlayMotionResult')