Skip to content

Commit

Permalink
move logs to directory and try Binds again
Browse files Browse the repository at this point in the history
  • Loading branch information
tdubsFO committed Jan 25, 2024
1 parent 9bd3703 commit e5be9d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ LABEL permissions='\
"5420/tcp": {}\
},\
"HostConfig": {\
"Binds":["/root/.config/blueos/extensions/$IMAGE_NAME:/root/.config"],\
Binds”:[“/usr/blueos/extensions/ping-survey:/app/logs”],\
"ExtraHosts": ["host.docker.internal:host-gateway"],\
"PortBindings": {\
"5420/tcp": [\
Expand Down
2 changes: 1 addition & 1 deletion app/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
distance_url = 'http://host.docker.internal/mavlink2rest/mavlink/vehicles/1/components/194/messages/DISTANCE_SENSOR' #10.144.19.16
gps_url = 'http://host.docker.internal/mavlink2rest/mavlink/vehicles/1/components/1/messages/GLOBAL_POSITION_INT'
yaw_url= 'http://host.docker.internal/mavlink2rest/mavlink/vehicles/1/components/1/messages/ATTITUDE'
log_file = '/app/sensordata.csv'
log_file = '/app/logs/sensordata.csv'
log_rate = 2 #Desired rate in Hz
data = []
row_counter = 0
Expand Down

0 comments on commit e5be9d6

Please sign in to comment.