1
0
mirror of https://github.com/undera/pylgbst.git synced 2020-11-18 19:37:26 -08:00

91 Commits

Author SHA1 Message Date
Andrey Pokhilko
6da6797374 Working code for BB8 joystick 2019-08-04 23:44:28 +03:00
Andrey Pokhilko
32eecac1a6
Make v1.0, based on official docs (#27)
* It's HUB ID

* Rename file

* Working with official doc

* Some progress

* AttachedIO msg

* device action impl

* some better device alert impl

* restructuring

* Some port commands handled

* Some command feedback waiting

* Some more request-reply things

* Some more request-reply things

* Reworked msg classes

* Getting back to UTs

* Getting back to UTs

* Facing sync lock problems

* Facing sync lock problems

* Testing it

* Covering more with tests

* handle actions

* Hub class is almost covered

* done coverage for Hub

* done coverage for MoveHub

* Button is tested

* remove debug server from examples

* Current and voltage tested

* color sensor basic test

* cover tilt sensor

* motor sensor tested

* constant motor

* motor is tested

* hold_speed impl for motor

* motor commands recorded

* some cleanup

* some cleanup

* some cleanup

* debug

* debug

* FIX a bug

* acc/dec profiles figured out

* UT motor ops

* UT motor ops

* Get rid of weird piggyback

* fix UT

* Fix encoding?

* fix test mb

* More robust

* Checked demo works

* cosmetics

* cosmetics

* Maybe better test

* fetching and decoding some device caps

* describing devs

* describing devs works

* Applying modes we've learned

* Simple and extensible dev attach

* Reworking peripherals based on modes

* Applying modes we've learned

* implemented getting sensor data

* fixed port subscribe

* Added led out cmds on vision sensor

* Worked on color-distance sensor

* Introduce some locking for consistency

* Improved it all

* Travis flags

* improve

* improve

* improve docs
2019-05-30 17:02:50 +03:00
Andrey Pohilko
b4f5481fbe Cosmetics 2019-03-23 13:49:50 +03:00
Vasily Loginov
dc1c388fe8 Bluepy comm (#18)
* Added support for bluepy communication backend.

* Added bluepy information into the readme.

* Added tests, fixed dependency specs in setup.py.

* Fixed dep in travis.

* Removed unused import. Added ability to fail the application on dispatcher thread error.

* Fixed bluepy test to be more appropriate.

* Properly handle hub mac if set.
2019-01-28 22:13:07 +03:00
Andrey Pohilko
f078d188ae Fix #10
Fixes #10
2019-01-16 10:42:52 +03:00
Andrey Pohilko
f4efb30133 Implement abstract method 2019-01-06 15:44:21 +03:00
Andrey Pohilko
b64fb41572 Async is reserved word 2019-01-06 15:43:10 +03:00
Andrey Pohilko
985f528359 Better disconnect for Gatt 2019-01-06 11:11:53 +03:00
Andrey Pohilko
ddb65ec043 Remove empty clashing file
Fixes issue #12
2018-08-12 19:40:32 +03:00
Andrey Pohilko
881ba1d619 Color tracking 2018-08-02 21:37:49 +03:00
Andrey Pohilko
4a6f948fc5 A way to check if connection is alive 2018-08-01 15:39:17 +03:00
Andrey Pohilko
b4605ae42b Face tracker example 2018-07-31 23:04:29 +03:00
Andrey Pohilko
3c8e6b4cbb Refactor 2018-07-30 12:51:11 +03:00
Andrey Pohilko
0c6409a3e3 better order for autoconnect 2018-07-30 12:43:36 +03:00
Andrey Pohilko
c676d09ba2 Fixups after testing 2018-07-30 12:31:22 +03:00
Andrey Pokhilko
16b1612cc6
Review pygatt (#11)
* Cosmetics

* Harmonograph demo

* Cleanup

* Original

* Original

* Cosmetics

* Original file

* Fixes

* cosmetics

* separate classes

* Cosmetics

* Cosmetics

* fix tests

* Remove plotter tests

* Add bluegiga

* Rename it

* Progress

* Fix tests

* Cosmetics

* Found a way for pygatt!

* Playing with gatt

* Fix hung subscribe

* rename class

* add test

* skeleton for autodetect

* safer order

* Fix tests

* Fix test

* Add dbus install

* another try

* 2

* 3

* 34

* 6

* 7

* Isolate some tests

* 8

* back to roots

* Try more

* 9

* Help

* rep

* site-packs

* Fix?

* Py3 come on

* dbus

* busss

* dev null!

* Fix test

* Cleanup

* Fix tests

* Fix after review

* add package

* FIx package paths

* Cosmetics

* Update

* More doc
2018-07-18 13:57:58 +03:00
Andrey Pohilko
737d955da4 Cosmetics 2018-02-02 16:54:53 +03:00
Andrey Pohilko
83be117966 Drop port data in case handler is too slow 2018-01-28 08:39:26 +03:00
Andrey Pohilko
039a5030fd Fix release issues 2017-12-29 10:47:19 +03:00
Andrey Pohilko
dc863f11b1 Fix bug of not connected 2017-12-29 10:41:33 +03:00
Andrey Pohilko
9bb5a659a8 Optimize requester cycles 2017-12-29 10:41:18 +03:00
Andrey Pohilko
d19cab08d8 Some protections 2017-12-26 18:14:01 +03:00
Andrey Pohilko
c6582103c9 Experiment with angled movements 2017-12-24 12:06:42 +03:00
Andrey Pohilko
2e2e36d560 Protect motor from going nuts in angled mode 2017-12-24 11:32:42 +03:00
Andrey Pohilko
ab9e829d97 Couple more constants faced 2017-12-21 17:02:47 +03:00
Andrey Pohilko
6be14c8c44 Shrink problematic wait 2017-12-20 13:00:35 +03:00
Andrey Pohilko
a5a9a3366c One more port status 2017-12-20 11:55:58 +03:00
Andrey Pohilko
184950a1c5 REctangle and romb 2017-12-19 19:31:30 +03:00
Andrey Pohilko
b600cc93c3 Struggle with math 2017-12-19 13:11:35 +03:00
Andrey Pohilko
5f60ed3500 Cosmetics 2017-09-25 16:13:22 +03:00
Andrey Pohilko
cb55fb4782 Cosmetics 2017-09-23 14:15:18 +03:00
Andrey Pohilko
acdf631b66 getting hub info 2017-09-23 14:09:53 +03:00
Andrey Pohilko
a5b0a567df refactoring 2017-09-23 10:58:27 +03:00
Andrey Pohilko
b77831f225 Get rid of six as dependency 2017-09-23 10:45:05 +03:00
Andrey Pohilko
bee4e5f647 Cosmetics 2017-09-22 19:39:22 +03:00
Andrey Pohilko
bd85c2bdd2 Cosmetics 2017-09-22 19:35:16 +03:00
Andrey Pohilko
4fffe1fb5f Changed battery stuff 2017-09-22 19:16:44 +03:00
Andrey Pohilko
b518e42d53 Add battery demo 2017-09-21 22:15:54 +03:00
Andrey Pohilko
c4aaa9fd6d Clarify tilt sensor constants 2017-09-21 21:52:13 +03:00
Andrey Pohilko
ab83408dee Fix tilt sensor functioning 2017-09-21 20:36:42 +03:00
Andrey Pohilko
369da2ce6a Fix run away game 2017-09-21 13:55:29 +03:00
Andrey Pohilko
a6047b3279 Fixing vernie 2017-09-21 13:42:20 +03:00
Andrey Pohilko
c255a38b43 Work on vernie demo polish 2017-09-20 19:34:42 +03:00
Andrey Pohilko
258c12d854 Finish documenting 2017-09-20 17:06:02 +03:00
Andrey Pohilko
cfc0a64ffe Documenting motors 2017-09-20 15:07:23 +03:00
Andrey Pohilko
df9af9e8da TILT sensor documented 2017-09-20 11:31:58 +03:00
Andrey Pohilko
ca9a781c9d Fix doc 2017-09-20 11:04:03 +03:00
Andrey Pohilko
da0bb5ad05 CDS documented 2017-09-20 10:57:55 +03:00
Andrey Pohilko
62ce93a8e5 documenting peripherals 2017-09-20 09:56:25 +03:00
Andrey Pohilko
06cfd9c419 Refactoring 2017-09-19 21:48:53 +03:00