File tree Expand file tree Collapse file tree
src/jetson_pkg/jetson_pkg Expand file tree Collapse file tree Original file line number Diff line number Diff 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' ,
Original file line number Diff line number Diff line change @@ -10,10 +10,6 @@ import threading
1010import cv2
1111
1212
13-
14-
15-
16-
1713class 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
9589if __name__ == '__main__':
9690 main()
97-
98-
99-
100-
You can’t perform that action at this time.
0 commit comments