ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
import rosgraph
if rosgraph.is_master_online():
print 'ROS MASTER is Online'
else:
print 'ROS MASTER is Offline'
2 | No.2 Revision |
import rosgraph
rosgraph
if rosgraph.is_master_online():
rosgraph.is_master_online():
print 'ROS MASTER is Online'
else:
Online' else: print 'ROS MASTER is Offline'
3 | No.3 Revision |
import rosgraph if rosgraph.is_master_online(): print 'ROS MASTER is Online' else: print 'ROS MASTER is Offline'
4 | No.4 Revision |
import rosgraph if rosgraph.is_master_online(): print 'ROS MASTER is Online' else: print 'ROS MASTER is Offline'
5 | No.5 Revision |
Python:
import rosgraph
if rosgraph.is_master_online():
print 'ROS MASTER is Online'
else:
print 'ROS MASTER is Offline'Offline'
6 | No.6 Revision |
Python:
import rosgraph
if rosgraph.is_master_online():
print 'ROS MASTER is Online'
else:
print 'ROS MASTER is Offline'
7 | No.7 Revision |
Python:
Gives out a boolean if the master uri is online or not
import rosgraph
if rosgraph.is_master_online():
rosgraph.is_master_online(): # Checks the master uri and results boolean (True or False)
print 'ROS MASTER is Online'
else:
print 'ROS MASTER is Offline'
8 | No.8 Revision |
Python:
Gives out a boolean if the master uri is online or not
not
import rosgraph
if rosgraph.is_master_online(): # Checks the master uri and results boolean (True or False)
print 'ROS MASTER is Online'
else:
print 'ROS MASTER is Offline'