Sam El-Husseini
8357372fb5
Update to make it more like a crank
2018-01-10 13:47:39 -08:00
Sam El-Husseini
aa8635c4e7
Always use the motor slider control
2018-01-10 10:00:48 -08:00
Sam El-Husseini
4e4f5495da
Merge branch 'master' into motorslider
2018-01-10 09:56:59 -08:00
Peli de Halleux
ce3383f1b7
Turn ratio field editor ( #225 )
...
* Turn ratio field editor (initial draft)
* Add field turn ratio editor
* Fix arrow rotation
* Fix left and right direction, remove unnecessary SVG circles.
* Update UI a little. add marker.
* updated math for turnratio angle
* slightly cuter
* cleanup
* consistent naming
* more cleanup
* fixing motor node issue
* updated package version
2018-01-09 22:05:26 -08:00
Sam El-Husseini
50f6c77fdb
Fix port labels in the simulator. Fixes #219
2018-01-09 14:43:01 -08:00
Sam El-Husseini
9890f2340a
Add no-drag class and set on synced motor labels. Fixes #213 ( #221 )
2018-01-09 12:04:37 -08:00
Peli de Halleux
9ae6482f28
fixing isReady query on motors ( #197 )
2018-01-06 00:00:04 -08:00
Sam El-Husseini
50f6b04ed4
Re-implement Math.sign so it works on IE 11 (not supported). Square shaped corners for Flyout
2018-01-05 17:35:25 -08:00
Sam El-Husseini
76ff39605a
Remove synced motor label when motors are no longer in sync ( #189 )
2018-01-05 10:54:42 -08:00
Peli de Halleux
aa06fd344a
store synched motor info always ( #187 )
2018-01-05 08:40:49 -08:00
Sam El-Husseini
de91dc6ab7
Handle the case where multiple motors or multiple sensors are connected to the same port. ( #181 )
2018-01-04 21:57:01 -08:00
Peli de Halleux
1e460eef9e
basic reading of battery level ( #182 )
2018-01-04 21:50:13 -08:00
Sam El-Husseini
f3f87331c8
nit
2018-01-04 14:09:10 -08:00
Sam El-Husseini
5aef77ccc6
Generalizing motorView for both medium and large motor views. Initial work towards synced motor views. Adding sync label for controller motor.
2018-01-04 14:03:50 -08:00
Caitlin Hennessy
39ba9b81af
Initial work
2018-01-04 12:20:31 -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
955a2c9757
Better fix for null dereferencing issue. Fix initial Color sensor mode (default).
2018-01-02 22:51:12 -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
3c4c38eb59
Fix null dereferencing issue. Fix sensor mode changed not clearing cached control.
2018-01-02 22:22:14 -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
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
f30eac41e9
Persist selected state of controls across simulator restarts
2017-12-28 11:17:18 -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
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
8be4bb11d8
Fix resizing in controls to work for all sizes including full screen
2017-12-27 16:30:42 -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
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
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
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
Peli de Halleux
aa031036ee
updating motor state in game loop
2017-12-19 16:03:26 -08:00
Sam El-Husseini
1ab7ae6cfa
minor PR feedback
2017-12-19 14:57:28 -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