Commit Graph

472 Commits

Author SHA1 Message Date
Peli de Halleux
17ab24eaa9
Ramp (#904)
* updated ramp block

* updated example
2019-09-04 14:51:45 -07:00
Peli de Halleux
9c5d5f9a86 updated block 2019-09-04 13:50:13 -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
56bbcde299
Support for smooth acceleration/deceleration in run (#900)
* removed logging

* removing more logging

* always use step for single/multiple motors

* refactored schedule

* account for accel ramp up and down

* added default acc/decel

* rounding speed/angle

* remove hack

* use acceleration time in run too

* handle missing case

* adding notes on motors

* adding sample

* fixed ramp simulation

* clear defaults

* some docs, more later

* adding basic examples

* remove debug msg

* clean json

* added move schedule

* docs

* basic docs
2019-09-02 20:57:23 -07:00
Peli de Halleux
140ba64462
Gyrofix (#893)
* disable drift correction by default

* disable drift correction

* better calibration sequence

* add comments

* updated comment about beta
2019-08-30 10:58:49 -07:00
Peli de Halleux
277c9903bb
Tank fixes (#892)
* fixing turnration computation

* updated tank computation

* fix rendering glitch

* restore tank computation

* rounding errors
2019-08-30 05:40:51 -07:00
Peli de Halleux
e4a7531541
add rgbraw (#890) 2019-08-28 22:59:41 -07:00
Michał Moskal
8b3461bebd Add exitThread() polling the exit button (#888)
* Add exitThread() polling the exit button

* Add missing includes

* Remove redundant code
2019-08-28 22:43:21 -07:00
Peli de Halleux
abc93dd7da
Multi sensor fix (#887)
* more logging

* set uart mode all at once

* updated logging

* pr feedback
2019-08-28 16:21:06 -07:00
Peli de Halleux
b66d4f2d64
enable storage extension (#886)
* enable storage extension

* fix -beta
2019-08-28 13:36:23 -07:00
Peli de Halleux
aa40e7b169
Endprogram (#884)
* moving end program logic to c++

* typo

* always stop on reset
2019-08-28 08:52:01 -07:00
Max
db9b6a995b IIC added (#870)
* IIC added

* Fixed bug with not detecting device
2019-08-27 17:57:21 -07:00
Peli de Halleux
3e56e2c3e2
Rgb raw tuning of blocs (#883)
* refactor blocks

* make non-private
2019-08-27 17:05:16 -07:00
Dmitriy Antipov
79b5f8cc88 Add rgb and reflection raw mods for color sensor (#876)
* Add reflection raw value

Add reflection raw value for color sensor

* update

* Combined rgbraw and refraw
2019-08-27 16:45:12 -07:00
Max
5bd4aed0e1 Multiple sensors 2 (#877)
* Fixed -1 mode in libs

* Deleted todo
2019-08-27 16:34:55 -07:00
Peli de Halleux
2b300a4094
Maximmasterr set settle (#882)
* Added set settle time

* updated blocks
2019-08-27 14:57:28 -07:00
Max
4d2f72575b Fixed multiple sensor bug (#868) 2019-07-15 15:26:25 -07:00
Sam El-Husseini
b71bfef418
Call setOutputType with the right arguments (#828)
* Call setOutputType with the right arguments
2018-12-03 16:37:53 -08:00
Peli de Halleux
2e0a34c99b Calibration states (#820)
* color calibration
2018-12-03 16:37:40 -08:00
Peli de Halleux
dfc9ca1db4 fxing leading / in docs 2018-09-21 14:07:11 -07:00
Abhijith Chatra
9825a90df2
Buildfix for lego and bumping common-packages to 0.23.54 (#780)
* fixing build failure

* Bumping common-packages to 0.23.54
2018-09-18 16:31:40 -07:00
Michał Moskal
7a6818931f
Derive 'base' package file list from pxt-common-packages (#770) 2018-09-04 08:23:11 -07:00
Sam El-Husseini
fc83cc5d5b
Fix note field editor authoring such that it limits the notes that show up (#715) 2018-06-20 16:29:03 -07:00
Peli de Halleux
97215e894a do a single green pulse when starting 2018-06-20 15:21:09 -07:00
Peli de Halleux
1368ee824b restoring consol eicon 2018-06-20 15:18:31 -07:00
Peli de Halleux
f2344ac52e
upgrading comm on packages (#708) 2018-06-20 13:59:20 -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
Sam El-Husseini
1d442b7de9
Fix piano field editor (when it's on its own) (#675) 2018-06-07 16:42:49 -07:00
Peli de Halleux
c288242b9c
add "pause on run" flag to disable waiting after command (#663)
* add "pause on run" flag to disable waiting after command

* refactor

* fixing build
2018-06-01 08:51:50 -07:00
Peli de Halleux
022a6765bf removing libs/automation, libs/chassis 2018-05-21 15:19:26 -07:00
Sam El-Husseini
a81e3b9f11
Better description for stop all sounds. (#649) 2018-05-15 11:21:24 -07:00
Sam El-Husseini
13b3c1a194
Attempt to shorten color sensor ambient and reflected blocks by removing detected keyword (#560) 2018-05-02 22:09:04 -07:00
Sam El-Husseini
4825172423
Update numbers music icon (from lego) (#553) 2018-05-02 13:55:44 -07:00
Sam El-Husseini
e1095b3d4a
Integrating field music icons (#549)
* Use the music icons provided by lego in the music field editor
2018-05-01 14:12:42 -04: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
Sam El-Husseini
83700b4e14
Music field editor (#529)
Music fiele editor
2018-04-17 22:16:19 -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
a4a9af28a4
Switch to reflected light when calling threshold (#489)
* fix typo

* fixing threshold functions

* switch to reflected mode when calling threshold
2018-04-11 09:58:34 -06:00
Peli de Halleux
0198be6dda
add screen mode to auto clear screen between modes (#486) 2018-04-11 09:00:22 -06:00
Peli de Halleux
4627328bcd
Output set Type fix (#487)
* properly send outputsettype info

* fix simulator

* bump pxt

* typo in docs
2018-04-11 08:48:07 -06:00
Sam El-Husseini
6d29cd40cb
Make both the simulator color picker and the Blockly editor color picker match in shape and the colors as well as order of colors. (#474) 2018-04-09 16:48:57 -07:00
Sam El-Husseini
a433988929
New motor field editor (#470)
* New motor field editor showing two dropdown, first to select the type and the second to select the port.
2018-04-09 15:59:28 -07:00
Sam El-Husseini
d837a515dc Fix brick color not changing to the color red. Fixes 453 (#456) 2018-04-08 03:35:02 -06: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
5277cc847c
removing support for far in ultrasonic (#441)
* removing support for far in ultrasonic

* removing more far
2018-04-05 17:07:14 -07:00
Peli de Halleux
e1727dc917
update pxt (#433)
* update pxt

* hide image field editors
2018-04-05 10:40:11 -07:00
Galen Nickel
7825bd1579 Use the correct sig for ultrasonic onEvent doc (#429) 2018-04-04 16:21:00 -07:00
Galen Nickel
b8a3fa345f Include doc stubs for excluded music methods (#411) 2018-04-03 14:39:30 -07:00
Peli de Halleux
ec1ceea138
bump version to 0.1.13 (#407)
* bump version

* Light Condition -> Light

* roll back 0.1.11
2018-04-03 12:03:15 -07:00
Peli de Halleux
2467b3c4c9
renaming pauseforcolor to pause until color detected (#405)
* renaming pauseforcolor to pause until color detected

* pauseForLight -> pauseUntilLightConditionDetected

* on light changed -> on light condition detected

* fixing docs

* docs tweaks
2018-04-03 05:05:01 -07:00