Actually published the status. Changed names so they match the bogie.

This commit is contained in:
2018-03-03 20:41:10 -08:00
parent 628efbb1c5
commit add93b6b7f
2 changed files with 5 additions and 0 deletions

View File

@@ -153,6 +153,8 @@ class DriveControl(object):
status.second_motor_fault = second_motor_status[1]
status.second_motor_temp = second_motor_status[2] / 1000.0
self.drive_control_status_publisher.publish(status)
def drive_control_callback(self, drive_control):
self.drive_control_message = drive_control
self.new_control_message = True