Functions | |
def | aux_lights_callback |
def | batt_high_callback |
def | batt_low_callback |
def | controller_callback |
def | motor_stall_l_callback |
def | motor_stall_r_callback |
Variables | |
tuple | array = DiagnosticArray() |
aux_lights = False | |
batt_high = False | |
batt_low = False | |
tuple | battery_stat = DiagnosticStatus(name = 'Battery', level = 0, message = 'OK') |
controller = False | |
tuple | lights_stat = DiagnosticStatus(name = 'Lights', level = 0, message = 'OK') |
tuple | motor_l_stat = DiagnosticStatus(name = 'Motor Left', level = 0, message = 'Running') |
tuple | motor_r_stat = DiagnosticStatus(name = 'Motor Right', level = 0, message = 'Running') |
tuple | my_rate = rospy.Rate(1.0) |
tuple | pub = rospy.Publisher('/diagnostics', DiagnosticArray, queue_size = 10) |
stall_l = False | |
stall_r = False |
def mrp2_diag_publisher.aux_lights_callback | ( | data | ) |
Definition at line 37 of file mrp2_diag_publisher.py.
def mrp2_diag_publisher.batt_high_callback | ( | data | ) |
Definition at line 29 of file mrp2_diag_publisher.py.
def mrp2_diag_publisher.batt_low_callback | ( | data | ) |
Definition at line 25 of file mrp2_diag_publisher.py.
def mrp2_diag_publisher.controller_callback | ( | data | ) |
Definition at line 33 of file mrp2_diag_publisher.py.
def mrp2_diag_publisher.motor_stall_l_callback | ( | data | ) |
Definition at line 17 of file mrp2_diag_publisher.py.
def mrp2_diag_publisher.motor_stall_r_callback | ( | data | ) |
Definition at line 21 of file mrp2_diag_publisher.py.
tuple mrp2_diag_publisher::array = DiagnosticArray() |
Definition at line 53 of file mrp2_diag_publisher.py.
mrp2_diag_publisher::aux_lights = False |
Definition at line 15 of file mrp2_diag_publisher.py.
mrp2_diag_publisher::batt_high = False |
Definition at line 13 of file mrp2_diag_publisher.py.
mrp2_diag_publisher::batt_low = False |
Definition at line 12 of file mrp2_diag_publisher.py.
tuple mrp2_diag_publisher::battery_stat = DiagnosticStatus(name = 'Battery', level = 0, message = 'OK') |
Definition at line 90 of file mrp2_diag_publisher.py.
mrp2_diag_publisher::controller = False |
Definition at line 14 of file mrp2_diag_publisher.py.
tuple mrp2_diag_publisher::lights_stat = DiagnosticStatus(name = 'Lights', level = 0, message = 'OK') |
Definition at line 101 of file mrp2_diag_publisher.py.
tuple mrp2_diag_publisher::motor_l_stat = DiagnosticStatus(name = 'Motor Left', level = 0, message = 'Running') |
Definition at line 58 of file mrp2_diag_publisher.py.
tuple mrp2_diag_publisher::motor_r_stat = DiagnosticStatus(name = 'Motor Right', level = 0, message = 'Running') |
Definition at line 61 of file mrp2_diag_publisher.py.
tuple mrp2_diag_publisher::my_rate = rospy.Rate(1.0) |
Definition at line 55 of file mrp2_diag_publisher.py.
tuple mrp2_diag_publisher::pub = rospy.Publisher('/diagnostics', DiagnosticArray, queue_size = 10) |
Definition at line 44 of file mrp2_diag_publisher.py.
mrp2_diag_publisher::stall_l = False |
Definition at line 10 of file mrp2_diag_publisher.py.
mrp2_diag_publisher::stall_r = False |
Definition at line 11 of file mrp2_diag_publisher.py.