Anton
beb98492a5
doc: fix typo in drive_time example
2019-04-08 12:07:04 +02:00
David Lechner
2e2e5d76b5
ev3dev: make gyro calibrate method private
...
This method is a bit buggy, so make it private until we get the kinks worked out
2019-03-25 15:48:24 -05:00
Laurens Valk
f4fbd805f6
bricks/ev3dev: use dedicated reflection mode
...
REF-RAW was giving too much variation
2019-03-25 14:13:02 +01:00
Laurens Valk
ccea3aa937
modmotor: make reset_angle argument explicit
...
instead of defaulting to 0
2019-03-21 14:19:36 +01:00
Laurens Valk
5f12f8df0b
doc: add battery
...
Fixes #114
- reorganize common classes in fake API such as Display, Speaker and Battery.
- This does not change the user API
2019-03-01 14:25:56 +01:00
Laurens Valk
d0fa20a89c
doc: nomenclature and registered signs
2019-02-28 17:50:26 +01:00
Laurens Valk
a1e43998f4
doc: languages and terminology
2019-02-28 17:48:14 +01:00
Laurens Valk
7b6b2d6916
parameters: revert CCW change
...
This reverts b560a545874271ee5f1de2b8f2c42456b06e2aa2
and adds uppercasing
2019-02-28 11:34:04 +01:00
David Lechner
0f3e1c84c2
ev3dev: rename Image and Sound parameters to ImageFile and SoundFile
2019-02-27 16:24:38 -06:00
David Lechner
cd57290b78
parameters: change Color enum members to uppercase
2019-02-27 15:23:16 -06:00
David Lechner
f9881d1c20
parameters: change Image enum members to uppercase
2019-02-27 15:23:16 -06:00
David Lechner
07d5c106af
parameters: change Sound enum members to uppercase
2019-02-27 15:23:16 -06:00
David Lechner
e44f9d7bc6
parameters: change Align enum members to uppercase
2019-02-27 15:23:16 -06:00
David Lechner
fe93f0c0b1
parameters: make Button enum members uppercase
2019-02-27 15:23:16 -06:00
David Lechner
6071e4e7d3
parameters: rename Direction.(counter)clockwise to Direction.(C)CW
...
clockwise and counterclockwise are very long to type, so replace them with the common abbriviations
2019-02-27 15:23:16 -06:00
David Lechner
2e3d013fec
parameters: make Stop enum members uppercase
2019-02-27 15:23:14 -06:00
Laurens Valk
be32bd8eb3
doc: remove self from methods docstrings
...
fixes #130
2019-02-26 11:56:02 +01:00
Laurens Valk
c58cba2af8
doc: terminology and nomenclature
...
- EV3 brick
- MicroPython
- microSD card
- EV3 MicroPython microSD card image
2019-02-25 14:04:21 +01:00
Laurens Valk
312b2a4818
robotics: basic placeholder DriveBase class
2019-02-21 12:24:25 +01:00
Laurens Valk
78bb431bc0
doc: fix duty setting
...
fixes #118
2019-02-19 21:24:05 +01:00
Laurens Valk
08990f6342
doc: images for run with brickman
2019-02-19 17:02:27 +01:00
Laurens Valk
e35c0ddb12
motorcontrol: partial terminology update for duty steps
...
when we add an offset internally, the argument isn't really duty cycle anymore. This could use some further work.
Offsets are still zero by default.
2019-02-07 10:16:59 +01:00
Laurens Valk
5894852ebf
doc: proposed API update for dc motor settings
2019-02-06 15:48:54 +01:00
Laurens Valk
d273a5fea9
bricks/ev3dev: make gyro api same as motor
...
and add calibrate and reset_angle methods
speed, angle, reset_angle and direction are now the same as in a motor
2019-01-29 11:38:56 +01:00
Laurens Valk
5639d02daf
doc: add image and sound file enums
...
fixes #94
bricks/ev3dev: static sound and image file enums
2019-01-29 11:00:30 +01:00
David Lechner
b3f9ae659e
fake-pybricks: don't quote strings in setup.cfg
...
this is an ini file, not a python file
also run `python3 versioneer.py setup` to apply changes
2019-01-24 19:51:33 -06:00
David Lechner
79056f1092
fake-pybricks: fix comments in example too long for pdf docs
...
in the pdf docs, the comment lines were too long and caused the line to be wrapped which doesn't make for easy reading
2019-01-24 16:16:17 -06:00
David Lechner
eae359ee42
doc: fix module index
...
some modules were missing because of missing automodule directive
2019-01-24 16:10:11 -06:00
Laurens Valk
cec568c454
doc: copyediting
2019-01-24 15:52:00 +01:00
Laurens Valk
5f65f842ad
Merge branch 'run_until_stalled' and 'motor-lock'
2019-01-23 21:43:39 +01:00
Laurens Valk
b1edd667e5
modmotor: respect previously specified stall limits
2019-01-23 21:11:51 +01:00
David Lechner
c83e7d3a7d
doc: make all the examples say "Example:"
2019-01-21 22:20:13 -06:00
Laurens Valk
59be0dab18
doc: remove todo note
2019-01-21 18:32:02 +01:00
Laurens Valk
daa213b003
doc: drop features that won't be implemented for first release
...
Combined with previous comments, this closes #91
2019-01-18 17:19:19 +01:00
David Lechner
de8d91df4b
Merge branch 'travis'
2019-01-15 21:42:00 -06:00
David Lechner
237addb39c
fake-pybricks/setup.py: update python_requires to PEP 440
...
Use the PEP 440 depenency format. The `>` character was breaking the package manager on jfrog.
Picked 3.4 since that is what micropython is based on.
2019-01-15 21:29:36 -06:00
David Lechner
e0b08cfad9
use versioneer for setting python package version
...
https://github.com/warner/python-versioneer
😋 🍪
2019-01-15 20:58:43 -06:00
David Lechner
53e386e3cf
fake-pybricks: rename python package to fake-pybricks
...
temporary workaround for issue #92
2019-01-15 16:40:56 -06:00
Laurens Valk
fea24b6431
bricks/ev3dev: move print to tools
2019-01-13 18:37:00 +01:00
Laurens Valk
b8b206db38
extmod: Make light function and doc match
...
For now, do not implement features such as brightness and patterns.
2019-01-13 18:10:22 +01:00
Laurens Valk
069f59a13a
modmotor: make dc match docs
...
This adds an optional argument to limit the duty cycle
2019-01-13 17:51:55 +01:00
Laurens Valk
4ad8c8ac9c
extmod: implement run_until_stalled with variable limits
2019-01-12 12:02:39 +01:00
Laurens Valk
34bc88dae3
doc: group motor methods by rubric
2019-01-11 09:03:18 +01:00
Laurens Valk
1cb21098a5
doc: motor debug, dc, and tracking api
2019-01-10 10:31:26 +01:00
Laurens Valk
b6c302321a
doc: simplify motor settings
2019-01-09 16:08:32 +01:00
Laurens Valk
e9d83c80c4
doc: back to explicit ev3brick and ev3devices
...
(instead of brick and devices)
After internal discussion:
- This way we need to maintain only one fake API.
- Autocomplete can pick up the right brick/devices.
- Explicit is better than implicit.
2019-01-09 14:51:41 +01:00
Laurens Valk
9164414b78
doc: wait is last argument
2019-01-06 16:40:18 +01:00
Laurens Valk
15791fbe8d
doc: brick, sound, display, and experiment with samples
2019-01-04 15:05:17 +01:00
Laurens Valk
50525a26bb
doc: rough draft EV3 brick
2019-01-03 19:44:10 +01:00
Laurens Valk
803ec9421e
doc: tools
...
need to test StopWatch after this modification
2019-01-03 19:06:04 +01:00