Commit Graph

102 Commits

Author SHA1 Message Date
Dmitriy Antipov
cabcb048e3
Troubleshooting updates v1.4.25 (#1012)
* sim_fix

ES version update

* fieldeditors-es-upgrade-to-es2017

Update es to fix issue with fieldeditors.

* editor-es-upgrade-to-es2017

Update es that fixes an issue with the editor.

* editor-download-dialog-fix

Solving a download error that arose due to problems with the buttons in the dialog box.

* return_field_motors

We return the fieldmotors field, because it is necessary about the choice of types of motors: medium, large, one or two.

* update-fields-for-motor-blocks

Set the blocks to the fieldmotors field. Change the name of the blocks for the motors.

* enable-debugger

Instead of the slowmo mode, which was before, a debugger was added, in which slowmo is present.

* fix-field-music

It turned out to update the fieldmusic menu. The menu is now displayed in the correct position.

* Update field_music.ts

* fix-field-brickbutton

Fixed issue with button select menu position from ev3 brick.

* Update dialogs.tsx

* Update field_motors.ts

Repartition of Label for fieldmotos, now it's more readable, it's better.

* motors-new-icon

Created new icons for motors for dropdown image.

* remove-ai-files-for-motors-icon

Remove ai image files for motors
2023-04-25 12:06:54 -07:00
Richard Knoll
bef4ebac43
Updating npm dependencies and getting the build to work (#1001)
* Updating npm dependencies and getting the build to work

* update node in github actions to 14.x
2021-09-22 15:51:32 -07:00
Dmitriy Antipov
c1aead1aa9
fix invert motor angle metod (#999) 2021-09-09 14:11:06 -07:00
Peli de Halleux
f0821f8d6c cherry-pick Cooperate (#985)
* cooperate pause

* fix math

* update lastPause before pausing

* faster cooperation

Co-authored-by: Peli de Halleux <peli@DESKTOP-5B7QRAM.corp.microsoft.com>
2020-08-21 06:09:01 +02:00
Peli de Halleux
2cd2950496
polarity in synched motor (#945)
* account for polarity

* more comments

* handle dual motor in runtime

* invert steer

* don't use firmware polarity
2019-10-10 07:44:53 -07:00
Michał Moskal
c5cec3a6ba update to pxt 5 and pxt-common-packages 6 (#934)
* bump pxt

* fix build issues

* Auto-gen of projects/summary

* removing feild editors moved to pxt

* various typing fixes

* more typing fixes

* fixing various typing issues

* Start on integration of new pxt

* serial number fixes

* gc-ify MMap object

* Re-build generated files

* fix console listeners

* clear lf() warnings

* More generated files

* also auto-generated

* Compilation fixes

* fix merge

* mostly fixing blocks

* fix sim

* fix field motors

* enable a few features

* moving to tsx

* try to fix edtiro compilation

* more defs

* removing commands

* removing extra $

* fix blockly warning

* hiding images

* enabling more pxt features

* hide images

* setup autorun

* add lock on target_reset

* update deps

* return trylock result

* updated pxt

* rename video section

* add alpha channel

* upgraded pxt

* bump pxt/version

* removed alpha ref

* var ceanup

* don't do major bump
2019-10-08 21:57:55 -07:00
Peli de Halleux
374bbb8304
Drift-compensated angle in gyro (#931)
* compute angle based on undrifted rate

* add is calibrating function

* fix integrator

* added example

* docs

* poll faster
2019-10-01 10:11:58 -07:00
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