Commit Graph

506 Commits

Author SHA1 Message Date
Peli de Halleux
8844559987 remove log 2019-10-18 19:12:21 -07:00
Peli de Halleux
7a7435b4c7 various updates 2019-10-18 19:09:43 -07:00
Peli de Halleux
5e532dc2fd adding blinky 2019-10-18 16:36:40 -07:00
Peli de Halleux
c0bd3a7d5d more twidinling 2019-10-13 19:08:34 -07:00
Peli de Halleux
cb0da08063 more logging 2019-10-13 18:27:17 -07:00
Peli de Halleux
f116b5d1da handle disconnect 2019-10-13 13:41:20 -07:00
Peli de Halleux
20be398c2c refactor constants 2019-10-13 09:32:43 -07:00
Peli de Halleux
ccf6164d87 logging 2019-10-13 09:22:07 -07:00
Peli de Halleux
58294883d7 blink fix (#949) 2019-10-13 00:36:44 -07:00
Peli de Halleux
00fefe10d6
Boot sequence (#946)
* refactor bootsequence

* inf can be null

* align elements
2019-10-10 09:15:57 -07: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
cb6c83eec7 Add sources for the file manager program (#944) 2019-10-09 13:57:06 -07:00
Peli de Halleux
a4e02dcd03
add block to stop program (#943)
* add block to stop program

* renaming
2019-10-09 09:30:42 -07:00
Peli de Halleux
d852fd961b fix python build 2019-10-08 22:19:34 -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
2079173dfa
lock execution thread before exiting (#935) 2019-10-02 12:40:45 -07:00
Peli de Halleux
e9b2b239ad
More gyro lessons (#933)
* updated pauseuntil

* updated youtube link

* updated docs
2019-10-01 14:54:17 -07:00
Peli de Halleux
f745079728
Don't reset threashold when resetting color mode (#932)
* don't reset threshold when changing modes

* updated docs
2019-10-01 13:27:37 -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
80b9c715b2
Gyro tutorials (#930)
* gyro tutorials

* tutorials

* fix gyro simulator

* images

* updated image

* fix svg errors
2019-09-30 22:43:50 -07:00
Peli
cb816c91ad updated drift 2019-09-30 14:33:57 -07:00
Peli de Halleux
4dc2872286
Better bt download flow (#927)
* round the drif

* restart compile automatically

* add settle
2019-09-29 23:08:46 -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
a0e133864a
background show ports (#924)
* background show ports

* render once at least

* better rendering

* bumped up scale
2019-09-27 16:45:57 -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
b28b5cb6b7
better flow + handle unclosed connection (#921)
* better flow + handle unclosed connection

* more checks
2019-09-27 09:16:27 -07:00
Peli de Halleux
83aeb24a98
broadcast project (#918)
* broadcast project

* revert chaanges
2019-09-24 21:44:59 -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
6f34887c94
Safepolling (#915)
* headstart on safe polling

* poke in sensors

* more poking

* typo
2019-09-17 14:30:02 -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
f72b825377
reenable permanent storage (#909) 2019-09-09 09:04:12 -07:00
Peli de Halleux
2975bf2b55
Console to dmesg (#910)
* always pip console.log to dmesg

* trim new line

* restore storage

* restore new line

* remove unused variable
2019-09-07 18:22:39 -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
87a65aa38f
battery properties (#903)
* Battery params

* move category

* cleanup

* use property

* fix level

* fix battery computation

* fix level comp

* docs
2019-09-04 12:56:45 -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
140ba64462
Gyrofix (#893)
* disable drift correction by default

* disable drift correction

* better calibration sequence

* add comments

* updated comment about beta
2019-08-30 10:58:49 -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
e4a7531541
add rgbraw (#890) 2019-08-28 22:59:41 -07:00
Michał Moskal
8b3461bebd Add exitThread() polling the exit button (#888)
* Add exitThread() polling the exit button

* Add missing includes

* Remove redundant code
2019-08-28 22:43:21 -07:00
Peli de Halleux
abc93dd7da
Multi sensor fix (#887)
* more logging

* set uart mode all at once

* updated logging

* pr feedback
2019-08-28 16:21:06 -07:00
Peli de Halleux
b66d4f2d64
enable storage extension (#886)
* enable storage extension

* fix -beta
2019-08-28 13:36:23 -07:00
Peli de Halleux
aa40e7b169
Endprogram (#884)
* moving end program logic to c++

* typo

* always stop on reset
2019-08-28 08:52:01 -07:00
Max
db9b6a995b IIC added (#870)
* IIC added

* Fixed bug with not detecting device
2019-08-27 17:57:21 -07:00
Peli de Halleux
3e56e2c3e2
Rgb raw tuning of blocs (#883)
* refactor blocks

* make non-private
2019-08-27 17:05:16 -07:00
Dmitriy Antipov
79b5f8cc88 Add rgb and reflection raw mods for color sensor (#876)
* Add reflection raw value

Add reflection raw value for color sensor

* update

* Combined rgbraw and refraw
2019-08-27 16:45:12 -07:00
Max
5bd4aed0e1 Multiple sensors 2 (#877)
* Fixed -1 mode in libs

* Deleted todo
2019-08-27 16:34:55 -07:00
Peli de Halleux
2b300a4094
Maximmasterr set settle (#882)
* Added set settle time

* updated blocks
2019-08-27 14:57:28 -07:00