Commit Graph

322 Commits

Author SHA1 Message Date
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
Artem30801
c365df69e8 WIP 5 (config broken) 2019-12-05 08:49:44 +03:00
Artem30801
fb8f81450a slight config improvemnts 2019-12-04 00:11:11 +03:00
Artem30801
74186e5c5b Added offest list to configspec 2019-12-01 21:07:17 +03:00
Artem30801
1c522a67aa Added name and version for configs 2019-12-01 17:07:47 +03:00
Arthur Golubtsov
7e8e97f88c Update client_setup to allow connection to hidden ssids 2019-11-28 17:50:35 +03:00
Arthur Golubtsov
9c518a8109 Client: Add visual_pose_service setup 2019-11-28 15:40:07 +03:00
Arthur Golubtsov
2afa294cc4 Client: update default config 2019-11-28 15:22:10 +03:00
Artem30801
6f84f167b0 WIP 3.1 2019-11-28 08:46:45 +03:00
Artem30801
fe69c99fb5 WIP 3 2019-11-28 08:45:33 +03:00
Artem30801
3dc665bd00 WIP 2019-11-25 23:19:07 +03:00
artem30801
fe3f5700a4 Removed unnecessary (and not working) yaw angle check 2019-11-24 23:16:19 +03:00
Arthur Golubtsov
eec82af58f Client: Add landing if position delta is bigger than value from client_config 2019-11-24 07:56:33 +00:00
Arthur Golubtsov
3cfb4a9587 Animation update delay (#56)
* Client: Make time_delay programmable from animation file

* Client: Add yaw parameter in client_config
2019-11-22 08:04:46 +03:00
Arthur Golubtsov
d4c002fb72 Client: Add state counter for mode glitch avoidance 2019-11-21 07:51:28 +00:00