Commit Graph

336 Commits

Author SHA1 Message Date
Artem30801
2bb87bbc77 Merge branch 'qt-gui-update' of https://github.com/CopterExpress/clever-show into qt-gui-update 2020-02-25 16:32:47 +03:00
Artem30801
e0c6fdc720 Added restart to client for testing 2020-02-25 16:32:43 +03:00
Arthur Golubtsov
6b1649941b Client: Fix responce id 2020-02-21 10:56:43 +00:00
Arthur Golubtsov
fc0a56836f Client: Add log_state and vision_pose_delay_after_arm parameters for position_watchdog 2020-02-19 18:44:32 +00:00
Arthur Golubtsov
c114197761 Client: Rework position watchdog parameters 2020-02-17 16:41:24 +00:00
Arthur Golubtsov
7f8201431e Drone: Modify failsafe parameters 2020-02-13 18:16:37 +03:00
Artem30801
6fef1b0d59 Added mock telemetry sending to basic client for testing 2020-02-12 17:43:44 +03:00
Artem30801
0086b71279 Fix cal_status 2020-02-10 17:09:14 +03:00
Arthur Golubtsov
42aee960cd Drone: Fix typo in code 2020-02-10 13:41:16 +00:00
Artem30801
a2b087fcd9 Added copy config menu option 2020-02-05 14:37:36 +03:00
Artem30801
eee1b97002 Updated columns names at client 2020-02-01 11:39:23 +03:00
Artem30801
0134227742 Optimization of config sending via network 2020-01-24 15:46:48 +03:00
Artem30801
ac1702c648 Added new config column + drag support 2020-01-23 23:14:37 +03:00
Artem30801
0e02e2ee9d Updated messaging. File requests + args 2020-01-23 17:05:59 +03:00
Arthur Golubtsov
5320602159 Drone: Fix chrony ip configuration 2020-01-22 08:50:35 +00:00
Arthur Golubtsov
e1308e9ee8 Drone: Update visual_pose_watchdog to latest config 2020-01-21 03:31:28 +00:00
Arthur Golubtsov
abfe7e86cd Drone: Fix bugs 2020-01-21 03:15:15 +00:00
Arthur Golubtsov
056084db8b Drone: remove client config file 2020-01-20 19:25:19 +00:00
Arthur Golubtsov
ae11bb2cd1 Client: Remove old config files 2020-01-20 19:18:45 +00:00
Arthur Golubtsov
fc57f6abae Client: Add current task information to telemetry 2020-01-20 18:16:47 +00:00
Arthur Golubtsov
4431fb7e20 Drone: Change type of log messages in animation lib 2020-01-20 14:56:05 +00:00
artem30801
d654dba7fa Update configspec_client.ini 2020-01-14 18:17:26 +03:00
Arthur Golubtsov
fb80e0df3b Client: Refactor copter_client to new configuration 2020-01-13 19:14:31 +00:00
Arthur Golubtsov
dd7b3648af Client: Update config specs 2020-01-13 19:13:52 +00:00
Artem30801
0ccd801fc2 Fixed config responce in client 2020-01-07 17:24:15 +03:00
Artem30801
65447fa3c0 Added config response 2020-01-06 23:16:47 +03:00
Artem30801
1bedb143d9 Code auto-reformatted 2020-01-06 17:29:54 +03:00
Artem30801
7757c0e5ae Updated+fixed client configspec 2020-01-06 17:26:39 +03:00
Artem30801
6e03972271 Update configspec_client.ini 2020-01-06 13:42:25 +03:00
Artem30801
24e75f7ed0 config error repr + improved comment loading 2020-01-05 22:58:07 +03:00
Artem30801
3798a5fddc Client with new config system 2020-01-05 17:58:04 +03:00
Artem30801
a8c31a0258 Merge branch 'master' into qt-gui-update 2020-01-02 19:30:17 +03:00
Arthur Golubtsov
71ee063e87 Client: Add README 2019-12-31 12:55:20 +03:00
Arthur Golubtsov
4e652d16d9 Client: Decrease connection attempts 2019-12-31 09:09:20 +00:00
Arthur Golubtsov
bb871f877d Client: Fix getting battery 2019-12-31 08:23:53 +00:00
Artem30801
63f6bdbe52 Merge branch 'master' into qt-gui-update 2019-12-30 21:57:21 +03:00
Arthur Golubtsov
80f15a3b06 Client: Update client_config according to article about client 2019-12-29 20:14:48 +03:00
Arthur Golubtsov
ccb3039dd3 Client: Fix bugs 2019-12-29 13:48:44 +00:00
Arthur Golubtsov
2337985b96 Client: Update client_config 2019-12-27 21:55:36 +00:00
Arthur Golubtsov
f22b362da0 Client: Add support for emergency land 2019-12-27 21:55:13 +00:00
Arthur Golubtsov
c91bb949a9 Client: move landing when pos delta is big to visual_pose_watchdog 2019-12-27 21:54:11 +00:00
artem30801
5435a014f2 Client mapping fix (#58)
* Fix of idle error in clients

* Working fix of mapping get
2019-12-26 18:58:04 +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
artem30801
8b4bb7a064 Merged master+server improvements 2019-12-26 15:30:24 +03:00
Arthur Golubtsov
5a893361ba Delete unnecessary logging modules 2019-12-26 04:08:34 +03:00
Arthur Golubtsov
bcc7a0cf88 Client: Update client_config according to client's documentation 2019-12-26 02:38:16 +03:00
Arthur Golubtsov
f07fb205a5 Client: Add try/except dummy for getting map 2019-12-17 08:57:53 +00:00
Arthur Golubtsov
16da689b96 Client: remove unnecessary interruption returns from takeoff 2019-12-13 07:25:16 +00: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