mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-26 23:19:33 +00:00
Drone: Fix typo
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user