Commit Graph

164 Commits

Author SHA1 Message Date
artem30801
75ce422cad Refactored visual land dialog (YAY!) + shortcuts + not closing every time (#62) 2019-12-31 11:56:53 +03:00
Arthur Golubtsov
4573e8ebc9 Server: Add length condition for viewing check errors 2019-12-31 10:39:30 +03:00
Arthur Golubtsov
dfbf466706 Server: Catch network exceptions 2019-12-31 10:39:30 +03:00
artem30801
853cc0d3fa File sending fix (#61)
* Changed sending buffering

* Connected config to buffer size in clients

* Update data logging for file transmit

* Fix logging when receive data

Co-authored-by: Arthur Golubtsov <goldartt@gmail.com>
2019-12-26 18:23:10 +03:00
Arthur Golubtsov
fd763feeed Server: Update GUI 2019-12-26 02:38:16 +03:00
Arthur Golubtsov
a85af14b3a Server: Update emergency dialog 2019-12-26 02:38:16 +03:00
Arthur Golubtsov
4da5a91e53 Server: change config order accordingly to the docs 2019-12-24 19:44:25 +03:00
Arthur Golubtsov
3b35ff8b66 Server: Write short check statuses directly 2019-12-17 11:39:37 +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
Arthur Golubtsov
143574dc69 Server: Add send_any_command and send_any_file functions 2019-11-14 10:09:38 +03:00
Arthur Golubtsov
43952097f1 Server: Fix send_any_command menu name 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
77721ee7d1 Server: Add Send FCU parametes item to menu 2019-11-13 11:49:41 +03:00
Arthur Golubtsov
9f9e78d528 Server: Fix checking start position 2019-11-13 08:30:40 +03:00
Arthur Golubtsov
348f81b217 Server: Add repait chrony function 2019-11-12 11:56:09 +03:00
Arthur Golubtsov
68dbf57a79 Server: Write server logs to server_logs folder with unique filenames 2019-11-09 23:58:39 +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
2a09b6362d Server: return remove_disconnected to False again 2019-11-08 10:50:34 +03:00
Arthur Golubtsov
c1f6219af3 Server: Fix logging messages for copter removing 2019-11-05 21:30:46 +03:00
Arthur Golubtsov
d491a45468 Server: Update table headers 2019-11-05 21:14:17 +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
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
1053ffe5bb Server: Update GUI 2019-11-01 17:18:29 +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
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
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
1adade0bda Server: Add check for position col in table 2019-10-29 16:38:13 +03:00
Arthur Golubtsov
34999302f7 Server: Update GUI 2019-10-29 15:58:27 +03:00
Arthur Golubtsov
82a434b4ca Add ability to send folder with launch files 2019-10-29 15:54:08 +03:00
Arthur Golubtsov
585cb61673 Server: Change remove_disconnected param to False in server_config 2019-10-29 15:06:55 +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
dd761e7dfb Server: Fix copter removing 2019-10-23 15:51:00 +03:00
Arthur Golubtsov
c91679964c Server: Add takeoff_z command 2019-10-22 14:38:52 +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
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
f8c8c0213d Server: update chrony config 2019-09-25 16:28:30 +03:00
Arthur Golubtsov
e191db3cbe Server: Add ability to play music 2019-09-25 16:25:59 +03:00