MAGIKS  1.1
Manipulator General Inverse Kinematic Solver
 All Classes Namespaces Files Functions Variables Pages
magiks/specific_geometries/__init__.py
Go to the documentation of this file.
1 
2 #Initialize Package: kinematics
3 
4 def set_file_path( verbose=False ):
5  '''
6  execute the set_file_path function of the super package.
7  -> an absolute path has to be set only at root level of packages.
8  '''
9  import os
10  import sys
11 
12  file_path = os.path.abspath( os.path.dirname( __file__ ) )
13  super_path = os.path.abspath( os.path.join( file_path, '../..' ))
14 
15  if verbose :
16  print
17  print file_path
18  print super_path
19  print
20 
21  sys.path.append( super_path )
22 
23  # super package magiks:
24  import magiks
25  return magiks.set_file_path( verbose=verbose )
def set_file_path