Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007 import sys
00008 import roslib; roslib.load_manifest('rviz')
00009
00010
00011
00012
00013 from python_qt_binding.QtBindingHelper import QT_BINDING
00014
00015 if QT_BINDING == 'pyside':
00016
00017
00018
00019 import librviz_shiboken
00020
00021
00022 sys.modules['rviz'] = librviz_shiboken.rviz
00023
00024 print "Using PySide and shiboken for rviz python bindings."
00025
00026 elif QT_BINDING == 'pyqt':
00027
00028
00029
00030 import librviz_sip
00031
00032
00033 sys.modules['rviz'] = librviz_sip.rviz
00034
00035 print "Using PyQt and sip for rviz python bindings."
00036
00037 else:
00038 raise ImportError('Qt binding name "%s" is unknown.' % QT_BINDING)