Commit Graph

85 Commits

Author SHA1 Message Date
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
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
Arthur Golubtsov
a408b298e3 Server: Add developer menu options 2019-09-13 19:12:00 +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
07d47bbfc2 Change checks type for takeoff and flip actions 2019-07-18 16:20:05 +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
d7e8e29f80 Display fix 2019-06-25 18:35:39 +03:00
Artem30801
0bbabb6363 Server now can send resume time stamp for sync, closes #33 2019-06-18 13:32:13 +03:00
Artem30801
2c08053c4c This commit group closing #28 and closing #27
Resolved all model integration issues, improved qt syntax and code organization
2019-06-16 22:50:01 +03:00
Artem30801
adb2adedad Merge remote-tracking branch 'origin/master' 2019-06-16 19:42:09 +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
Arthur Golubtsov
9790d2b164 Server: Repair bug in emegrency land function 2019-06-15 13:29:37 +03:00
Arthur Golubtsov
82a0cf0bd2 Emergency dialog: Add led off command when user closes dialog 2019-06-14 18:57:58 +03:00
Ilya
ede64e5716 Server: Improve emergency land 2019-06-14 18:33:12 +03:00
Ilya
63b67a14bb Server: Create new emergency land dialog 2019-06-14 16:59:56 +03:00
Arthur Golubtsov
f9fd81da1f Repair play animation, pause and stop also work now 2019-06-11 14:19:32 +03:00
Ilya
2516906fe1 Server: Add flip and emergency buttons 2019-06-10 11:22:00 +03:00
Arthur Golubtsov
2de50d324f Merge remote-tracking branch 'upstream/master' 2019-06-10 11:02:43 +03:00
Artem30801
f98efab15c Improved broadcast listener to prevent two servers running in the same network
Closes #12
2019-06-10 10:57:59 +03:00
Arthur Golubtsov
f754de397a Delete dot after V 2019-06-10 10:57:42 +03:00