Commit Graph

97 Commits

Author SHA1 Message Date
Arthur Golubtsov
fc57f6abae Client: Add current task information to telemetry 2020-01-20 18:16:47 +00:00
Arthur Golubtsov
fb80e0df3b Client: Refactor copter_client to new configuration 2020-01-13 19:14:31 +00:00
Artem30801
1bedb143d9 Code auto-reformatted 2020-01-06 17:29:54 +03:00
Artem30801
a8c31a0258 Merge branch 'master' into qt-gui-update 2020-01-02 19:30:17 +03: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
ccb3039dd3 Client: Fix bugs 2019-12-29 13:48:44 +00:00
Arthur Golubtsov
f22b362da0 Client: Add support for emergency land 2019-12-27 21:55:13 +00:00
artem30801
8b4bb7a064 Merged master+server improvements 2019-12-26 15:30:24 +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
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
Arthur Golubtsov
7312d3ab57 Client: Add under voltage detection for logging 2019-11-19 20:56:20 +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
1a038f95f1 Client: Add land_timeout 2019-11-19 07:36:51 +00:00
Arthur Golubtsov
027f01e036 Client: Fix /etc/hosts modifying 2019-11-15 09:03:42 +00:00
Arthur Golubtsov
fcba38fdfa Client: Fix /etc/hosts file with hostname.local, this is needed for ROS 2019-11-15 06:49:20 +00:00
Arthur Golubtsov
ea6c4af6af Client: Update execute command 2019-11-14 06:46:28 +00:00
Arthur Golubtsov
9e95e938b4 Client: Add load_params response 2019-11-13 08:44:39 +00:00
Arthur Golubtsov
5328d7c20b Client: Add threading lock for get_telemetry service 2019-11-07 05:12:17 +00:00
Arthur Golubtsov
4db18395eb Client: Catch ValueError when count battery percentage 2019-11-05 22:50:35 +00:00
Arthur Golubtsov
bc4c4644e0 Client: replace FlightLib.get_telemetry to direct get_telemetry service proxy to resolve proxy service from imported module error 2019-11-05 18:56:00 +00:00
Arthur Golubtsov
a184293621 Client: Setup loggers for animation, messaging, client and tasking lib, fixed telemetry exceptions handle 2019-11-02 06:54:25 +00:00
Arthur Golubtsov
e656498478 Client: Fix move_start function 2019-11-02 01:16:25 +00:00
Arthur Golubtsov
a72c447209 Client: Modify floor frame broadcast 2019-11-01 16:16:37 +00:00
Arthur Golubtsov
e50b33611b Client: Update battery status format 2019-11-01 14:22:34 +00:00
Arthur Golubtsov
e5c25eac4f Client: Fix telemetry thread 2019-10-31 16:41:11 +00:00
Arthur Golubtsov
05303cc4b7 Client: Add response for telemetry 2019-10-30 04:07:34 +00:00
Arthur Golubtsov
fbff10cc25 Client: add selfcheck to telemetry 2019-10-25 18:05:59 +01:00
Arthur Golubtsov
0f5b5f0346 Client: Add telemetry get and send thread 2019-10-25 17:22:49 +01:00
Arthur Golubtsov
46802667bd Client: modify move_start function 2019-10-25 15:32:49 +01:00
Arthur Golubtsov
d33cc0c32d Client: modify calibration response and reduce timeout in service check 2019-10-25 12:30:21 +01:00
Arthur Golubtsov
79d59f0b28 Client: Fix bug in move start callback 2019-10-25 07:06:17 +01:00
Arthur Golubtsov
90af9bb417 Client: Add reboot_all command 2019-10-23 13:49:49 +01:00
Arthur Golubtsov
cb46165557 Update git update function 2019-10-23 12:51:51 +01:00
Arthur Golubtsov
f4300f5988 Add takeoff_z command callback 2019-10-22 14:37:27 +01:00
Arthur Golubtsov
afcf880501 Client: add x_ratio, y_ratio and z_ratio settings for animation 2019-10-21 08:33:41 +01: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
37ca22b747 Client: make standalone settings group for floor frame 2019-10-07 17:36:34 +01:00
Arthus Golubtsov
ea86bef0f2 Client: Add support for ratio option for animation 2019-10-01 05:58:38 +01:00
Arthus Golubtsov
84e1d51560 Client: Add floor frame static transform support 2019-10-01 05:04:25 +01:00
Arthus Golubtsov
43ef7062bd Client: Add set_z_to_ground and reset_z_offset command handlers 2019-04-08 13:00:41 +01:00
Arthur Golubtsov
38478a41f0 copter_client: Increase position answer accuracy 2019-09-20 05:25:13 +01:00
Arthur Golubtsov
2c7f28d0dc Client: Add moving and resetting start commands 2019-09-19 15:15:46 +01:00
Arthur Golubtsov
392b06f494 Client: Fix rights for CleverSwarm folder 2019-09-19 14:17:45 +01:00
Arthur Golubtsov
23cf5bfb65 Client: Add position responce request 2019-09-19 14:17:45 +01:00
Arthur Golubtsov
c0d3b3f547 Client: Fix update_repo handler 2019-09-13 17:35:10 +01:00