commit to present
This commit is contained in:
11
main.py
11
main.py
@@ -40,9 +40,9 @@ mission = Mission()
|
||||
#todo test cell connection
|
||||
reporter = Datareporter (
|
||||
missiontime = mission,
|
||||
use_lan = False,
|
||||
url = "http://spaceballoon-server.herokuapp.com",
|
||||
server_port = 80,
|
||||
use_lan = True,
|
||||
url = "http://home.ascorrea.com",
|
||||
server_port = 5010,
|
||||
data_path = "upload-data",
|
||||
image_path = "missions",
|
||||
ping_path = "ping",
|
||||
@@ -84,7 +84,7 @@ camera = Camera (low_quality_compression_pct=low_quality_compression_pct,
|
||||
high_quality_compression_pct=high_quality_compression_pct,
|
||||
high_quality_resolution=high_quality_resolution,
|
||||
vflip=False,
|
||||
hflip=True,
|
||||
hflip=False,
|
||||
exposure_mode='sports',
|
||||
# debug=True
|
||||
)
|
||||
@@ -128,12 +128,9 @@ def submit_report():
|
||||
# reporter.create_transpondence()
|
||||
|
||||
if not transpondence:
|
||||
log.info("type of transpondence is {}".format(type(transpondence)))
|
||||
transpondence = Record()
|
||||
log.info("type of transpondence is {} and is {}".format(type(transpondence), transpondence))
|
||||
|
||||
if (counter % refresh_barometer_transmit) == 0:
|
||||
log.info("type of transpondence is {} and is {}".format(type(transpondence), transpondence))
|
||||
transpondence.add(bar,'b')
|
||||
|
||||
if (counter % refresh_camera_transmit) == 0:
|
||||
|
||||
Reference in New Issue
Block a user