Commit Graph

28 Commits

Author SHA1 Message Date
Caitlin Hennessy
22ce840181 Widget fixes (#316)
* Use bBox in motor slider

* Use setRate instead of setAngle in gyro widget
2018-02-08 16:55:23 -08:00
Peli de Halleux
74ca722aac updated IR arts 2018-02-07 09:53:58 -08:00
Peli de Halleux
538493369b adding button class on remote buttons 2018-02-05 13:57:24 -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
Caitlin Hennessy
4dfada877c Implement simulator sensor for ambient and reflected light (#301)
* Initial work

* More stuff

* Stuff

* Stuff

* Hardcoded dashed line

* High and low thresholds

* Use rect bBox

* Add back grabbing hand

* Threshold placement

* Cleanup

* Don't need defs

* pxtarget

* Remove dashed lines for now
2018-02-02 13:24:50 -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
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
Peli de Halleux
a0907e7229
fixing button down issues on touch/mouse (#294) 2018-01-31 14:21:17 -08:00
Peli de Halleux
8a331648d6
Field editor fixes in Firefox (#284)
* fixing speed field picker

* switching to open sans

* alignment-baseline not support in FF
2018-01-30 20:40:41 -08:00
Sam El-Husseini
751ea1494b motor slider fixes and fix motor output in vm 2018-01-12 13:33:25 -08:00
Sam El-Husseini
e93e659e8a nit: remove unnecessary comment 2018-01-10 13:51:35 -08:00
Sam El-Husseini
8357372fb5 Update to make it more like a crank 2018-01-10 13:47:39 -08:00
Sam El-Husseini
4e4f5495da Merge branch 'master' into motorslider 2018-01-10 09:56:59 -08:00
Sam El-Husseini
b0c54e84e6 Update Color sensor control (colorGrid) to match spec 2018-01-02 22:29:12 -08:00
Sam El-Husseini
16b9a5027d Add rotate icons 2017-12-29 11:39:06 -08:00
Sam El-Husseini
cbe68b3199 Add motor slider control 2017-12-28 13:23:30 -08:00
Sam El-Husseini
a9a9a89811 Better fonts and better alignment of motor reporter control 2017-12-27 20:43:39 -08:00
Sam El-Husseini
7e2251d8ac Fix negative motor reporting 2017-12-27 20:35:36 -08:00
Sam El-Husseini
0da175a8cd Add motor reporter control 2017-12-27 17:06:23 -08:00
Sam El-Husseini
8be4bb11d8 Fix resizing in controls to work for all sizes including full screen 2017-12-27 16:30:42 -08:00
Sam El-Husseini
85c14bb05a Fix rotation and distance slider update state 2017-12-26 23:23:26 -08:00
Sam El-Husseini
180f32f25c Simulator refactoring to support better resizing of modules and controls 2017-12-22 14:00:23 -08:00
Caitlin Hennessy
703bd01931 Increase stroke width 2017-12-20 16:25:26 -08:00
Caitlin Hennessy
3c5dae8c7b Small changes 2017-12-20 15:11:44 -08:00
Caitlin Hennessy
85345969d3 Initial work 2017-12-20 14:58:41 -08:00
Sam El-Husseini
ef5fa9ae82 Minor fix to killing the animation when the sim is killed 2017-12-19 14:55:43 -08:00
Sam El-Husseini
0529759a80 Fix ultrasonic value to use cm instead of 0.1 cm units (#110)
* Fix simulator

* use 250 instead of 255
2017-12-18 20:30:56 -08:00
Sam El-Husseini
6320379d02 Initial sim implementation 2017-12-18 13:04:17 -08:00