mirror of
https://github.com/OSURoboticsClub/Rover_2017_2018.git
synced 2025-11-08 18:21:15 +00:00
Gripper control changed a bit, needs more work. Readouts for soil probe on gui, finished soil/rdf node.
This commit is contained in:
@@ -83,6 +83,7 @@ class Odometry(object):
|
||||
|
||||
gps = temp.get('gps', None)
|
||||
imu = temp.get('imu', None)
|
||||
imu_cal = temp.get('imu_cal', None)
|
||||
|
||||
if gps:
|
||||
# ###### THIS IS HERE TO DEAL WITH UBLOX GPS #####
|
||||
@@ -98,6 +99,9 @@ class Odometry(object):
|
||||
# print imu
|
||||
self.broadcast_imu(imu)
|
||||
|
||||
# if imu_cal:
|
||||
# print imu_cal
|
||||
|
||||
@staticmethod
|
||||
def chksum_nmea(sentence):
|
||||
# String slicing: Grabs all the characters
|
||||
@@ -148,5 +152,6 @@ class Odometry(object):
|
||||
|
||||
self.imu_data_publisher.publish(message)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
Odometry()
|
||||
|
||||
Reference in New Issue
Block a user