Skip to content

Commit

Permalink
changeIP for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
tdubsFO committed Dec 20, 2023
1 parent 67e1654 commit ca5ce8a
Show file tree
Hide file tree
Showing 5 changed files with 1,763 additions and 4 deletions.
Binary file modified .DS_Store
Binary file not shown.
Binary file modified app/.DS_Store
Binary file not shown.
6 changes: 3 additions & 3 deletions app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
app = Flask(__name__, static_url_path="/static", static_folder="static") #setup flask app

logging_active = False# Global variable to control the logging
distance_url = 'http://10.144.19.16:6040/mavlink/vehicles/1/components/194/messages/DISTANCE_SENSOR' #10.144.19.16
gps_url = 'http://10.144.19.16:6040/mavlink/vehicles/1/components/1/messages/GLOBAL_POSITION_INT'
yaw_url= 'http://10.144.19.16/mavlink2rest/mavlink/vehicles/1/components/1/messages/ATTITUDE'
distance_url = 'http://127.0.0.1/mavlink2rest/mavlink/vehicles/1/components/194/messages/DISTANCE_SENSOR' #10.144.19.16
gps_url = 'http://127.0.0.1/mavlink2rest/mavlink/vehicles/1/components/1/messages/GLOBAL_POSITION_INT'
yaw_url= 'http://127.0.0.1/mavlink2rest/mavlink/vehicles/1/components/1/messages/ATTITUDE'
log_file = 'sensordata.csv'
log_rate = 2 #Desired rate in Hz
data = []
Expand Down
Loading

0 comments on commit ca5ce8a

Please sign in to comment.