Drone: Fix typo

This commit is contained in:
Arthur Golubtsov
2020-05-21 17:02:26 +03:00
parent 95917545c2
commit 1f70520ac5

View File

@@ -44,7 +44,7 @@ def azi(x, y):
return 90 - math.atan2(y,x)*180/math.pi
def get_xy(dist, azi):
return dist*math.sin(azi), dist*cos(azi)
return dist*math.sin(azi), dist*math.cos(azi)
static_broadcaster = tf2_ros.StaticTransformBroadcaster()