Commit Graph

507 Commits

Author SHA1 Message Date
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
dd9cf9014f
Merge pull request #163 from Microsoft/fixnullderefbuttons
Fix null dereferencing issue for buttons
2018-01-02 23:19:55 -08:00
Sam El-Husseini
eb11d7926c Fix null dereferencing issue for buttons 2018-01-02 23:18:54 -08:00
Sam El-Husseini
609740dc48
Merge pull request #162 from Microsoft/moresensorfixes
Better fix for null dereferencing issue.
2018-01-02 22:51:45 -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
02838e6c30
Merge pull request #161 from Microsoft/colorgridfixes
Update Color sensor control (colorGrid) to match spec
2018-01-02 22:30:04 -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
b6644b7a23
Merge pull request #160 from Microsoft/sensorfixes
Sensor fixes. Fix race condition
2018-01-02 22:23:14 -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
81bfca4ed6 0.0.48 2018-01-02 16:20:30 -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
Sam El-Husseini
1bc93013e6 0.0.47 2018-01-02 14:51:00 -08:00
Sam El-Husseini
58148eb1c3 Square shaped corners for Blockly blocks and dropdowns. (#158) 2018-01-02 13:32:07 -08:00
Sam El-Husseini
bd765d49ee Add lego resources.AI 2018-01-02 12:59:48 -08:00
Sam El-Husseini
5d470fdcef
Merge pull request #143 from Microsoft/persistselected
Persist selected state of controls across simulator restarts
2017-12-29 14:02:50 -08:00
Sam El-Husseini
f30eac41e9 Persist selected state of controls across simulator restarts 2017-12-28 11:17:18 -08:00
Sam El-Husseini
d7f46c0fb5 Hide screen picker properly from typescript 2017-12-28 11:15:53 -08:00
Peli de Halleux
58384017f2 0.0.46 2017-12-28 09:08:27 -08:00
Peli de Halleux
01f7fe633c
Motorworks2 (#141)
* fixing polarity

* allocate motor on motorUsed only

* perform sub-step integration step for better precision
2017-12-28 09:07:57 -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
1903a6e347
Merge pull request #140 from Microsoft/motorreporters
Add motor reporter control
2017-12-27 20:32:53 -08:00
Sam El-Husseini
2fb75a2d83 Added todo 2017-12-27 17:07:50 -08:00
Sam El-Husseini
0da175a8cd Add motor reporter control 2017-12-27 17:06:23 -08:00
Peli de Halleux
f01370e4fd
Simulator support for motor commands (#137)
* support for "step" functions

* locale files

* enum issue

* fixing decoding of array

* implement clear count

* log unknown commands
2017-12-27 17:05:15 -08:00
Sam El-Husseini
751df2fe8c
Merge pull request #139 from Microsoft/colorandsliderresizefixes
Fix resizing in controls to work for all sizes including full screen
2017-12-27 16:31:20 -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
342e714ae2
Merge pull request #138 from Microsoft/updatemotorassets
Update motor SVG assets and connections
2017-12-27 14:48:50 -08:00
Sam El-Husseini
fb31b81f7e Update motor SVG assets and connections 2017-12-27 14:48:15 -08:00
Sam El-Husseini
8204995749 Fix wire view to match spec size of wires. 2017-12-26 23:28:29 -08:00
Sam El-Husseini
85c14bb05a Fix rotation and distance slider update state 2017-12-26 23:23:26 -08:00
Sam El-Husseini
c398a5a133 Update padding and fix wiring order 2017-12-26 23:19:04 -08:00
Sam El-Husseini
afaedaa0b2
Merge pull request #134 from Microsoft/fixflickering
Fix resizing flickering issue in the simulator
2017-12-24 16:19:36 -08:00
Sam El-Husseini
0aa41e9a64 Fix resizing flickering issue, remove flip animation on start, remove the need for a default height and width in the layout engine 2017-12-24 11:59:01 -08:00
Sam El-Husseini
88df2e14cb
Merge pull request #125 from Microsoft/sim_refactor_resize
Refactor sim for better resizing and support for multiple controls to be open
2017-12-22 14:01:35 -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
300a2c1476
Merge pull request #123 from Microsoft/gradient_circle
Gradient circle
2017-12-20 16:34:59 -08:00
Caitlin Hennessy
703bd01931 Increase stroke width 2017-12-20 16:25:26 -08:00
Sam El-Husseini
75a65eeab2 Add lego icons 2017-12-20 16:16:13 -08:00
Caitlin Hennessy
38a9f153f7 pxtarget 2017-12-20 15:15:12 -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
ac1e5d2846 Remove constant resize 2017-12-19 21:20:06 -08:00
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