show_master_qrcode.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 import roslib; roslib.load_manifest('app_manager_android')
00003 import rosgraph
00004 import rosgraph.network
00005 import pyqrnative
00006 
00007 import urlparse
00008 urlp = urlparse.urlparse(rosgraph.get_master_uri())
00009 address = rosgraph.network.get_local_address()
00010 
00011 text = "http://%s:%s"%(address, urlp.port)
00012 print text
00013 pyqrnative.show_data(text)


app_manager_android
Author(s): Ken Conley
autogenerated on Mon Dec 2 2013 11:36:49