Skip to content

Commit

Permalink
Add emulator script
Browse files Browse the repository at this point in the history
  • Loading branch information
Aashay Shah committed Feb 24, 2024
1 parent 34b6b62 commit 80a0eaa
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Tools/scripts/emulate_odid_recv.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
sys.path.append('./modules/mavlink')
from pymavlink import mavutil
conn = mavutil.mavlink_connection('tcp:localhost:5762')
whilte True:
while True:
time.sleep(1)
conn.mav.open_drone_id_location_send(0,0,[11,11,11,11,11,11, 11]+[0]*20, [0]*20, 0,0,0,0,-353629589,1491651823,600,600, 0, 600, 1,1,1,1,time.time(),1)
conn.mav.open_drone_id_location_send(0,0,[11,11,11,11,11,11, 11]+[0]*20, 2, 0,0,0,-353629589,1491651823,600,600, 0, 600, 1,1,1,1,time.time(),1)

0 comments on commit 80a0eaa

Please sign in to comment.