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

239 Commits

Author SHA1 Message Date
Andrey Pokhilko
9abe2495b0 Fix issue #39 2019-12-26 14:31:51 +03:00
Andrey Pokhilko
d3e4c58c5a Add one more video 2019-12-26 14:21:05 +03:00
Andrey Pokhilko
c11e8fbd18 A bit of refactoring 2019-12-20 14:39:34 +03:00
Andrey Pokhilko
8b970c0792
Update README.md 1.1.1 2019-12-09 16:33:00 +03:00
Andrey Pokhilko
fc8ed8ce2b
Release 1.1.1 2019-12-09 16:32:47 +03:00
Mariusz Woloszyn
cde1bea308 Orange color fix (#35) 2019-11-12 20:36:14 +02:00
Andrey Pokhilko
13919d7ecc Restoring bb8 connection 2019-09-07 23:10:50 +03:00
Andrey Pokhilko
a6a5f12e6c Make all backends aware of zero address 2019-09-07 23:10:34 +03:00
Andrey Pokhilko
5deafe9d4a Fix name of Hub 2019-08-23 13:24:32 +03:00
Andrey Pokhilko
de54a2edc0 Release 1.1.0 1.1.0 2019-08-17 20:42:52 +03:00
Andrey Pokhilko
43aba755cd Release 2.0.0 2019-08-17 20:41:08 +03:00
Andrey Pokhilko
77508273de Fix test better? 2019-08-15 13:07:52 +03:00
Andrey Pokhilko
462188b6b2 Fix test 2019-08-15 13:04:36 +03:00
Andrey Pokhilko
3a8d17737b BB8 joystick is ready 2019-08-15 11:43:26 +03:00
Andrey Pokhilko
e1e650220f figured out directions of joystick 2019-08-15 10:54:37 +03:00
Andrey Pokhilko
c9112d8fe4 Progressing 2019-08-14 23:29:08 +03:00
Andrey Pokhilko
bafdf3fc63 Keep researching BB8 and joyystick 2019-08-14 17:09:45 +03:00
Andrey Pokhilko
f3e4a9dbdb Preparing joystick operations 2019-08-14 13:58:55 +03:00
Andrey Pokhilko
33364e4e3b Fix hanging on button subscribe 2019-08-14 13:17:15 +03:00
Andrey Pokhilko
3f2b3dcb3a New machine is ready, start creating playground code 2019-08-14 11:05:16 +03:00
Andrey Pokhilko
fc08a495b1 It seems LEGO has renamed Move Hub in FW update 2019-08-14 11:04:58 +03:00
Andrey Pokhilko
6ad116fe1c Change button callback into 3-state 2019-08-14 11:04:29 +03:00
Andrey Pokhilko
544aa82cf5 Finish color pinned bot 2019-08-14 11:04:07 +03:00
Andrey Pokhilko
3f19c983c2 Merge branch 'master' of github.com:undera/pylgbst 2019-08-13 15:45:59 +03:00
Andrey Pokhilko
ee2c5f2923
Update .travis.yml 2019-08-12 10:52:19 +03:00
Andrey Pokhilko
274828528f
Try to fix gattlib 2019-08-12 10:49:31 +03:00
Andrey Pokhilko
cbff4756cd
Python 3.4 => 3.5 2019-08-12 10:38:37 +03:00
Ingo Jache
990ccdb268 New LEGO-Boost Firmware 2.0.00.0017 breaks pylgbst... (#33)
* - Updated Port-Numbers (New Firmware 2.0.00.0017)
- Skipping Device without Mac-Address
(Seems to occur randomly after Firmware-Update,
referring to https://github.com/LLK/scratch-vm/issues/2230 )
- Fixed racecondition in Hub.send()
(Reply could come before entering _sync_lock)

* - fixed Unit-Tests (Changed Port-Numbers)
- moved the write-call in hub.send() outside the lock
2019-08-12 10:38:04 +03:00
Andrey Pokhilko
72dd6f0214 Working code 2019-08-05 17:36:35 +03:00
Andrey Pokhilko
66c376b2bd Fixed hardware part for pin machine 2019-08-05 14:11:53 +03:00
Andrey Pokhilko
6da6797374 Working code for BB8 joystick 2019-08-04 23:44:28 +03:00
Andrey Pokhilko
9f347c233f Continue experiments 2019-08-04 12:11:28 +03:00
Andrey Pokhilko
6aec464283 Start preparing BB8-joystick 2019-08-04 11:36:34 +03:00
Andrey Pokhilko
b1c8667f63
Update README.md 2019-06-18 09:56:17 +03:00
Andrey Pokhilko
9c0ff8e453
Update setup.py 1.0.1 2019-06-18 09:55:21 +03:00
Tomas Smetana
e60002a728 Fix LED and vision sensor demos (#30) 2019-06-16 09:35:32 +03:00
Tomas Smetana
02d1ca0188 Accept also bytearray type for message (#29) 2019-06-16 09:34:33 +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
1.0
2019-05-30 17:02:50 +03:00
Andrey Pohilko
0e7457e7be Set v1.0 2019-05-30 17:01:51 +03:00
Andrey Pohilko
3239b3377d cosmetics 2019-04-05 22:08:02 +03:00
Andrey Pohilko
5f9ce688e1 Better automata 2019-04-05 20:56:04 +03:00
Andrey Pohilko
3f47d1ce70 Merge branch 'master' of github.com:undera/pylgbst 2019-03-23 13:50:06 +03:00
Andrey Pohilko
b4f5481fbe Cosmetics 2019-03-23 13:49:50 +03:00
Andrey Pohilko
9ff6d0b4ed change relative import
relates to issue 23
2019-03-19 10:48:41 +03:00
Andrey Pohilko
5f209ac7e6 cosmetics 2019-03-15 18:55:08 +03:00
Andrey Pohilko
e4ed6d3904 Fix #25 2019-03-15 18:52:34 +03:00
Andrey Pohilko
24797cae51 add automata base 2019-03-10 10:44:46 +03:00
Andrey Pokhilko
3d65361e25
Update setup.py 0.10 2019-02-13 09:51:04 +03:00
Andrey Pohilko
1cd98d5836 0.10 release 2019-02-12 10:42:05 +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