Evelyn Eastmond
6444cf071d
Feature/critical extension fixes ( #1383 )
...
* Resolves - Turning micro bit power off doesn't disconnect microbit #1366 .
* Resolves EV3 motor block causes distance to return 0 #1363 .
* Fixing linting.
* Tweak micro:bit auto-disconnect timeout.
2018-07-24 11:08:48 -04:00
Eric Rosenbaum
f5066626e5
Use sprite’s soundbank to play text2speech sound ( #1388 )
...
* Use sprite’s soundbank to play sound
* Add todo comment
2018-07-23 11:16:00 -04:00
picklesrus
db0597ada5
Get rid of some config that Safari cannot handle and was part of the older getUserMedia. ( #1297 )
2018-07-23 10:45:27 -04:00
Paul Kaplan
4570184c6b
Fix linting
2018-07-19 16:41:07 -04:00
Paul Kaplan
a762892879
Do not send coast if another motor command has been sent
2018-07-19 15:46:01 -04:00
Andrew Sliwinski
cf2b858d43
Change 'video motion' to 'video sensing'. See LLK/scratch-gui#2621
2018-07-18 10:11:08 -04:00
Kreg Hanning
9524db5609
Only send matrix data if input !== null ( #1356 )
2018-07-17 16:12:38 -04:00
Kreg Hanning
2af04c43ea
Ignore display command with blank string ( #1355 )
2018-07-17 16:09:12 -04:00
Evelyn Eastmond
c4ee7065a2
EV3/Microbit critical fixes for code freeze ( #1354 )
...
* Resolves - BLESession and BTSession should emit PERIPHERAL_SCAN_TIMEOUT #1348 .
* Resolves - BLESession should handle 'could not find service' error #1350 .
* Resolves - BTSession should handle 'no peripheral connected' error #1351 .
* Fixing a typo that caused device scan timeout bugs.
* Resolves - Add casting and clamping throughout the EV3 extension #1352 .
* Fixing a linting error.
* Further fixes for issue #1351 .
2018-07-17 16:03:05 -04:00
Eric Rosenbaum
b8ea846eed
Use 2x png for microbit icon ( #1346 )
...
* Use file-loader for png
* Use 2x png for microbit block icon
* Load png via data URI
* JSDOC
2018-07-17 09:21:44 -04:00
picklesrus
bf22cdbf13
Make the end listening sound only play one time even if multiple bloc… ( #1232 )
...
* Make the end listening sound only play one time even if multiple blocks stop listening at the same time.
* Update for new sound API
2018-07-15 15:04:27 -04:00
picklesrus
ed78231fe9
Turn speech block text into i18n messages. ( #1224 )
...
* Turn speech block text into i18n messages.
* Update message descriptions and other code review comments.
* fix typo
* Add bit about not translating Google to message description.
* Change default when I hear text
2018-07-15 14:34:24 -04:00
picklesrus
bd83d66bff
Update speech extension to use new audio engine api since the old version no longer exists. ( #1272 )
2018-07-15 14:23:14 -04:00
Evelyn Eastmond
133ade7f48
EV3 port and sensor polling updates ( #1342 )
...
* Add motor rotate, without coasting yet. Fixed some todos.
* Removing logging.
* Implemented motor set position, motor set power, and beep note for time blocks. Changed labels on motor blocks. Tracking motor speeds for all ports.
* Fixing motor ports to 0-3 and then output bit field when sending commands.
* Added stop all motors with stop button. Added port masking function. Some cleanup. Moved beeping up an octave.
* Combine device list polling and sensor polling into a single timeout call, device list requested every 20 times.
* Don't reset sensors on device update. Don't store undefined sensor/motor values. Some comments.
* Fixing some linting.
2018-07-13 13:14:53 -04:00
Andrew Sliwinski
c69a59575d
Merge pull request #1316 from ericrosenbaum/feature/language-reporter
...
Change translate extension reporter block text to 'language'
2018-07-13 08:41:33 -04:00
Paul Kaplan
ec0ac19772
Merge pull request #1332 from ericrosenbaum/bugfix/microbit-bail-out
...
Microbit write bails out if not connected
2018-07-13 08:32:58 -04:00
Eric Rosenbaum
eaeefdcfe7
Change extension name to micro:bit
2018-07-12 15:26:32 -04:00
Eric Rosenbaum
ea1bb602f9
Microbit display commands yield for a tick ( #1331 )
...
* Microbit display commands yield for a tick
* JSDOC fixes
2018-07-12 15:19:28 -04:00
Eric Rosenbaum
a7f4fc2212
Microbit write bails out if not connected
2018-07-12 14:41:28 -04:00
Kreg Hanning
06c4e5516f
Add micro:bit matrix field block ( #1314 )
...
* Add micro:bit matrix field block
* Remove debug logs
* Remove rowcol menu
* Fix lint errors
2018-07-11 16:13:49 -04:00
Paul Kaplan
31cd204117
Add semicolons...
2018-07-11 11:47:29 -04:00
Paul Kaplan
eecca39a97
Update microbit block and menu icons using the new ones
2018-07-11 11:20:19 -04:00
Eric Rosenbaum
0cc219fa0a
Change ‘viewer language’ reporter to ‘language’
2018-07-10 15:10:27 -04:00
picklesrus
e156b0536c
Fix name of translate extension and add the logo back. Basically fixes #1029 ( #1313 )
2018-07-10 10:25:49 -04:00
Andrew Sliwinski
c9d71488c3
Merge pull request #1311 from thisandagain/feature/polly
...
Update text-to-speech extension to use new audio engine
2018-07-10 08:30:52 -04:00
Andrew Sliwinski
ace5ae40d0
Update text-to-speech extension to use new audio engine
2018-07-09 14:40:13 -04:00
Evelyn Eastmond
394b57ebb6
Removing some logging.
2018-07-09 14:31:09 -04:00
Evelyn Eastmond
f511730602
Fix motor turn for ports C/D. Zero out sensors and motor values on disconnect.
2018-07-09 14:31:09 -04:00
Evelyn Eastmond
a220829007
Changes to EV3 extension: motor reporter 0-360, distance reporter rounded to tenths, motors coasting after turn for time commands, buttons distinguishable by port, and motor reporters for ports C/D fixed.
2018-07-09 14:31:09 -04:00
Eric Rosenbaum
b30092e890
Motor for time opcodes return promise to wait
2018-07-09 13:49:41 -04:00
Eric Rosenbaum
a78866f99a
Add EV3 block icon
2018-07-09 13:49:41 -04:00
Eric Rosenbaum
2cfc6d601a
Fix required module name to lowercase
2018-07-09 13:49:41 -04:00
Evelyn Eastmond
190f4b5796
Fixing linting errors.
2018-07-09 13:49:41 -04:00
Eric Rosenbaum
2ec894b5a7
Get motor positions for reporter block
2018-07-09 13:49:41 -04:00
Evelyn Eastmond
b9ea6005f8
Clearing ports on disconnect.
2018-07-09 13:49:41 -04:00
Evelyn Eastmond
cf98e35564
EV3 blocks progress: distance, brightness, button, motor position. Only single button for now, distance needs threshold at 0.
2018-07-09 13:49:41 -04:00
Eric Rosenbaum
387f03b08c
Add disconnect and getPeripheralIsConnected to EV3 extension
2018-07-09 13:49:41 -04:00
Eric Rosenbaum
6f5ff31eb3
Add disconnectExtensionSession and getPeripheralIsConnected
2018-07-09 13:49:41 -04:00
Evelyn Eastmond
613a9f96c3
Adding initial test polling for EV3 distance sensor data.
2018-07-09 13:49:41 -04:00
Evelyn Eastmond
0280966a61
Connected Ev3 extension to device connection modals.
2018-07-09 13:49:40 -04:00
Evelyn Eastmond
d1d9b38bf9
Added all EV3 block commands/reporters/booleans to Ev3 device class as stubbed functions.
2018-07-09 13:49:40 -04:00
Evelyn Eastmond
42e0576549
All EV3 blocks stubbed out with console logs for now.
2018-07-09 13:49:40 -04:00
Evelyn Eastmond
2d8ad05a78
Adding Ev3 extension with three test blocks to latest device-connection work, auto-connecting to device for now.
2018-07-09 13:49:40 -04:00
Evelyn Eastmond
4332725d33
Adding more errors based on web socket onerror and onclose. Moved extension runtime mapping of devices back to MicroBit class.
2018-07-09 13:41:57 -04:00
Evelyn Eastmond
73cc149783
Adding promises to return on BLE write. Some refactoring.
2018-07-09 13:41:57 -04:00
Evelyn Eastmond
730b798686
Extension/runtime protocol refactoring.
2018-07-09 13:41:57 -04:00
Eric Rosenbaum
d778ddf00e
wip
2018-07-09 13:41:57 -04:00
Michael "Z" Goddard
0dffc65ce9
stop drum immediately if it is still starting ( #1266 )
2018-06-25 15:31:35 -04:00
Ray Schamp
9afe401dca
Revert "Revert #1260 , #1258 , #1239 "
...
This reverts commit 28f90648b0
.
2018-06-22 09:33:08 -04:00
Ray Schamp
28f90648b0
Revert #1260 , #1258 , #1239
...
This reverts commits
c268bbae47
61dacfc915
30b8cb8eb1
2018-06-22 09:30:17 -04:00