qnx_eth_check.py
Go to the documentation of this file.
00001 #!/usr/bin/env python
00002 
00003 import subprocess, re, sys
00004 def qnx_eth_check():
00005 
00006     info = subprocess.Popen(["ifconfig"], stdout=subprocess.PIPE).communicate()[0]
00007     print re.sub('(^|\n)', '\n  -', info)
00008 
00009     return "wm0: " in info
00010 
00011 


hironx_ros_bridge
Author(s): Kei Okada
autogenerated on Mon Oct 6 2014 07:19:42