mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 18:21:15 +00:00
lol I knew I broke it -- commented out gps info for now
This commit is contained in:
@@ -120,8 +120,7 @@ class SystemStatuses:
|
|||||||
|
|
||||||
# Pulls the UTC GPS Time (WIP)
|
# Pulls the UTC GPS Time (WIP)
|
||||||
def __set_gps_info(self):
|
def __set_gps_info(self):
|
||||||
self.GPS_msg.UTC_GPS_time = 0
|
pass
|
||||||
self.GPS_msg.GPS_connection_status = 0
|
|
||||||
|
|
||||||
# Pulls bogie connection statuses
|
# Pulls bogie connection statuses
|
||||||
def __set_bogie_subscribers(self):
|
def __set_bogie_subscribers(self):
|
||||||
@@ -244,8 +243,7 @@ class SystemStatuses:
|
|||||||
self.previous_wheel_rear_right = self.wheel_msg.rear_right
|
self.previous_wheel_rear_right = self.wheel_msg.rear_right
|
||||||
|
|
||||||
def __set_previous_gps_values(self):
|
def __set_previous_gps_values(self):
|
||||||
self.previous_UTC_GPS_time = self.GPS_msg.UTC_GPS_time
|
pass
|
||||||
self.previous_GPS_connection_status = self.GPS_msg.GPS_connection_status
|
|
||||||
|
|
||||||
def __set_previous_misc_values(self):
|
def __set_previous_misc_values(self):
|
||||||
self.previous_arm_connection_status = self.misc_msg.arm_connection_status
|
self.previous_arm_connection_status = self.misc_msg.arm_connection_status
|
||||||
@@ -303,11 +301,11 @@ class SystemStatuses:
|
|||||||
self.pub_wheel.publish(self.wheel_msg)
|
self.pub_wheel.publish(self.wheel_msg)
|
||||||
|
|
||||||
# Placeholder GPS Information check
|
# Placeholder GPS Information check
|
||||||
if (self.GPS_msg.UTC_GPS_time != self.previous_UTC_GPS_time or
|
# if (self.GPS_msg.UTC_GPS_time != self.previous_UTC_GPS_time or
|
||||||
self.GPS_msg.UTC_GPS_time != self.previous_GPS_connection_status or
|
# self.GPS_msg.UTC_GPS_time != self.previous_GPS_connection_status or
|
||||||
self.manual_update_requested):
|
# self.manual_update_requested):
|
||||||
self.__set_previous_gps_values()
|
# self.__set_previous_gps_values()
|
||||||
self.pub_GPS.publish(self.GPS_msg)
|
# self.pub_GPS.publish(self.GPS_msg)
|
||||||
|
|
||||||
# Placeholder Misc Information check
|
# Placeholder Misc Information check
|
||||||
if (self.misc_msg.arm_connection_status !=
|
if (self.misc_msg.arm_connection_status !=
|
||||||
|
|||||||
Reference in New Issue
Block a user