Commit Graph

60 Commits

Author SHA1 Message Date
Peli de Halleux
00fefe10d6
Boot sequence (#946)
* refactor bootsequence

* inf can be null

* align elements
2019-10-10 09:15:57 -07:00
Peli de Halleux
a4e02dcd03
add block to stop program (#943)
* add block to stop program

* renaming
2019-10-09 09:30:42 -07:00
Michał Moskal
c5cec3a6ba update to pxt 5 and pxt-common-packages 6 (#934)
* bump pxt

* fix build issues

* Auto-gen of projects/summary

* removing feild editors moved to pxt

* various typing fixes

* more typing fixes

* fixing various typing issues

* Start on integration of new pxt

* serial number fixes

* gc-ify MMap object

* Re-build generated files

* fix console listeners

* clear lf() warnings

* More generated files

* also auto-generated

* Compilation fixes

* fix merge

* mostly fixing blocks

* fix sim

* fix field motors

* enable a few features

* moving to tsx

* try to fix edtiro compilation

* more defs

* removing commands

* removing extra $

* fix blockly warning

* hiding images

* enabling more pxt features

* hide images

* setup autorun

* add lock on target_reset

* update deps

* return trylock result

* updated pxt

* rename video section

* add alpha channel

* upgraded pxt

* bump pxt/version

* removed alpha ref

* var ceanup

* don't do major bump
2019-10-08 21:57:55 -07:00
Peli de Halleux
2975bf2b55
Console to dmesg (#910)
* always pip console.log to dmesg

* trim new line

* restore storage

* restore new line

* remove unused variable
2019-09-07 18:22:39 -07:00
Peli de Halleux
87a65aa38f
battery properties (#903)
* Battery params

* move category

* cleanup

* use property

* fix level

* fix battery computation

* fix level comp

* docs
2019-09-04 12:56:45 -07:00
Peli de Halleux
97215e894a do a single green pulse when starting 2018-06-20 15:21:09 -07:00
Peli de Halleux
d128dad3dc
Startup sequence (#696)
* set light, play sound, show eyes, wait, clear screen, light

* play a sound, turn on lights
2018-06-20 13:32:00 -07:00
Michał Moskal
8ed79e7133 Swap X/y in images (#528)
* Swap X/Y in image encoding

* Fix PNG decoder

* Now really fix png

* reducing deps

* moving png.cpp into ev3

* bumped pxt

* updated shims

* fixing c++ compilation

* updated shims

* Fix pixel order

* update pxt

* Fix C++ image decoding

* Add expanded PNG images

* Generate E1 format images (in libs/ev3 run 'pxt buildsprites images')

* Go back to white background

* Remove PNG support
2018-04-19 12:08:16 -07:00
Peli de Halleux
bd06fb80f3 Threshold to calibration (#495)
* renaming threshold to calibration

* rename threshold to calibration
2018-04-12 14:25:44 -07:00
Peli de Halleux
fbb3280bc8
Showimagedelay (#446)
* add delay on "show image"

* removing optional duration
2018-04-05 20:42:03 -07:00
Peli de Halleux
3339a7660a
moving motor properties to lower group (#403) 2018-04-03 04:30:10 -07:00
Peli de Halleux
594ead703c
fixing mood block (#349) 2018-02-26 15:59:36 -08:00
Michał Moskal
c2d26a8418 Integrate screen APIs from common packages (#343)
* starting screen api intergration

* Further image integration

* Aligning with new screen apis

* Build fixes

* Adjust to common screen state

* Fix unpackPNG

* Add game library

* Optimize screen rendering

* bumping common packages

* updated shims

* moving images into ev3

* upgrading to common packages

* added try/use

* cap

* fixed tryp age
2018-02-26 15:16:17 -08:00
Peli de Halleux
daa88b299d replacing loops.pause -> pause, loops.forever -> forever 2018-02-14 16:05:31 -08:00
Peli de Halleux
2cce2a39b8 updated colors for motor/math 2018-02-07 01:42:16 -08:00
Abhijith Chatra
9bf50665fc improving the spacing & block names (#298) 2018-02-01 16:21:08 -08:00
Peli de Halleux
f594cdefac
add infrared sensor in ev3 library (#296) 2018-02-01 16:18:20 -08:00
Peli de Halleux
f08f9105ba
Clean generated files (#289)
* clean generated files

* updating gitingore to drop generated files

* updated package lock
2018-01-31 10:04:40 -08:00
Peli de Halleux
e06659ab4c
removing group icons (#282) 2018-01-30 16:40:08 -08:00
Peli de Halleux
f057964a50 pausing until sound is done in mood 2018-01-16 16:44:32 -08:00
Peli de Halleux
d1bb19e30e adding a mood block (image+sound+light) 2018-01-16 14:52:49 -08:00
Michał Moskal
20a4673f98 First draft of storage APIs (#122)
* First draft of storage APIs

* bumped pxt-core

* using fixed instances to seprate temp from permanent

* send console to storage

* sim support

* missing sim stubs

* adding storage blocks

* more sim support

* remove storage from default package

* fix rendering of ms

* render raw ms

* slize at better place

* duplicate bundled dir

* refactor limit

* simplify limit logic
2018-01-11 20:05:45 -08:00
Peli de Halleux
892a2d585f
Thresholds (#222)
* add threshold blocks

* updated strings

* added gap

* reorg color/gyro blocks

* fixing sound names

* adding stop block

* fixing exanmples
2018-01-09 12:46:48 -08:00
Peli de Halleux
a27a7fcd55
removing measured overloads until blocks support (#215) 2018-01-08 15:27:37 -08:00
Peli de Halleux
0f2bda2496 shuffling motor blocks 2018-01-07 20:33:02 -08:00
Peli de Halleux
64d6c2b090
Motors cleanup (#192)
* refactoring

* moving chassis into separate project

* added set motors
2018-01-05 16:02:52 -08:00
Peli de Halleux
7da811246c
Behaviors Driven Robotics (#178)
* adding avoid crash behavior

* more implementation

* add another simple behavior

* fixed synched motors

* bump common packages
2018-01-04 12:55:30 -08:00
Sam El-Husseini
7993363e89 Remaining icon fixes. Using blockIcons to show custom icons for built in categories 2018-01-03 14:20:33 -08:00
Caitlin Hennessy
383ca5467d Remove advexpanded/advcollapsed 2018-01-02 12:49:25 -08:00
Caitlin Hennessy
4dff282633 Initial work 2018-01-02 10:47:04 -08:00
Peli de Halleux
93fd8c8c78 removing more icons 2017-12-19 15:10:13 -08:00
Sam El-Husseini
2157af3e63 Using game loop instead of queueAnimationUpdate 2017-12-19 14:20:35 -08:00
Sam El-Husseini
6320379d02 Initial sim implementation 2017-12-18 13:04:17 -08:00
Peli de Halleux
6a4e64eac0
Merge pull request #79 from Microsoft/motorsync
Motor sync block
2017-12-15 14:28:03 -08:00
Michal Moskal
c7a3f5bbd0 Delay user code by 100ms to get sensor reading (fixes #90) 2017-12-15 11:55:20 +00:00
Peli de Halleux
fcdc350e40 more motor work 2017-12-14 17:01:23 -08:00
Sam El-Husseini
1bf1eb16f0 Update to latest TS and update blocks colors to match Lego's edu colors 2017-12-11 16:55:00 -08:00
Peli de Halleux
22ab1cba8d removing infrared from default ev3 configuration 2017-12-05 10:49:48 -08:00
Peli de Halleux
3c675892aa moving gyro into separate project 2017-11-30 10:34:34 -08:00
Peli de Halleux
34a5aeb7d2 moving IR as well 2017-11-30 09:53:43 -08:00
Peli de Halleux
3d8c697586 moving into separate project 2017-11-30 09:38:04 -08:00
Peli de Halleux
4d2b7ced71 moving color sensor to separate project 2017-11-29 21:41:00 -08:00
Peli de Halleux
f22edac84d moving touch stuff into separate projects 2017-11-28 16:11:15 -08:00
Peli de Halleux
16a025f3a0 simplified motor API 2017-10-30 21:29:18 -07:00
Peli de Halleux
c4a9b4a381 updated brick color 2017-10-30 09:58:00 -07:00
Peli de Halleux
c7d36a5e82 moving motors up 2017-10-30 09:55:36 -07:00
Peli de Halleux
c8c45be057 fixing brick groups 2017-10-30 09:51:18 -07:00
Peli de Halleux
84b98a2788 brick namespace 2017-10-28 09:13:02 -07:00
Peli de Halleux
18fefa2a44 output -> motors 2017-10-27 11:01:11 -07:00
Peli de Halleux
33c8902050 aligning groups with hardware name components 2017-10-24 16:52:13 -07:00