Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Telemetry Mapping Issues | Regarding Performance, Output, Invalid API Requests, etc. #5

Open
TotallyNotAHaxxer opened this issue Sep 19, 2023 · 0 comments

Comments

@TotallyNotAHaxxer
Copy link

So, I decided to try out some other functionalities and found something that kind of killed the output. Maybe it was just me but I have listed some issues I found below.

Options / Input

The input within the framework was a bit weird because some options after entering a file would not at all even spawn the filename and would just ask for the final file again or a new input again. Again, could have just been the output that was an issue.

Telemetry Mapping / API -> go-static maps

This API is extremely buggy and from my personal experience can be a problem when chunking data. This is because the API the library makes a HTTP request to can not handle anything above 20 different coordinates so when the image is created you are produced with a blank page followed by some weird points.

somefile

This is weird and is honestly a bit glitched.

Provided Output

Below I have provided the steps and output I have created so that you can see the issues I ran into.

┌─[totallynotahaxxer@parrot]─[~/Desktop/DroneXtract]
└──╼ $go run main.go

     ________  ________  ________  ________   _______      ___    ___ _________  ________  ________  ________ _________   
    |\   ___ \|\   __  \|\   __  \|\   ___  \|\  ___ \    |\  \  /  /|\___   ___\\   __  \|\   __  \|\   ____\\___   ___\ 
    \ \  \_|\ \ \  \|\  \ \  \|\  \ \  \\ \  \ \   __/|   \ \  \/  / ||___ \  \_\ \  \|\  \ \  \|\  \ \  \___\|___ \  \_| 
     \ \  \ \\ \ \   _  _\ \  \\\  \ \  \\ \  \ \  \_|/__  \ \    / /     \ \  \ \ \   _  _\ \   __  \ \  \       \ \  \  
      \ \  \_\\ \ \  \\  \\ \  \\\  \ \  \\ \  \ \  \_|\ \  /     \/       \ \  \ \ \  \\  \\ \  \ \  \ \  \____   \ \  \ 
       \ \_______\ \__\\ _\\ \_______\ \__\\ \__\ \_______\/  /\   \        \ \__\ \ \__\\ _\\ \__\ \__\ \_______\  \ \__\
        \|_______|\|__|\|__|\|_______|\|__| \|__|\|_______/__/ /\ __\        \|__|  \|__|\|__|\|__|\|__|\|_______|   \|__|
                                                          |__|/ \|__|                                                     
                            
                                                                                     
                                                Created by Angelina Tsuboi (G4LXY)  

                                 GitHub: github.com/ANG13T/DroneXtract | Website: angelinatsuboi.com                         
                                                                  

    ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗                                                          
    ║                                            DJI Drone Digital Forensics Toolkit                                         ║
    ╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣
    ║                                                                                                                        ║
    ║     [ 1 ] Drone File Parsing                                                                                           ║
    ║                                                                                                                        ║
    ║     [ 2 ] Telemetry Mapping                                                                                            ║
    ║                                                                                                                        ║
    ║     [ 3 ] Steganography Suite                                                                                          ║
    ║                                                                                                                        ║
    ║     [ 4 ] Flight and Integrity Analysis                                                                                ║
    ║                                                                                                                        ║
    ╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣                                                          
    ║     [ 0 ] Exit DroneXtract                                                                                             ║
    ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝


 ENTER INPUT > 2

    ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗                                                          
    ║                                               DJI Telemetry Mapping                                                    ║
    ╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣
    ║                                                                                                                        ║
    ║     [ 1 ] Flight Path Analysis                                                                                         ║
    ║                                                                                                                        ║
    ║     [ 2 ] Telemetry Visualizations                                                                                     ║
    ║                                                                                                                        ║
    ║     [ 3 ] Back to Main Menu                                                                                            ║
    ║                                                                                                                        ║
    ╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣                                                          
    ║     [ 0 ] Exit DroneXtract                                                                                             ║
    ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝

 ENTER INPUT > 2

 ENTER FILE PATH > test-data/Flight-Records-CSV/2016-09-26_14-12-46_Standard.csv

    ╔══════════════════════════════════════════════════════════════════════════════╗
    ║                          Select Value to Visualize                           ║
    ╠══════════════════════════════════════════════════════════════════════════════╣
    ║ 1: Height Above Takeoff (feet)                                               ║
    ║ 2: Height Above Ground at Drone Location (feet)                              ║
    ║ 3: Ground Elevation at Drone Location (feet)                                 ║
    ║ 4: Ground Elevation at Drone Location (feet)                                 ║
    ║ 5: Altitude Above Sea Level (feet)                                           ║
    ║ 6: Height Sonar (feet)                                                       ║
    ║ 7: Speed (mph)                                                               ║
    ║ 8: Distance (feet)                                                           ║
    ║ 9: Mileage (feet)                                                            ║
    ║ 10: Satellites                                                               ║
    ║ 11: GPS Level                                                                ║
    ║ 12: Voltage (V)                                                              ║
    ║ 13: Max Altitude (feet)                                                      ║
    ║ 14: Max Ascent (feet)                                                        ║
    ║ 15: Max Speed (mph)                                                          ║
    ║ 16: Max Distance (feet)                                                      ║
    ║ 17: X Speed (mph)                                                            ║
    ║ 18: Y Speed (mph)                                                            ║
    ║ 19: Z Speed (mph)                                                            ║
    ║ 20: Compass Heading (degrees)                                                ║
    ║ 21: Pitch (degrees)                                                          ║
    ║ 22: Roll (degrees)                                                           ║
    ║ 23: RC Elevator                                                              ║
    ║ 24: RC Aileron                                                               ║
    ║ 25: RC Throttle                                                              ║
    ║ 26: RC Rudder                                                                ║
    ║ 27: RC Elevator (percent)                                                    ║
    ║ 28: RC Aileron (percent)                                                     ║
    ║ 29: RC Throttle (percent)                                                    ║
    ║ 30: RC Rudder (percent)                                                      ║
    ║ 31: Gimbal Heading (degrees)                                                 ║
    ║ 32: Gimbal Pitch (degrees)                                                   ║
    ║ 33: Gimbal Roll (degrees)                                                    ║
    ║ 34: Battery Percent                                                          ║
    ║ 35: Voltage Cell 1                                                           ║
    ║ 36: Voltage Cell 2                                                           ║
    ║ 37: Voltage Cell 3                                                           ║
    ║ 38: Voltage Cell 4                                                           ║
    ║ 39: Voltage Cell 5                                                           ║
    ║ 40: Voltage Cell 6                                                           ║
    ║ 41: Current (A)                                                              ║
    ║ 42: Battery Temperature (F)                                                  ║
    ║ 43: Altitude (feet)                                                          ║
    ║ 44: Ascent (feet)                                                            ║
    ║ 45: Flyc State Raw                                                           ║
    ║ 46: Back to Main Menu                                                        ║
    ║ 0: Exit DroneXtract                                                          ║
    ╚══════════════════════════════════════════════════════════════════════════════╝

 ENTER INPUT > 1 
 41.29 ┤  ╭────────────────────────────────────────────────────────────────────────────────────────────────
 37.16 ┤  │
 33.03 ┤ ╭╯
 28.90 ┤ │
 24.77 ┤ │
 20.65 ┤ │
 16.52 ┤╭╯
 12.39 ┤│
  8.26 ┤│
  4.13 ┤│
  0.00 ┼╯
                                            Height Above Takeoff (feet)

     ________  ________  ________  ________   _______      ___    ___ _________  ________  ________  ________ _________   
    |\   ___ \|\   __  \|\   __  \|\   ___  \|\  ___ \    |\  \  /  /|\___   ___\\   __  \|\   __  \|\   ____\\___   ___\ 
    \ \  \_|\ \ \  \|\  \ \  \|\  \ \  \\ \  \ \   __/|   \ \  \/  / ||___ \  \_\ \  \|\  \ \  \|\  \ \  \___\|___ \  \_| 
     \ \  \ \\ \ \   _  _\ \  \\\  \ \  \\ \  \ \  \_|/__  \ \    / /     \ \  \ \ \   _  _\ \   __  \ \  \       \ \  \  
      \ \  \_\\ \ \  \\  \\ \  \\\  \ \  \\ \  \ \  \_|\ \  /     \/       \ \  \ \ \  \\  \\ \  \ \  \ \  \____   \ \  \ 
       \ \_______\ \__\\ _\\ \_______\ \__\\ \__\ \_______\/  /\   \        \ \__\ \ \__\\ _\\ \__\ \__\ \_______\  \ \__\
        \|_______|\|__|\|__|\|_______|\|__| \|__|\|_______/__/ /\ __\        \|__|  \|__|\|__|\|__|\|__|\|_______|   \|__|
                                                          |__|/ \|__|                                                     
                            
                                                                                     
                                                Created by Angelina Tsuboi (G4LXY)  

                                 GitHub: github.com/ANG13T/DroneXtract | Website: angelinatsuboi.com                         
                                                                  

    ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗                                                          
    ║                                            DJI Drone Digital Forensics Toolkit                                         ║
    ╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣
    ║                                                                                                                        ║
    ║     [ 1 ] Drone File Parsing                                                                                           ║
    ║                                                                                                                        ║
    ║     [ 2 ] Telemetry Mapping                                                                                            ║
    ║                                                                                                                        ║
    ║     [ 3 ] Steganography Suite                                                                                          ║
    ║                                                                                                                        ║
    ║     [ 4 ] Flight and Integrity Analysis                                                                                ║
    ║                                                                                                                        ║
    ╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣                                                          
    ║     [ 0 ] Exit DroneXtract                                                                                             ║
    ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝


 ENTER INPUT > 2  

    ╔════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╗                                                          
    ║                                               DJI Telemetry Mapping                                                    ║
    ╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣
    ║                                                                                                                        ║
    ║     [ 1 ] Flight Path Analysis                                                                                         ║
    ║                                                                                                                        ║
    ║     [ 2 ] Telemetry Visualizations                                                                                     ║
    ║                                                                                                                        ║
    ║     [ 3 ] Back to Main Menu                                                                                            ║
    ║                                                                                                                        ║
    ╠════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╣                                                          
    ║     [ 0 ] Exit DroneXtract                                                                                             ║
    ╚════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╝

 ENTER INPUT > 1

 ENTER FILE PATH > test-data/Flight-Records-CSV/2016-09-26_14-12-46_Standard.csv

 ENTER OUTPUT PATH > somefile.png

    ╔══════════════════════════════════════════════════════════════════════════════╗
    ║                         Downsampled GPS Coordinates                          ║
    ╠══════════════════════════════════════════════════════════════════════════════╣
    ║ Coordinate 1: (41.290705162233024, -72.96225996654407)                       ║
    ║ Coordinate 2: (41.29069801054412, -72.96227544896178)                        ║
    ║ Coordinate 3: (41.290585131949484, -72.96226132887777)                       ║
    ║ Coordinate 4: (41.29053545559157, -72.96225244497971)                        ║
    ║ Coordinate 5: (41.290508734439136, -72.96229659113746)                       ║
    ║ Coordinate 6: (41.290717879182246, -72.96249809742311)                       ║
    ║ Coordinate 7: (41.29074754615103, -72.96222049295208)                        ║
    ║ Coordinate 8: (41.29065231249379, -72.96225046590247)                        ║
    ║ Coordinate 9: (41.290679099510776, -72.96221663354146)                       ║
    ║ Coordinate 10: (41.290748652728915, -72.96226848749988)                      ║
    ╚══════════════════════════════════════════════════════════════════════════════╝
2023/09/19 14:55:46 Error downloading tile file: GET http://c.tile.openstreetmap.org/20/311770/392014.png: 400 Bad Request
2023/09/19 14:55:46 Error downloading tile file: GET http://c.tile.openstreetmap.org/20/311768/392013.png: 400 Bad Request
2023/09/19 14:55:46 Error downloading tile file: GET http://a.tile.openstreetmap.org/20/311769/392013.png: 400 Bad Request
2023/09/19 14:55:46 Error downloading tile file: GET http://b.tile.openstreetmap.org/20/311769/392014.png: 400 Bad Request
2023/09/19 14:55:46 Error downloading tile file: GET http://b.tile.openstreetmap.org/20/311770/392013.png: 400 Bad Request
2023/09/19 14:55:46 Error downloading tile file: GET http://a.tile.openstreetmap.org/20/311768/392014.png: 400 Bad Request
Created Flight Path Map at somefile.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant