in robot_ws/src/cloudwatch_robot/nodes/monitor_obstacle_distance.py [0:0]
def main():
rospy.init_node('monitor_obstacle_distance')
try:
monitor = MonitorNearestObstacle()
if (monitor):
rospy.spin()
except rospy.ROSInterruptException:
pass