Commit Graph

515 Commits

Author SHA1 Message Date
Peli de Halleux
8536126e23
removing tacho (#382) 2018-03-28 09:04:28 -07:00
Peli de Halleux
550528c695
bringing back show ports (#377)
* bringing back show ports

* added firmware links in docs

* updated color rendering

* better rendering of touch/ultra/ir

* better data per sensor
2018-03-28 08:50:14 -07:00
Peli de Halleux
06f66571cf
Upgrading to pxt 3.5.4 (#367)
* pxt/common updates

* added game lib

* removing gamelib
2018-03-16 14:32:11 -07:00
Sam El-Husseini
d5b55585cd Remove redundant color word in the color blocks, refer to the color sensor with 'color sensor' (#356) 2018-03-02 09:01:18 -07:00
Peli de Halleux
d4b3ebc2e4
Missing updatestats (#351)
* aligning screeninit with pxt32

* remove shim

* missing shim

* missing shim
2018-02-26 21:25:04 -08: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
Sam El-Husseini
54576ae77a
Fix authoring of the mood field editor. (#347) 2018-02-26 13:52:26 -08:00
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
Sam El-Husseini
a79704fecc Decompilation and minor PR feedback 2018-01-06 17:16:08 -08:00
Sam El-Husseini
6a1b560101 Fix default 2018-01-06 14:40:09 -08:00
Sam El-Husseini
5e21f9ab6d Add a speed field editor 2018-01-06 14:25:50 -08:00
Peli de Halleux
9ae6482f28
fixing isReady query on motors (#197) 2018-01-06 00:00:04 -08:00
Peli de Halleux
77fb64043d stop all motors when pressing escape 2018-01-05 22:56:11 -08:00
Peli de Halleux
c814728354 pdated ultrasonic default 2018-01-05 21:29:52 -08:00
Peli de Halleux
931987468a light the way activities 2018-01-05 19:14:55 -08:00
Peli de Halleux
ea46f1cbc7
3 activies from curriculum (#194)
* 3 activies from curriculum

* fixing style
2018-01-05 18:24:23 -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
Sam El-Husseini
e938f354fd Add console icon and set color. Fixes #152 2018-01-05 10:38:26 -08:00
Michal Moskal
4039a85bc9 Make sure the ESC button always stops the program 2018-01-05 16:17:33 +00:00
Peli de Halleux
a9be582f90
gyro calibration done right (#186) 2018-01-04 23:21:19 -08:00
Peli de Halleux
ac428a3936 invert arguments in print line 2018-01-04 22:13:17 -08:00
Peli de Halleux
1e460eef9e
basic reading of battery level (#182) 2018-01-04 21:50:13 -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
Caitlin Hennessy
39ba9b81af Initial work 2018-01-04 12:20:31 -08:00
Peli de Halleux
ba0eb93b0f
use common packages tests implementation (#171) 2018-01-04 09:23:28 -08:00
Sam El-Husseini
95e47a0b25
Merge pull request #169 from Microsoft/screenimgeditor
Initial screen field editor.
2018-01-04 08:37:56 -08:00
Peli de Halleux
b7cdc7d0fe moving blocks around 2018-01-04 08:25:02 -08:00
Sam El-Husseini
dde5a35cd9 Initial screen field editor. Adding Lego designer assets to legoresources 2018-01-03 17:20:35 -08:00
Sam El-Husseini
d6d8b0655b Merge branch 'master' into field_ports 2018-01-03 15:12:35 -08:00
Sam El-Husseini
c916664ae7 Fix download and save icons. 2018-01-03 15:02:24 -08:00
Sam El-Husseini
4b836ede1b
Merge pull request #167 from Microsoft/blockfixes
Block layout fixes.
2018-01-03 14:22:18 -08:00
Sam El-Husseini
52fdaeec99 remove colon from print line block 2018-01-03 14:22:00 -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
Sam El-Husseini
4d671f6cb0 Block layout fixes. Fixes to screen blocks. Adding print line API. 2018-01-03 14:00:08 -08:00
Sam El-Husseini
e0e5c95989 Merge branch 'master' into icon_font 2018-01-03 11:56:28 -08:00
Sam El-Husseini
2b5f702bb6 Fix null ref for this when _update is called. 2018-01-03 11:20:37 -08:00
Peli de Halleux
1c81ecd23f send ports data to console 2018-01-03 08:24:54 -08:00
Peli de Halleux
4d223374b5
Differential drive (#164)
* clear sync speed cmd

* differential drive model

* use cm/s

* fixed aggressive clearing of motor sync command

* better computation of turn artio

* improved robot dimensions

* moving block up

* hanbdle infinite case

* correct handling of inifinte time/step

* better stop handling
2018-01-03 00:27:05 -08:00
Sam El-Husseini
eb11d7926c Fix null dereferencing issue for buttons 2018-01-02 23:18:54 -08:00
Sam El-Husseini
955a2c9757 Better fix for null dereferencing issue. Fix initial Color sensor mode (default). 2018-01-02 22:51:12 -08:00
Sam El-Husseini
3c4c38eb59 Fix null dereferencing issue. Fix sensor mode changed not clearing cached control. 2018-01-02 22:22:14 -08:00
Peli de Halleux
c35dbdd38f
Motor sync support in simulator (#159)
* parse sync motor command

* better sim support

* sync support

* fixing tank
2018-01-02 16:20:00 -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
Sam El-Husseini
d7f46c0fb5 Hide screen picker properly from typescript 2017-12-28 11:15:53 -08:00
Sam El-Husseini
a1b059171b Add a output port field editor 2017-12-24 17:46:58 -08:00
Peli de Halleux
93fd8c8c78 removing more icons 2017-12-19 15:10:13 -08:00
Sam El-Husseini
1765ca2d35
Merge pull request #116 from Microsoft/revert_screenopt
Use game loop instead of animation queue
2017-12-19 14:58:37 -08:00
Caitlin Hennessy
2c73bfc813 Set high/low to 20/5 2017-12-19 14:40:30 -08:00
Peli de Halleux
d78d9c8686
basic ports view (#115)
* basic ports view

* slight adjustement of rendering
2017-12-19 14:26:57 -08:00