Commit Graph

95 Commits

Author SHA1 Message Date
Peli de Halleux
7581b5af9e
Drift support (#926)
* upgrading drift support

* updated showports

* typos
2019-09-29 09:49:13 -07:00
Peli de Halleux
e862869327
Snap backwards (#923)
* snap to multiple of 5

* normalize negative values
2019-09-27 15:49:21 -07:00
Peli de Halleux
60c09809e7
Stall (#897)
* stall detection

* arrange blocks

* updated blocks

* tested on hw
2019-09-17 15:14:14 -07:00
Peli de Halleux
361ae7a2d2 adding a few pause to allow motors to settle 2019-09-17 11:23:40 -07:00
Peli de Halleux
5c3c83eb52
add a run to avoid tight loop hogging (#913) 2019-09-17 10:52:00 -07:00
Peli de Halleux
def648a98b
Block updates follow blog post (#905)
* fix battery block comment

* update run phase blocks

* some more docs
2019-09-06 06:22:12 -07:00
Peli de Halleux
17ab24eaa9
Ramp (#904)
* updated ramp block

* updated example
2019-09-04 14:51:45 -07:00
Peli de Halleux
9c5d5f9a86 updated block 2019-09-04 13:50:13 -07:00
Peli de Halleux
56bbcde299
Support for smooth acceleration/deceleration in run (#900)
* removed logging

* removing more logging

* always use step for single/multiple motors

* refactored schedule

* account for accel ramp up and down

* added default acc/decel

* rounding speed/angle

* remove hack

* use acceleration time in run too

* handle missing case

* adding notes on motors

* adding sample

* fixed ramp simulation

* clear defaults

* some docs, more later

* adding basic examples

* remove debug msg

* clean json

* added move schedule

* docs

* basic docs
2019-09-02 20:57:23 -07:00
Peli de Halleux
277c9903bb
Tank fixes (#892)
* fixing turnration computation

* updated tank computation

* fix rendering glitch

* restore tank computation

* rounding errors
2019-08-30 05:40:51 -07:00
Peli de Halleux
2b300a4094
Maximmasterr set settle (#882)
* Added set settle time

* updated blocks
2019-08-27 14:57:28 -07:00
Sam El-Husseini
b71bfef418
Call setOutputType with the right arguments (#828)
* Call setOutputType with the right arguments
2018-12-03 16:37:53 -08:00
Peli de Halleux
dfc9ca1db4 fxing leading / in docs 2018-09-21 14:07:11 -07:00
Peli de Halleux
c288242b9c
add "pause on run" flag to disable waiting after command (#663)
* add "pause on run" flag to disable waiting after command

* refactor

* fixing build
2018-06-01 08:51:50 -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
Sam El-Husseini
a433988929
New motor field editor (#470)
* New motor field editor showing two dropdown, first to select the type and the second to select the port.
2018-04-09 15:59:28 -07:00
Peli de Halleux
3339a7660a
moving motor properties to lower group (#403) 2018-04-03 04:30:10 -07:00
Peli de Halleux
8536126e23
removing tacho (#382) 2018-03-28 09:04:28 -07:00
Peli de Halleux
e51a32b69f
use full motor names (#338) 2018-02-22 10:03:25 -08:00
Peli de Halleux
fad4ca98db
renaming 'set speed' to 'run' (#327) 2018-02-19 07:35:08 -08:00
Peli de Halleux
daa88b299d replacing loops.pause -> pause, loops.forever -> forever 2018-02-14 16:05:31 -08:00
Peli de Halleux
523c507c35
Projectupdate1 (#325)
* integrating test lesson from lego

* adding side card annotations
2018-02-14 08:56:12 -08:00
Peli de Halleux
2f6ad3110a
motor blocks with optional args (#290)
* motor blocks with optional args

* updated signatures

* added toggle mode

* adding annotations
2018-02-09 10:25:39 -08:00
Peli de Halleux
fd9d118fa4
reversed => Inverted (#308)
* renaming "setReversed" to "setInverted" to match LabView

* fixing samples

* typo
2018-02-06 23:18:36 -08:00
Galen Nickel
88c58b4e76 First set of 'motors' topics (#305)
* Start of 'motors' topics

* Draft the 'motor motion' side doc

* Add / update more topics

* Last blast of edits

* Capture some more edits

* Put in movement and steering details
2018-02-06 19:43:50 -08:00
Abhijith Chatra
9bf50665fc improving the spacing & block names (#298) 2018-02-01 16:21:08 -08:00
Peli de Halleux
3f50b5c39a updated pxt references + hero banner 2018-01-29 11:20:34 -08:00
Peli de Halleux
23bb316403 settle robot once brake is applied 2018-01-18 21:28:00 -08:00
Sam El-Husseini
751ea1494b motor slider fixes and fix motor output in vm 2018-01-12 13:33:25 -08:00
Peli de Halleux
c3419c0b74
support for unregulated motors (#227) 2018-01-10 23:34:27 -08:00
Peli de Halleux
a4164470d8 updated api to align with labview 2018-01-10 22:29:35 -08:00
Peli de Halleux
b9f5096480 pause until motor measured move is done 2018-01-10 11:29:27 -08:00
Peli de Halleux
951b9be6e4 fixing motors 2018-01-10 11:14:18 -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
892a2d585f
Thresholds (#222)
* add threshold blocks

* updated strings

* added gap

* reorg color/gyro blocks

* fixing sound names

* adding stop block

* fixing exanmples
2018-01-09 12:46:48 -08:00
Peli de Halleux
a27a7fcd55
removing measured overloads until blocks support (#215) 2018-01-08 15:27:37 -08:00
Peli de Halleux
0f2bda2496 shuffling motor blocks 2018-01-07 20:33:02 -08:00
Peli de Halleux
64389a7689 more annotations 2018-01-07 10:06:02 -08:00
Sam El-Husseini
5e21f9ab6d Add a speed field editor 2018-01-06 14:25:50 -08:00
Peli de Halleux
9ae6482f28
fixing isReady query on motors (#197) 2018-01-06 00:00:04 -08:00
Peli de Halleux
ea46f1cbc7
3 activies from curriculum (#194)
* 3 activies from curriculum

* fixing style
2018-01-05 18:24:23 -08:00
Peli de Halleux
64d6c2b090
Motors cleanup (#192)
* refactoring

* moving chassis into separate project

* added set motors
2018-01-05 16:02:52 -08:00
Peli de Halleux
7da811246c
Behaviors Driven Robotics (#178)
* adding avoid crash behavior

* more implementation

* add another simple behavior

* fixed synched motors

* bump common packages
2018-01-04 12:55:30 -08:00
Peli de Halleux
b7cdc7d0fe moving blocks around 2018-01-04 08:25:02 -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
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
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