Commit Graph

108 Commits

Author SHA1 Message Date
Artem30801
817a07a10d Merge branch 'qt-gui-update' of https://github.com/CopterExpress/clever-show into qt-gui-update 2020-01-20 21:26:49 +03:00
Artem30801
0aad314ffc Fix broadcast usage error 2020-01-20 21:25:53 +03:00
Arthur Golubtsov
eba6412d44 Server: Add ability to view task information in table 2020-01-20 21:20:05 +03:00
Artem30801
69e74ba22d Fixed partial with .clicked behaviour 2020-01-20 19:32:44 +03:00
Artem30801
d23c12e3fd Simplify init, better config window managing 2020-01-12 15:45:46 +03:00
Artem30801
5c0306f212 Improved qt server callbacks registartion 2020-01-07 17:30:44 +03:00
Artem30801
3798a5fddc Client with new config system 2020-01-05 17:58:04 +03:00
Artem30801
0f2574554d Slight improvemnts 2020-01-05 12:37:33 +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
75ce422cad Refactored visual land dialog (YAY!) + shortcuts + not closing every time (#62) 2019-12-31 11:56:53 +03:00
Artem30801
63f6bdbe52 Merge branch 'master' into qt-gui-update 2019-12-30 21:57:21 +03:00
Artem30801
8efc1029b6 Optimized imports and naming, started rework of config sending 2019-12-30 19:45:19 +03:00
Artem30801
6ffef1a0bf Optimized imports and naming, started rework of config sending 2019-12-30 19:43:13 +03:00
Artem30801
9091d90554 Slight improvements 2019-12-30 10:35:48 +03:00
artem30801
2ebdb6f683 Reworked old filesending funcions 2019-12-29 21:04:39 +03:00
artem30801
239f32a616 Filesending debugging 2019-12-29 20:07:03 +03:00
artem30801
44bf471385 Fixes and improvents in server 2019-12-29 18:09:24 +03:00
artem30801
01a2990e0a Removed timing lib import 2019-12-26 17:53:10 +03:00
artem30801
f1ea376a79 QT server refactor and improvements 2019-12-26 15:37:55 +03:00
Arthur Golubtsov
fd763feeed Server: Update GUI 2019-12-26 02:38:16 +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
10e38b9251 Added window icon 2019-11-21 21:54:39 +03:00
Arthur Golubtsov
143574dc69 Server: Add send_any_command and send_any_file functions 2019-11-14 10:09:38 +03:00
Arthur Golubtsov
9bbea27c7a Server: Add send_fcu_parameters request 2019-11-13 11:49:41 +03:00
Arthur Golubtsov
348f81b217 Server: Add repait chrony function 2019-11-12 11:56:09 +03:00
Arthur Golubtsov
c1f6219af3 Server: Fix logging messages for copter removing 2019-11-05 21:30:46 +03:00
artem30801
576e1a52fa Feature branch - fix for removing clients from qt table (#54)
Fixed removing clients from table.
2019-11-02 00:29:06 +03:00
Arthur Golubtsov
0b23fd6e53 Server: Modify updating table data 2019-11-01 18:53:24 +03:00
Arthur Golubtsov
0beb6ca69a Server: Handle new data, fix getting copter client data, remove old requests 2019-11-01 17:18:01 +03:00
Arthur Golubtsov
5e56a82b35 Server: simplify table update 2019-10-31 15:13:03 +03:00
Arthur Golubtsov
9f536356ab Server: Update request for telemetry 2019-10-30 07:05:48 +03:00
Arthur Golubtsov
4619a340e3 Server: Add support for telemetry streaming 2019-10-30 06:41:32 +03:00
Arthur Golubtsov
82a434b4ca Add ability to send folder with launch files 2019-10-29 15:54:08 +03:00
Arthur Golubtsov
eb96ee4a4b Server: don't do selfcheck before takeoff until the connection problem will be solved 2019-10-29 14:31:01 +03:00
Arthur Golubtsov
caa14411d0 Server: Add reboot_all command 2019-10-23 15:51:00 +03:00
Arthur Golubtsov
c91679964c Server: Add takeoff_z command 2019-10-22 14:38:52 +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
5745daaf67 Server: Add send calibration files menu function 2019-10-16 17:10:05 +03:00
Arthur Golubtsov
01287a766e Server: Update interface 2019-10-09 18:43:30 +03:00
Arthur Golubtsov
19b4d73da3 Server: correct send start_time logic 2019-10-08 19:55:14 +03:00
Arthur Golubtsov
d81f521b75 Server: fix play_music_at_time logic 2019-10-08 18:58:41 +03:00
Arthur Golubtsov
ca4b4aa1bf Connection rewrite: update client and server connection logic (#49) 2019-10-07 20:05:39 +03:00
Arthur Golubtsov
5f0c78f725 Server: Add set_z_offset_to_ground and reset_z_offset commands 2019-10-01 02:34:07 +03:00
Arthur Golubtsov
018f4f891f Server: Fix play music checkbox checking 2019-10-01 02:19:27 +03:00
Arthur Golubtsov
e191db3cbe Server: Add ability to play music 2019-09-25 16:25:59 +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