Commit Graph

457 Commits

Author SHA1 Message Date
Sam El-Husseini
a021c0b292
Use a color picker for the color field (color enum picker) (#346) 2018-02-26 13:37:58 -08:00
Sam El-Husseini
a60958f72a
Update search icon and avatar SVG (#345) 2018-02-26 10:43:29 -08:00
Peli de Halleux
33dcb6deee renaming infraredSensor to infrared (#344) 2018-02-26 10:39:15 -08:00
Guillaume Jenkins
130a47d684
Sensor names are now part of the block text (#341)
* Sensor names are now part of the block text

* Use ports field editor
2018-02-26 11:33:50 -05:00
Galen Nickel
8ee63df325 Add in 'console' doc stuff (#342)
* Add 'playSound' api docs

* Add in 'console' doc stuff

* Add 'send to screen' in summary\
2018-02-23 14:13:08 -08:00
Galen Nickel
60ec3f1c99 Add 'playSound' api docs (#340)
* Add 'playSound' api docs

* Linkup summary
2018-02-22 16:23:07 -08:00
Galen Nickel
6524b0a841 Add 'timer' api docs (#339) 2018-02-22 14:56:15 -08:00
Peli de Halleux
e51a32b69f
use full motor names (#338) 2018-02-22 10:03:25 -08:00
Galen Nickel
ed8f8bafa7 Add 'infrared beacon' api topics (#330)
* Add 'infrared beacon' api topics

* Include note about channel selection
2018-02-21 22:35:51 -08:00
Galen Nickel
8cfb70c97b Threshold api docs - 01 (#336)
* Local commit

* Throw on more topics

* Throw in threshold topics for infrared
2018-02-21 22:35:25 -08:00
Galen Nickel
84c8e31ff5 First burst of 'color' pages (#335)
* Add 'color sensor' api topics

* Last set of edits/adds
2018-02-21 14:03:55 -08:00
Peli de Halleux
6613607503
Make it comm lesson (#331)
* integrating lego lesson

* fixed link

* adding various solutions

* updatring to 3.4.6

* using play sound effect until done

* revert pxtversion

* fixing link
2018-02-21 06:43:53 -08:00
Galen Nickel
3a67190914
Add some 'infrared' api docs (#326)
* Add some 'infrared' api docs

* Fix display messages

* Change discussion of distance to relative

* Include motor speed note
2018-02-20 10:38:41 -08:00
Peli de Halleux
fad4ca98db
renaming 'set speed' to 'run' (#327) 2018-02-19 07:35:08 -08:00
Peli de Halleux
472ea170d0 fixing default light 2018-02-15 13:49:04 -08:00
Peli de Halleux
daa88b299d replacing loops.pause -> pause, loops.forever -> forever 2018-02-14 16:05:31 -08:00
Peli de Halleux
94db31beb7 bring back the shims 2018-02-14 10:56:50 -08:00
Peli de Halleux
523c507c35
Projectupdate1 (#325)
* integrating test lesson from lego

* adding side card annotations
2018-02-14 08:56:12 -08:00
Peli de Halleux
224e9c54f0
color dropdown for color sensor (#324) 2018-02-13 10:44:46 -08:00
Richard Knoll
f3f33828f3 Fixed the dropdown for colors (#323) 2018-02-12 21:23:16 -08:00
Galen Nickel
7bd2192a0a Fill in some ultrasonic sensor topics (#321)
* Fill in some ultrasonic sensor topics

* Busted link

* Adjust those sea also links

* Busted snippets
2018-02-11 09:01:46 -08:00
Galen Nickel
6f539de2d2 Touch sensor doc fill-in (#320) 2018-02-09 18:17:12 -08:00
Peli de Halleux
2f6ad3110a
motor blocks with optional args (#290)
* motor blocks with optional args

* updated signatures

* added toggle mode

* adding annotations
2018-02-09 10:25:39 -08:00
Galen Nickel
d8589ea98c Discussion note for gyro precsion (#317)
* Discussion note for gyro precsion

* Wrong sig
2018-02-08 15:06:08 -08:00
Galen Nickel
b73696e918 Gyro sensor topics (#311) 2018-02-08 09:35:47 -08:00
Peli de Halleux
74ca722aac updated IR arts 2018-02-07 09:53:58 -08:00
Peli de Halleux
2cce2a39b8 updated colors for motor/math 2018-02-07 01:42:16 -08:00
Peli de Halleux
fd9d118fa4
reversed => Inverted (#308)
* renaming "setReversed" to "setInverted" to match LabView

* fixing samples

* typo
2018-02-06 23:18:36 -08:00
Peli de Halleux
e94ac6f6f1
renaming brick.setLight to brick.setStatusLight (#307)
* renaming brick.setLight to brick.setStatusLight

* updated docs
2018-02-06 22:18:39 -08:00
Galen Nickel
88c58b4e76 First set of 'motors' topics (#305)
* Start of 'motors' topics

* Draft the 'motor motion' side doc

* Add / update more topics

* Last blast of edits

* Capture some more edits

* Put in movement and steering details
2018-02-06 19:43:50 -08:00
Peli de Halleux
e58ec06e91
IR button indexing fixes (#303)
* IR remote id fixes

* hiding private api

* fixing indexing of buttons
2018-02-05 15:11:11 -08:00
Peli de Halleux
69fcb7407a
Simulator support for remote (#302)
* fixing up state

* upgrading ir simulator

* displaying remote

* updated infrared svg
2018-02-02 13:38:54 -08:00
Peli de Halleux
ba47fb0589
Support for remote control buttons (#300)
* refactor beacon function inside IR sensor

* towards sim support

* channel labels

* reverting to singletons

* hiding unused apis

* lazy allocation of button instances

* tracking button state

* hook up the state
2018-02-02 09:48:27 -08:00
Peli de Halleux
f36e14fe69 renaming remote button names 2018-02-01 22:33:05 -08:00
Peli de Halleux
89a82b54dc
Ir proximity in simulator (#299)
* support for IR proximity

* fixing build issue

* missing break

* remove auto-start of sensor

* setting mode on onEvent

* flooring slider value

* bump up proximity

* fixing threshold blocks
2018-02-01 22:03:01 -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
d548dfb578
moving print ports to examples (#288) 2018-01-31 08:44:58 -08:00
Peli de Halleux
ea956f1a73
Buttons rename (#287)
* renaming up/down/click to released/pressed/bump

* missing images

* fixing signature issue

* updated strings

* white lego logo
2018-01-31 08:28:00 -08:00
Peli de Halleux
fcf91caeb4
Zoom screen (#285)
* always start with full brick layout

* adding 'on start' to template

* render entire board when selected

* zoom brick when clicking on screen

* resize when zooming

* toggle zooming of the brick

* inject close icon when selected

* fix toggling
2018-01-30 22:22:21 -08:00
Galen Nickel
822227eb48 Brick ref topics 02 (#283)
* Add brick button topics

* Add the rest of the brick api
2018-01-30 20:58:18 -08:00
Galen Nickel
4f70d341e4 Start on the 'brick' api topics (#280)
* Start on the 'brick' api topics

* Add the delay to clear screen example

* Better output for clearsceen example
2018-01-30 17:02:22 -08:00
Peli de Halleux
e06659ab4c
removing group icons (#282) 2018-01-30 16:40:08 -08:00
Peli de Halleux
3d73f193a8
fix for #260 (#279) 2018-01-30 16:14:54 -08:00
Peli de Halleux
a71dee2923
rebuild for sampling (#261)
* rebuild for sampling

* bump pxt
2018-01-30 16:01:12 -08:00
Peli de Halleux
8aa47f3d1e
updated chassis (#250) 2018-01-30 08:49:10 -08:00
Peli de Halleux
188d5b3aa7 threshold query api 2018-01-30 08:27:23 -08:00
Peli de Halleux
16c67f0e30
Refactoring datalog in common packages (#249)
* using datalog from common packages

* upgrading common package link

* updated block signatures

* more docs
2018-01-29 19:46:54 -08:00
Peli de Halleux
21deb45728 fixing release fiber 2018-01-29 13:26:31 -08:00
Peli de Halleux
3f50b5c39a updated pxt references + hero banner 2018-01-29 11:20:34 -08:00
Peli de Halleux
387effbdd0 upgraded to run in parallel 2018-01-23 14:52:41 -08:00
Peli de Halleux
bf6a932e5f
Color calibration (#245)
* better handling of thresholds, color calibration strategy

* updating calibration parameters
2018-01-19 13:11:11 -08:00
Peli de Halleux
23bb316403 settle robot once brake is applied 2018-01-18 21:28:00 -08:00
Peli de Halleux
db4ed6daf3 fixing a bunch of snippets 2018-01-18 16:43:16 -08:00
Peli de Halleux
a60427e2cf
using audio context manager function (#243)
* using audio context manager function

* updated pxt reference

* trigger build
2018-01-18 13:53:33 -08:00
Peli de Halleux
efd6718ea3 converted lesson to tutorial 2018-01-18 12:09:43 -08:00
Peli de Halleux
057a1d66dc
PID support (#242)
* updated block definitions

* updated dependency on common packages
2018-01-18 10:34:06 -08:00
Peli de Halleux
e50c88008a updated gyrobox 2018-01-16 17:05:57 -08:00
Peli de Halleux
f057964a50 pausing until sound is done in mood 2018-01-16 16:44:32 -08:00
Peli de Halleux
a4ebf4c746 moving moods in separate namespace 2018-01-16 16:21:02 -08:00
Peli de Halleux
ad2e82060d removing BrickLight blockIdenity notations 2018-01-16 15:59:40 -08:00
Peli de Halleux
d1bb19e30e adding a mood block (image+sound+light) 2018-01-16 14:52:49 -08:00
Peli de Halleux
e1f623a94d Added description to timers 2018-01-15 03:41:14 -08:00
Peli de Halleux
cb5f9648f5 fixed sound name 2018-01-14 19:49:40 -08:00
Peli de Halleux
0b763978f2
gyro boy improvements (#236)
gyro boy improvements
2018-01-13 08:31:10 -08:00
Peli de Halleux
fc6fb0811f
Timers (#235)
* adding timer support

* updates strings
2018-01-13 00:00:55 -08:00
Sam El-Husseini
751ea1494b motor slider fixes and fix motor output in vm 2018-01-12 13:33:25 -08:00
Peli de Halleux
21195e4abf
Datalog (#233)
* support for custom csv separator

* simple datalog frameowrk

* api strings

* hide setfile

* storage fixes

* log seconds, not milliseconds
2018-01-11 22:53:28 -08:00
Peli de Halleux
c992100a38 added option to append CSV headers 2018-01-11 21:36:43 -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
3815d2fd3b
simplifiying brick light api (#231) 2018-01-11 13:43:11 -08:00
Peli de Halleux
1453b7e0a3 gyro reset fix 2018-01-11 11:17:23 -08:00
Peli de Halleux
6fb5c54280 fix build break 2018-01-11 08:55:31 -08:00
Peli de Halleux
9d5ca35e83 fix battery encoding 2018-01-11 08:47:09 -08:00
Peli de Halleux
893dd0f9c4 rename "enter..." to "button enter" 2018-01-11 08:28:25 -08:00
Peli de Halleux
c3419c0b74
support for unregulated motors (#227) 2018-01-10 23:34:27 -08:00
Peli de Halleux
a4164470d8 updated api to align with labview 2018-01-10 22:29:35 -08:00
Peli de Halleux
e61dffff03 fixing threshold 2018-01-10 11:45:08 -08:00
Peli de Halleux
b9f5096480 pause until motor measured move is done 2018-01-10 11:29:27 -08:00
Peli de Halleux
9912d68c8b fixing chassis 2018-01-10 11:14:25 -08:00
Peli de Halleux
951b9be6e4 fixing motors 2018-01-10 11:14:18 -08:00
Peli de Halleux
ce3383f1b7
Turn ratio field editor (#225)
* Turn ratio field editor (initial draft)

* Add field turn ratio editor

* Fix arrow rotation

* Fix left and right direction, remove unnecessary SVG circles.

* Update UI a little. add marker.

* updated math for turnratio angle

* slightly cuter

* cleanup

* consistent naming

* more cleanup

* fixing motor node issue

* updated package version
2018-01-09 22:05:26 -08:00
Peli de Halleux
5ed0135124
cleaning up images (#223)
* cleaning up images

* extra comma
2018-01-09 12:51:44 -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
b5ad898c9e
Screentweak (#214)
* adding pid

* hiding functions

* precision of value
2018-01-08 15:00:00 -08:00
Peli de Halleux
d61a63f70a avoid overlaps in port view 2018-01-08 09:08:59 -08:00
Peli de Halleux
4207bd06c0 removing microbit font 2018-01-08 08:53:03 -08:00
Peli de Halleux
f77bf165eb updates strings 2018-01-07 20:51:48 -08:00
Peli de Halleux
4880d9ea5b Merge branch 'master' of https://github.com/microsoft/pxt-ev3 2018-01-07 20:45:56 -08:00
Peli de Halleux
ab4fb019f9 more changes to "print" 2018-01-07 20:45:48 -08:00
Peli de Halleux
0f2bda2496 shuffling motor blocks 2018-01-07 20:33:02 -08:00
Sam El-Husseini
44386be3c7
Merge pull request #185 from Microsoft/printlineinverted
invert arguments in print line
2018-01-07 12:14:16 -08:00
Peli de Halleux
64389a7689 more annotations 2018-01-07 10:06:02 -08:00
Peli de Halleux
f77778ef85
Merge branch 'master' into speedfield 2018-01-07 09:59:11 -08:00
Peli de Halleux
7d01823caf remove stopAllMotors on escape key 2018-01-07 09:58:08 -08:00
Michał Moskal
b3f9a4c92f Make sure we stop motors on exit (#199) 2018-01-07 07:54:40 -08:00
Sam El-Husseini
7fe8580de8 Add brick buttons field editor (#202)
* Add brick buttons field editor

* add hover title text
2018-01-07 07:52:07 -08:00
Sam El-Husseini
c70d6fe01a Remove unnecessary extra 'light' text in block pauseUntilLight (#203) 2018-01-07 00:12:29 -08:00