Commit Graph

220 Commits

Author SHA1 Message Date
Peli de Halleux
1c81ecd23f send ports data to console 2018-01-03 08:24:54 -08:00
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
eb11d7926c Fix null dereferencing issue for buttons 2018-01-02 23:18:54 -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
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
d7f46c0fb5 Hide screen picker properly from typescript 2017-12-28 11:15:53 -08:00
Peli de Halleux
93fd8c8c78 removing more icons 2017-12-19 15:10:13 -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
Peli de Halleux
eac3e183c3 better test support 2017-12-19 13:10:40 -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
Peli de Halleux
43a9d03231 fixing pauseUntilReady signature 2017-12-18 14:45:44 -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
5be3b31e00 Merge branch 'master' into initial_sim 2017-12-18 13:21:35 -08:00
Sam El-Husseini
6320379d02 Initial sim implementation 2017-12-18 13:04:17 -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
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
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
Peli de Halleux
13f8659b98
Merge pull request #97 from Microsoft/startup_delay
Startup delay for sensors to get values
2017-12-15 07:05:21 -08:00
Michal Moskal
41d5052583 Run sensor "change handler" also with the initial value 2017-12-15 11:54:53 +00:00
Michal Moskal
07ddec343a Formatting 2017-12-15 11:30:15 +00:00
Michal Moskal
5a9a5e997a Error reporting fixes 2017-12-15 11:29:18 +00:00
Michal Moskal
55b6549999 Implement getSerialNumber (based on BT MAC) 2017-12-15 11:25:23 +00:00
Peli de Halleux
fcdc350e40 more motor work 2017-12-14 17:01:23 -08:00
Peli de Halleux
9dedbeae1b updated parameters 2017-12-14 13:26:04 -08:00
Peli de Halleux
124d8a0fd8 tank support 2017-12-14 13:25:27 -08:00
Peli de Halleux
81fcbb6916 tweaks of blocks 2017-12-14 13:07:10 -08:00
Peli de Halleux
11a88a9d94 updated signatures 2017-12-13 23:00:37 -08:00
Peli de Halleux
92178f3371 bring back speed 2017-12-13 22:54:08 -08:00
Peli de Halleux
3c86ae286f more work on motors 2017-12-13 22:40:40 -08:00
Peli de Halleux
1b6d84a9b8 Merge branch 'master' into motorsync 2017-12-13 21:16:33 -08:00
Peli de Halleux
14f57f54bf
Merge pull request #87 from Microsoft/motor_fix_2
Motor data fix
2017-12-13 15:56:17 -08:00
Peli de Halleux
7ac63f038c
Merge pull request #84 from Microsoft/fix_image_attrs
Adding block identity
2017-12-13 15:55:36 -08:00
Peli de Halleux
da62d51615 Merge branch 'master' into motor_fix_2 2017-12-13 15:48:43 -08:00
Peli de Halleux
f1dcebdd88 Merge branch 'master' into fix_image_attrs 2017-12-13 15:48:09 -08:00
Peli de Halleux
1d35c78737 Merge branch 'master' into motorsync 2017-12-13 15:47:52 -08:00
Peli de Halleux
d17326ad7a Merge branch 'master' into waitUntiltopauseUntil 2017-12-13 15:47:27 -08:00
Peli de Halleux
4948a88833
Merge pull request #83 from Microsoft/new_ts_cleanup
New ts cleanup
2017-12-13 15:46:58 -08:00
Caitlin Hennessy
641d292c33 Clean commit for motor fix 2017-12-13 14:55:14 -08:00
Richard Knoll
6e42e816d3 Adding block identity 2017-12-13 10:42:49 -08:00
Richard Knoll
5678cf5df9 Fixing test file 2017-12-13 10:29:12 -08:00
Michal Moskal
67ec4accb9 Monitor memory usage and panic on over 8MB used 2017-12-13 15:28:52 +00:00
Peli de Halleux
113b42656c sync command working 2017-12-12 14:08:45 -08:00
Peli de Halleux
7557380722 adding sync command 2017-12-12 13:20:25 -08:00