diff --git a/Drone/copter_client.py b/Drone/copter_client.py index 6a6426e..bc015e2 100644 --- a/Drone/copter_client.py +++ b/Drone/copter_client.py @@ -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()