commit to present

This commit is contained in:
2015-11-12 23:14:03 -06:00
committed by Anthony Correa
parent c3e5ef5576
commit 6ad007f1d7
6 changed files with 160 additions and 79 deletions

11
main.py
View File

@@ -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: