Commit Graph

41 Commits

Author SHA1 Message Date
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
2337985b96 Client: Update client_config 2019-12-27 21:55:36 +00: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
bcc7a0cf88 Client: Update client_config according to client's documentation 2019-12-26 02:38: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
Arthur Golubtsov
2afa294cc4 Client: update default config 2019-11-28 15:22:10 +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
58f5293970 client_config: Add group for visual_pose_watchdog 2019-11-19 20:27:43 +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
f8ae6c6263 Client: Modify default config file 2019-10-25 17:23:22 +01:00
Arthur Golubtsov
79d59f0b28 Client: Fix bug in move start callback 2019-10-25 07:06:17 +01:00
Arthur Golubtsov
5d97ca26a8 Client: restore default client_config file 2019-10-23 10:23:38 +01:00
Arthur Golubtsov
90af9bb417 Client: Add reboot_all command 2019-10-23 13:49:49 +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
16b7779c4b Update default client config file 2019-10-08 16:19:46 +03:00
Arthur Golubtsov
590431c00b client_config: set new default file 2019-10-07 17:37:17 +01:00
Arthus Golubtsov
157dbd2e9f client_config: Update default file 2019-10-01 05:03:18 +01:00
Arthus Golubtsov
545794c30e client_config: Update default file 2019-10-01 03:39:15 +01:00
Arthus Golubtsov
8cf051e37a client_config: change default file 2019-04-08 13:11:07 +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
7d5858e217 Client: Add aruco_map_flipped static transform if it is used in client_config 2019-09-12 16:13:20 +01:00
Arthur Golubtsov
cc87d783ce Client: Corrected defaut height in client_config 2019-09-09 19:42:10 +01:00
Arthur Golubtsov
21ac98a178 Add saving corrected frames for testing 2019-09-09 19:03:19 +01:00
Arthur Golubtsov
f04d80b224 Rewrite the logic to support full animation files (with animated takeoff and landing) 2019-09-07 04:30:55 +01:00
Arthur Golubtsov
2dace12293 Add led_pin option, add logger 2019-06-14 17:15:05 +03:00
Arthur Golubtsov
f9fd81da1f Repair play animation, pause and stop also work now 2019-06-11 14:19:32 +03:00
Artem30801
fc5a15510e Improvements in client-side 2019-04-18 19:59:41 +03:00
artem30801@gmail.com
8551933cd6 Request for battery on start 2019-03-25 16:53:05 +03:00
Arthur Golubtsov
ce2136bdc0 client_config: add safe_takeoff param 2019-03-22 08:58:18 +00:00
Arthur Golubtsov
e023f4cc30 client_config: add reach_first_point_time parameter 2019-03-22 04:30:43 +00:00
Artem30801
27403dd237 Config COPTER_ID to /hostname to make client use system hostname
Closes #7
2019-03-20 12:31:16 +03:00
Artem30801
aa7748a319 New FlightLib!(better functions+logging+selfcheck) (everything needs testing)
Configuration files changed
2019-03-14 18:34:17 +03:00
Arthur Golubtsov
99bba177f6 Update .gitignore 2019-03-07 19:11:07 +00:00
Artem30801
b300db8601 Leds off + takeoff fix 2019-01-20 12:07:27 +03:00
Artem30801
90ed17285a Completely new client and server 2019-01-19 20:33:57 +03:00