Commit Graph

438 Commits

Author SHA1 Message Date
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