Commit Graph

47 Commits

Author SHA1 Message Date
Arthur Golubtsov
854348d943 Backup actual version for Electrotheatre 2020-07-06 02:44:26 +03:00
Arthur Golubtsov
bbc1525998 Revert "Merge branch 'qt-gui-update' of https://github.com/CopterExpress/clever-show into qt-gui-update"
This reverts commit a6c4bd76f4, reversing
changes made to d0eed91f73.
2020-01-24 14:18:33 +03:00
Artem30801
ac1702c648 Added new config column + drag support 2020-01-23 23:14:37 +03:00
Artem30801
dc178c5ceb Working column editors 2020-01-22 16:21:02 +03:00
Artem30801
7294089bbc WIP1 column state saving 2020-01-22 11:12:13 +03:00
Arthur Golubtsov
d08bbc3b72 Server: Fix start position delta detection 2020-01-21 06:18:40 +03:00
Arthur Golubtsov
2f3e2bb987 Server: Change columns sizes 2020-01-20 22:26:55 +03:00
Arthur Golubtsov
eba6412d44 Server: Add ability to view task information in table 2020-01-20 21:20:05 +03:00
Artem30801
f3385c9788 Merge branch 'qt-gui-update' of https://github.com/CopterExpress/clever-show into qt-gui-update 2020-01-14 15:28:30 +03:00
Artem30801
1754ac09a8 New copter table changes started 2020-01-14 15:26:58 +03:00
Arthur Golubtsov
dba274797d Server: Increase columns names 2020-01-13 18:57:49 +03:00
Artem30801
c03083e238 Added context menu with config dialog!
Tested and working for now
2020-01-07 17:30:02 +03:00
Artem30801
98e4e0190c Merge fixes and improvements 2020-01-03 15:36:54 +03:00
Artem30801
a8c31a0258 Merge branch 'master' into qt-gui-update 2020-01-02 19:30:17 +03:00
Artem30801
0ed088a99d Improved notifier closing and error handling + fixes 2020-01-02 19:26:27 +03:00
Arthur Golubtsov
4573e8ebc9 Server: Add length condition for viewing check errors 2019-12-31 10:39:30 +03:00
Artem30801
63f6bdbe52 Merge branch 'master' into qt-gui-update 2019-12-30 21:57:21 +03:00
Artem30801
9091d90554 Slight improvements 2019-12-30 10:35:48 +03:00
artem30801
f1ea376a79 QT server refactor and improvements 2019-12-26 15:37:55 +03:00
Arthur Golubtsov
3b35ff8b66 Server: Write short check statuses directly 2019-12-17 11:39:37 +03:00
artem30801
ad0fc9e4bc Shift server to new ConfigManager 2019-12-07 22:39:29 +03:00
artem30801
ce36c6f1e3 Feature branch: IMPORTANT connection+telemetry+table fixes and improvements (#55)
* .client_connected > .new_client_connected

* Fixed 'confirmation_required' wrapper

* Logging impr

* Changed and optimized a lot checks behaviour

* Added indication of connected/disconnected copters

* update_data_signal changed signature

* Added client removing functionality

* Option for automatically remove disconnected copters from table

* Renaming copters from QT server table on the go + some improvements

* Server: Check if self.clients list is not empty when trying to pop element from it

* Probably fixes behaviour of non-immidiate data sending from server

* Added changing hostname of copter

* Updated config

* Preview of selfchecheck results on double click

* Delete doc_2019-10-16_17-57-17.bashrc

* Update table data models for selfcheck

* Server: modify set id request to message

* Update client_config default file

* Client: modify set new id function

* Client: add avahi-daemon to restart when restarting network

* Client: add new hostname to ssh motd message, do not change hostname if no network restart in config

* Client: add newline to motd message

* Optimized request behaviour

* Client: fix service file and restart order

* Client: Add SO_KEEPALIVE and TCP_NODELAY options to client socket

* Modify to last tests with ping

* Client: remove ping

* Client: select reboot option when change id and add execute command

* Server: Add SO_KEEPALIVE option to server socket

* Server: Change removing copter

* Request resending after disconnection

* Resending improval (for furthrer functionality & fixes

* Fix of client removing behaviour

* Debugging

* Revert dubug code; 'Remove' fix confirmed

* do not clear requests queue

* Update requirements.txt

* Added namespace class to fix resend

* Improvements and simplification of notifier + port to client

* Refactor of telemetry thread

* Simplify lambdas

* Compress hostname check to single regex

* Changes in telemetry

* Refactored formatting of telemetry in table. NOT DONE

* Fix

* Git checkout. REVERT later!

* Conection fix

* Compability fixes

* Update start position

* Fix for reconnection with notifier socket

* Added traceback for pyqt5

* Fixes in new telemetry display

* Added lock to Telemetry

* Fixes for table display

* Fix of doubling line of client in table

* Fix of mass-removing clients from table

* Fix for clinet double-connection+removal

* Fix lock in Telemetry

* Changed signature of response callbacks for better syntax & fixes (all tested)

* Revert "Git checkout. REVERT later!"

This reverts commit 6122352380.

* Server: fix formatters

* Client: Remove telemetry_loop, small refactor of Telemetry class

* Server: Add formatters

* Server: Very small refactor

* Server: Fix checks and formatters

* Client: Fix check_failsafe function, small code refactor

* Client: update default config file
2019-12-05 15:10:21 +03:00
artem30801
f58f097321 WIP 2019-11-22 16:39:18 +03:00
Arthur Golubtsov
9f9e78d528 Server: Fix checking start position 2019-11-13 08:30:40 +03:00
Arthur Golubtsov
65c371bb02 Server: Add checks parameters to server_config.ini 2019-11-09 23:34:42 +03:00
Arthur Golubtsov
f7b5c7f3ba Server: Add start position delta check 2019-11-09 22:54:13 +03:00
Arthur Golubtsov
f7f227caac Server: Increase minimum battery percentage to start copters 2019-11-09 22:10:27 +03:00
Arthur Golubtsov
d491a45468 Server: Update table headers 2019-11-05 21:14:17 +03:00
Arthur Golubtsov
e26f7a861a copter_table_models: Update position column check 2019-11-01 19:12:14 +03:00
Arthur Golubtsov
0b23fd6e53 Server: Modify updating table data 2019-11-01 18:53:24 +03:00
Arthur Golubtsov
87a45ad157 copter_table_models: Add three new rows with git version, mode and start x y z 2019-11-01 17:16:25 +03:00
Arthur Golubtsov
1adade0bda Server: Add check for position col in table 2019-10-29 16:38:13 +03:00
Arthur Golubtsov
8b3986438b Server: Check user input for copter name 2019-10-21 10:19:16 +03:00
artem30801
eb61fd0dd8 Test and merge feature branch (#52)
* Added indication of connected/disconnected copters

* Added client removing functionality

* Option for automatically remove disconnected copters from table

* Renaming copters from QT server table on the go + some improvements
2019-10-18 22:52:25 +03:00
Arthur Golubtsov
df4d7801ec Fix conditions in col_checks 2019-09-25 16:25:20 +03:00
Arthur Golubtsov
424f1cbec2 Add moving and resetting start animation position 2019-09-19 17:13:37 +03:00
Arthur Golubtsov
130ca7845f Server: Add current position request check 2019-09-19 16:03:25 +03:00
Arthur Golubtsov
da5cc5becc Server UI: Add Select All menu button and shortcut, set row size to fit headers names on start 2019-09-19 15:03:40 +03:00
Arthur Golubtsov
263d4081ab Server: Add calibration functions, improve buttons state behavior 2019-09-12 07:49:28 +03:00
Arthur Golubtsov
d3a8d11777 Server: Update user interface 2019-09-12 05:04:15 +03:00
Arthur Golubtsov
d32e1480e1 Server: Add get system and calibration status functions support 2019-09-12 02:39:02 +03:00
Arthur Golubtsov
7c34cfcde5 Server: Repaired bugs with takeoff ready check, confirmation_required decorators, resume time sending 2019-07-05 18:36:48 +03:00
Arthur Golubtsov
f724e9e830 Server: Add separate check for takeoff button 2019-07-05 15:41:06 +03:00
Arthur Golubtsov
bfe705f10d Update table model and signal emitting condition 2019-07-05 14:23:36 +03:00
Artem30801
ed02db6dbf Fix for python <3.6 2019-06-25 19:23:55 +03:00
Artem30801
a9b9694add Disabling and enabling some buttons based on selected copters 2019-06-16 19:06:51 +03:00
Artem30801
0fa7d1a4b7 New! Realization of table model for storing all copter data. Auto refresh, sorting, data checks and coloring based on checks, thread-safety 2019-06-16 16:57:42 +03:00