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

62 Commits

Author SHA1 Message Date
Andrey Pokhilko
6ad116fe1c Change button callback into 3-state 2019-08-14 11:04:29 +03:00
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
b64fb41572 Async is reserved word 2019-01-06 15:43:10 +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 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
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
6be14c8c44 Shrink problematic wait 2017-12-20 13:00:35 +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
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
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
Andrey Pohilko
4ab378499e Found problem of stuck notifications 2017-09-19 16:34:39 +03:00
Andrey Pohilko
a73a2ce5f5 Vernie android remote control 2017-09-18 21:45:45 +03:00
Andrey Pohilko
f3a5aab7ef Revealed constant motor mode 2017-09-18 18:50:56 +03:00
Andrey Pohilko
2536ed1249 Experimenting... 2017-09-17 22:03:38 +03:00
Andrey Pohilko
05d55cbb78 Working on documenting it 2017-09-17 21:12:59 +03:00
Andrey Pohilko
1171ee2668 implement thread per device queue 2017-09-16 20:27:56 +03:00
Andrey Pohilko
8560b7df9b Add some text-to-speech into vernie demo script 2017-09-16 14:52:37 +03:00
Andrey Pohilko
fa0ee2d77a handle push button 2017-09-16 00:29:10 +03:00
Andrey Pohilko
33e97e474f Some minor fixes 2017-09-15 22:50:54 +03:00
Andrey Pohilko
d52581c236 found where battery voltage is 2017-09-15 22:26:33 +03:00
Andrey Pohilko
ce669eb320 vernie carton field demo 2017-09-15 21:15:51 +03:00
Andrey Pohilko
e992310393 Probablu bug has been fixed? 2017-09-15 20:05:35 +03:00
Andrey Pokhilko
f5b9b66e60 Mark progress 2017-09-15 17:52:50 +03:00
Andrey Pohilko
abd502b70c Try using our own thing 2017-09-15 14:37:59 +03:00
Andrey Pohilko
885779ef4c Motor subscription 2017-09-15 12:19:46 +03:00
Andrey Pohilko
88dd8d8f06 Some refactorings 2017-09-15 11:38:22 +03:00
Andrey Pohilko
2819dd4c3c Color-distance 2017-09-15 09:23:22 +03:00
Andrey Pohilko
5ca9a859c6 Color sensor handling 2017-09-14 22:05:42 +03:00
Andrey Pohilko
d2d8fd54a7 Working on color and distance sensor 2017-09-14 19:55:30 +03:00