Commit Graph

758 Commits

Author SHA1 Message Date
artem30801
181086b2b5 Added 'Checks' section to docs 2019-12-09 15:23:38 +03:00
artem30801
f9a6cca6fc Add remove_disconnected to docks 2019-12-09 11:49:00 +03:00
artem30801
ad0fc9e4bc Shift server to new ConfigManager 2019-12-07 22:39:29 +03:00
artem30801
bf185063dc Added automatic type conversions and stansalone dialog call
Fully working for now but needs testing
2019-12-07 22:36:24 +03:00
artem30801
f5b54c7ec1 Fully working version of ConfigManager 2019-12-07 22:34:44 +03:00
artem30801
f6b1b00549 Added quamash to requirements.txt 2019-12-07 22:33:16 +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
b62881c0df Create configspec_server.ini 2019-12-05 13:51:06 +03:00
artem30801
4899c2268f Removed unnecessary files 2019-12-05 13:50:25 +03:00
artem30801
b4c3efc2d8 Added non-spec config files to gitignore 2019-12-05 13:49:49 +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
a39970deca List options and many improvemnts 2019-12-04 00:10:28 +03:00
Oleg Kalachev
53dad0e3fd Add demo video to readme (#57) 2019-12-03 01:53:17 +03:00
Artem30801
74186e5c5b Added offest list to configspec 2019-12-01 21:07:17 +03:00
Artem30801
b73b65c09f gui+functionality update 2019-12-01 21:06:57 +03:00
Artem30801
a98d746389 Basic color indication 2019-12-01 19:40:10 +03:00
Artem30801
dc6765d8e8 Added import/export to new dict format 2019-12-01 18:37:52 +03:00
Artem30801
1c522a67aa Added name and version for configs 2019-12-01 17:07:47 +03:00
Artem30801
018567be35 Minimal working version of config editor 2019-12-01 17:07:03 +03:00
Artem30801
11cb93b24f Updated config gui 2019-12-01 17:06:01 +03:00
Artem30801
f7ab920a18 Exporting/loading to/from dict 2019-12-01 17:05:28 +03:00
artem30801
5b2614d832 wip4 2019-11-29 23:26: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 v0.3-alpha.9 2019-11-28 15:40:07 +03:00
Arthur Golubtsov
3b2ef72ec9 builder: Add psutils module 2019-11-28 15:24:44 +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
artem30801
f58f097321 WIP 2019-11-22 16:39:18 +03:00
Arthur Golubtsov
2839ded41a tools: Update positions file 2019-11-22 11:45:23 +03: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
artem30801
10e38b9251 Added window icon 2019-11-21 21:54:39 +03:00
Arthur Golubtsov
d4c002fb72 Client: Add state counter for mode glitch avoidance 2019-11-21 07:51:28 +00:00
Arthur Golubtsov
7312d3ab57 Client: Add under voltage detection for logging 2019-11-19 20:56:20 +00:00
Arthur Golubtsov
92fc57076f builder: Update visual_pose_watchdog.service 2019-11-19 20:30:35 +00:00
Arthur Golubtsov
58f5293970 client_config: Add group for visual_pose_watchdog 2019-11-19 20:27:43 +00:00
Arthur Golubtsov
cbaf645999 Client: Add config parser and 3 variants of emergency actions to visual pose watchdog 2019-11-19 20:27:03 +00:00
Arthur Golubtsov
04d3a916cd Client: rename and modify CLEAR_TASK_WHEN_LAND to CLEAR_TASKS_WHEN_EMERGENCY 2019-11-19 20:25:34 +00:00
Arthur Golubtsov
90b0a973d9 Client: Add LOG_CPU_AND_MEMORY option 2019-11-19 13:55:56 +00:00
Arthur Golubtsov
dcfdfe221e Client: Add CLEAR_TASKS_WHEN_LAND option for telemetry thread 2019-11-19 12:12:13 +00:00
Arthur Golubtsov
4da20fa9c7 tasking_lib: Add get last task name function 2019-11-19 12:10:55 +00:00
Arthur Golubtsov
1a038f95f1 Client: Add land_timeout 2019-11-19 07:36:51 +00:00
Arthur Golubtsov
7127c1e4e9 tools: Fix change_landing script 2019-11-18 11:33:37 +03:00
Arthur Golubtsov
14ead33282 builder: Update visual_pose_watchdog service 2019-11-18 11:33:37 +03:00
Arthur Golubtsov
5219695d40 Client: Setup logger for visual pose watchdog 2019-11-18 05:52:45 +00:00
Arthur Golubtsov
80010ca0e8 Client: Increase visual pose watchdog timeout 2019-11-16 10:08:14 +00:00