Skip to content

Commit

Permalink
Removed updating... message in browser window
Browse files Browse the repository at this point in the history
  • Loading branch information
EinEinfach committed May 20, 2024
1 parent 27c086b commit 1433754
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CaSSAndRA/app.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

#Version:0.112.1 Fixed issue with map upload failed
#Version:0.113.0 Removed updating... message in browser
# package imports
import os
import sys
Expand Down Expand Up @@ -153,7 +153,7 @@ def start(host, port, proxy, data_path, debug, app_log_level, app_log_file_level
],
suppress_callback_exceptions=True,
title='CASSANDRA',
update_title = 'CASSANDRA updating...',
update_title = None, #'CASSANDRA updating...',
assets_folder=assets_path,
)
app.layout = serve_layout # set the layout to the serve_layout function
Expand Down
4 changes: 4 additions & 0 deletions CaSSAndRA/src/backend/comm/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ def check() -> pd.DataFrame:
cmdlist.cmd_goto = False
return msg_pckg
else:
logger.info(f'Map upload failed current map crc does not match rover crc. CRC deviation: {map_crc_dev}')
robot.map_upload_started = False
robot.map_upload_failed = True
return pd.DataFrame()
Expand Down Expand Up @@ -126,6 +127,7 @@ def check() -> pd.DataFrame:
robot.dock_reason_time = datetime.now()
return msg_pckg
else:
logger.info(f'Map upload failed current map crc does not match rover crc. CRC deviation: {map_crc_dev}')
robot.map_upload_started = False
robot.map_upload_failed = True
return pd.DataFrame()
Expand Down Expand Up @@ -197,6 +199,7 @@ def check() -> pd.DataFrame:
cmdlist.cmd_mow = False
return msg_pckg
else:
logger.info(f'Map upload failed current map crc does not match rover crc. CRC deviation: {map_crc_dev}')
robot.map_upload_started = False
robot.map_upload_failed = True
return pd.DataFrame()
Expand Down Expand Up @@ -286,6 +289,7 @@ def check() -> pd.DataFrame:
cmdlist.cmd_take_map = False
return pd.DataFrame()
else:
logger.info(f'Map upload failed current map crc does not match rover crc. CRC deviation: {map_crc_dev}')
robot.map_upload_started = False
robot.map_upload_failed = True
return pd.DataFrame()
Expand Down
2 changes: 1 addition & 1 deletion CaSSAndRA/src/backend/data/appdata.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import logging
logger = logging.getLogger(__name__)

version = '0.112.1'
version = '0.113.0'

0 comments on commit 1433754

Please sign in to comment.