Commit Graph

120 Commits

Author SHA1 Message Date
Arthur Golubtsov
72e1d1e916 Drone: Add GPS frame static broadcast 2020-05-21 20:07:47 +03:00
Arthur Golubtsov
bef932871f Drone: Fix GPS delta position counting 2020-05-21 16:51:57 +00:00
Arthur Golubtsov
1f70520ac5 Drone: Fix typo 2020-05-21 17:02:26 +03:00
Arthur Golubtsov
95917545c2 Drone: Update getting GPS frame values 2020-05-21 16:57:55 +03:00
Arthur Golubtsov
67d77694b2 Drone: Add gps xy and dy counting 2020-05-21 16:27:00 +03:00
Arthur Golubtsov
3f0990173f Drone: Add gps frame broadcast 2020-05-21 02:58:29 +03:00
Arthur Golubtsov
7311e5b59a Drone: Update copter client 2020-05-21 02:45:03 +03:00
Arthur Golubtsov
e399915c78 Drone: Fix telemetry get 2020-05-21 02:40:58 +03:00
Arthur Golubtsov
9988299a11 Drone: Add gps frame broadcast prototype 2020-05-21 02:28:19 +03:00
Arthur Golubtsov
541a64a3ca Drone: Begin code organisation for GPS support 2020-05-21 00:11:07 +03:00
Arthur Golubtsov
ca173200d9 Drone: Fix first point yaw 2020-05-20 23:56:16 +03:00
Arthur Golubtsov
9e8d18d02f Drone: Add takeoff and land indication options 2020-05-20 23:48:26 +03:00
Arthur Golubtsov
6354d524f6 Client: Remove waste spaces 2020-04-07 10:34:25 +03:00
Arthur Golubtsov
d8bc67692f Client: Update FCU parameters parser 2020-04-07 10:12:31 +03:00
Arthur Golubtsov
ecfa705482 Client: Updates for compability with clover and simulations 2020-04-03 19:51:09 +03:00
Arthur Golubtsov
6b1649941b Client: Fix responce id 2020-02-21 10:56:43 +00: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
eee1b97002 Updated columns names at client 2020-02-01 11:39:23 +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
abfe7e86cd Drone: Fix bugs 2020-01-21 03:15:15 +00:00
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