Commit Graph

1464 Commits

Author SHA1 Message Date
Sam El-Husseini
11b4bbc07e Fix controls 2017-12-19 17:20:01 -08:00
Peli de Halleux
7f5b8aed99 more tweaking of angle encoding 2017-12-19 17:15:53 -08:00
Sam El-Husseini
c989e2fdab
Merge pull request #121 from Microsoft/motorphysics
Motor work
2017-12-19 17:07:15 -08:00
Sam El-Husseini
d3dcb5de85 Use setChangedState for touch and color sensors 2017-12-19 17:01:45 -08:00
Peli de Halleux
9cca35d49f encoding 32bit angle into data buffer 2017-12-19 16:54:44 -08:00
Peli de Halleux
7123bfecd3 removing cancel animation stuff 2017-12-19 16:21:14 -08:00
Peli de Halleux
c8ac770983 read motor state into lms_motor 2017-12-19 16:18:17 -08:00
Peli de Halleux
aa031036ee updating motor state in game loop 2017-12-19 16:03:26 -08:00
Peli de Halleux
a7d002d949 0.0.45 2017-12-19 15:10:32 -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
Sam El-Husseini
1ab7ae6cfa minor PR feedback 2017-12-19 14:57:28 -08:00
Caitlin Hennessy
3acf4e9ac5 More hardware tests (#119) 2017-12-19 14:55:48 -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
Caitlin Hennessy
e1f7a5b8cf
Merge pull request #118 from Microsoft/ambient_light_threshold
Set high/low to 20/5 for ambient light mode
2017-12-19 14:42:54 -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
Sam El-Husseini
2157af3e63 Using game loop instead of queueAnimationUpdate 2017-12-19 14:20:35 -08:00
Peli de Halleux
eac3e183c3 better test support 2017-12-19 13:10:40 -08:00
Sam El-Husseini
785ddff706 Reverting screen optimization to use SetInterval and didChange 2017-12-19 12:53:12 -08:00
Peli de Halleux
e07d6e3a31 0.0.44 2017-12-19 11:53:50 -08:00
Peli de Halleux
763ad3f763 0.0.43 2017-12-19 11:38:02 -08:00
Peli de Halleux
919a03951c
Removing icons (#114)
* removing icons

* added "pause for light"
2017-12-19 11:37:33 -08:00
Peli de Halleux
9e427898ae
added test framework (#113)
* added test framework

* added toString on motors

* enabling logs
2017-12-19 07:07:50 -08:00
Peli de Halleux
60bf3a17d3
a mini-console support with scroll up / down (#112)
* a mini-console support with scroll up / down

* fix compile error
2017-12-18 22:36:32 -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
Peli de Halleux
b07f157181 0.0.42 2017-12-18 18:24:46 -08:00
Sam El-Husseini
2f5f7d4133
Merge pull request #111 from Microsoft/scale_screen
Add tiny padding around the screen for the canvas.
2017-12-18 17:08:02 -08:00
Sam El-Husseini
e6e1dce59f Add tiny padding around the screen for the canvas. 2017-12-18 17:07:23 -08:00
Peli de Halleux
43a9d03231 fixing pauseUntilReady signature 2017-12-18 14:45:44 -08:00
Peli de Halleux
c0f6cd3651 test passing on hw 2017-12-18 14:31:17 -08:00
Peli de Halleux
f1445c6e89
Motor pause until ready (#108)
* adding command to pause until ready

* adding console API

* adding ready support for motors

* fix time output scale

* fixing angle
2017-12-18 14:13:38 -08:00
Sam El-Husseini
04275ee35c 0.0.41 2017-12-18 13:22:13 -08:00
Sam El-Husseini
f8d0594eca
Merge pull request #107 from Microsoft/initial_sim
Initial sim implementation
2017-12-18 13:21:48 -08:00
Sam El-Husseini
5be3b31e00 Merge branch 'master' into initial_sim 2017-12-18 13:21:35 -08:00
Sam El-Husseini
84c1079e50 Fix Safari bug. 2017-12-18 13:19:49 -08:00
Sam El-Husseini
6320379d02 Initial sim implementation 2017-12-18 13:04:17 -08:00
Peli de Halleux
b166f6034e storing test 2017-12-18 09:43:44 -08:00
Peli de Halleux
d07f672b28 fixing single motor set speed 2017-12-18 09:17:19 -08:00
Peli de Halleux
363e076f36 fixing motor compilation 2017-12-18 08:54:53 -08:00
Sam El-Husseini
8bf6f265f7
Merge pull request #105 from Microsoft/motorfixes
Motor fixes
2017-12-18 00:54:53 -08:00
Peli de Halleux
217958aec3 fix polarity 2017-12-17 23:19:38 -08:00
Peli de Halleux
367b1b0d1a properly setting multiple-motor options 2017-12-17 23:00:07 -08:00
Peli de Halleux
6836852122
refactoring motors wiht base class (#104) 2017-12-17 22:47:13 -08:00
Sam El-Husseini
944098b9f9 Minor refactor fix (#102)
* Minor fix to a refactor of motor output this.brake to this._brake

* No (_this) in global context

* Minor fix
2017-12-17 21:12:18 -08:00
Peli de Halleux
539cf3d73e 0.0.40 2017-12-15 14:30:51 -08:00
Peli de Halleux
4b3e7cfb7d bump pxt-core to 3.0.2, bump pxt-common-packages to 0.14.13, 2017-12-15 14:30:43 -08:00
Michał Moskal
b144744509 Add tsconfig.json for easier library editing (#96) 2017-12-15 14:29:31 -08:00
Caitlin Hennessy
e591bed6ad Add 'clear screen' block to brick category (#100) 2017-12-15 14:29:10 -08:00
Peli de Halleux
6a4e64eac0
Merge pull request #79 from Microsoft/motorsync
Motor sync block
2017-12-15 14:28:03 -08:00