Peli de Halleux
21025b5f83
better handling end of integration step
2018-06-20 22:03:48 -07:00
Peli de Halleux
e05e147d6a
fix for motor driver ( #716 )
2018-06-20 16:45:02 -07:00
Sam El-Husseini
7974f36c31
Fix tank and steer blocks in the simulator, making them ignore polarity just like labview ( #713 )
2018-06-20 16:10:59 -07:00
Peli de Halleux
7e58b9b699
Motor angle ( #559 )
...
* control angle with slider
* called changed state
* remove logging
2018-05-02 22:04:29 -07:00
Peli de Halleux
7c3d499109
fix dmesg duplicate definition issue ( #542 )
2018-04-25 16:45:26 -04:00
Michał Moskal
8ed79e7133
Swap X/y in images ( #528 )
...
* Swap X/Y in image encoding
* Fix PNG decoder
* Now really fix png
* reducing deps
* moving png.cpp into ev3
* bumped pxt
* updated shims
* fixing c++ compilation
* updated shims
* Fix pixel order
* update pxt
* Fix C++ image decoding
* Add expanded PNG images
* Generate E1 format images (in libs/ev3 run 'pxt buildsprites images')
* Go back to white background
* Remove PNG support
2018-04-19 12:08:16 -07:00
Sam El-Husseini
83700b4e14
Music field editor ( #529 )
...
Music fiele editor
2018-04-17 22:16:19 -07:00
Sam El-Husseini
e43837d358
Hide or remove logging ( #523 )
...
* Hide or remove logging
* Remote dmsg
2018-04-15 19:36:10 -07:00
Peli de Halleux
4627328bcd
Output set Type fix ( #487 )
...
* properly send outputsettype info
* fix simulator
* bump pxt
* typo in docs
2018-04-11 08:48:07 -06:00
Peli de Halleux
06f66571cf
Upgrading to pxt 3.5.4 ( #367 )
...
* pxt/common updates
* added game lib
* removing gamelib
2018-03-16 14:32:11 -07:00
Peli de Halleux
d4b3ebc2e4
Missing updatestats ( #351 )
...
* aligning screeninit with pxt32
* remove shim
* missing shim
* missing shim
2018-02-26 21:25:04 -08:00
Michał Moskal
c2d26a8418
Integrate screen APIs from common packages ( #343 )
...
* starting screen api intergration
* Further image integration
* Aligning with new screen apis
* Build fixes
* Adjust to common screen state
* Fix unpackPNG
* Add game library
* Optimize screen rendering
* bumping common packages
* updated shims
* moving images into ev3
* upgrading to common packages
* added try/use
* cap
* fixed tryp age
2018-02-26 15:16:17 -08:00
Peli de Halleux
e58ec06e91
IR button indexing fixes ( #303 )
...
* IR remote id fixes
* hiding private api
* fixing indexing of buttons
2018-02-05 15:11:11 -08:00
Peli de Halleux
538493369b
adding button class on remote buttons
2018-02-05 13:57:24 -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
a60427e2cf
using audio context manager function ( #243 )
...
* using audio context manager function
* updated pxt reference
* trigger build
2018-01-18 13:53:33 -08:00
Peli de Halleux
9fadf49b0e
Support for multiple motors in "used" logic. ( #238 )
...
* handle registerion of dual / single motors
* updated puppy
2018-01-15 23:57:21 -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
dfe84471e8
Merge pull request #144 from Microsoft/motorslider
...
Add motor slider control
2018-01-12 13:04:45 -08:00
Michał Moskal
20a4673f98
First draft of storage APIs ( #122 )
...
* First draft of storage APIs
* bumped pxt-core
* using fixed instances to seprate temp from permanent
* send console to storage
* sim support
* missing sim stubs
* adding storage blocks
* more sim support
* remove storage from default package
* fix rendering of ms
* render raw ms
* slize at better place
* duplicate bundled dir
* refactor limit
* simplify limit logic
2018-01-11 20:05:45 -08:00
Peli de Halleux
9d5ca35e83
fix battery encoding
2018-01-11 08:47:09 -08:00
Peli de Halleux
0dd5ab9bde
appliying manual speed
2018-01-10 14:08:50 -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
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
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
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
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
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
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
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
180f32f25c
Simulator refactoring to support better resizing of modules and controls
2017-12-22 14:00:23 -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
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