Skip to content

Commit 94029df

Browse files
removed extra lines
1 parent 1c7610a commit 94029df

2 files changed

Lines changed: 0 additions & 11 deletions

File tree

src/jetson_pkg/jetson_pkg/gps_apriltag_comparison.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ def __init__(self):
3030
10
3131
)
3232

33-
#FIXME when you create the publisher for the gps
3433
self.gps_subscriber = self.create_subscription(
3534
Twist,
3635
'/gps_conversion',

src/jetson_pkg/jetson_pkg/gps_conversion

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@ import threading
1010
import cv2
1111

1212

13-
14-
15-
16-
1713
class gpsConversion(Node):
1814
def __init__(self):
1915
super().__init__('gps_conversion')
@@ -45,7 +41,6 @@ class gpsConversion(Node):
4541

4642
self.timer = self.create_timer(timer_period, self.timer_callback)
4743

48-
4944
def gps_callback(self, msg: Vector3):
5045
self.latest_gps_pose = msg
5146

@@ -57,7 +52,6 @@ class gpsConversion(Node):
5752
#how much the longitude changes from one unit change of X
5853
self.UnitX_Long = (self.rightCornerLongitude - self.leftCornerLongitude) / 16
5954

60-
6155
def coords_distance(self):
6256
#compares latitude and longitude of robot to (0,0)
6357
self.deltaLatitude = self.latest_gps_pose.y - ((self.rightCornerLatitude + self.leftCornerLatitude) / 2)
@@ -94,7 +88,3 @@ def main(args=None):
9488

9589
if __name__ == '__main__':
9690
main()
97-
98-
99-
100-

0 commit comments

Comments
 (0)