David Lechner
fa0ef54fee
ev3/color_sorter: set duty limit
...
This way, we don't torque so hard on parts that can't move
2020-03-05 16:44:20 +01:00
David Lechner
7772e76de4
ev3/color_sorter: add example
2020-03-05 16:43:50 +01:00
David Lechner
7fea4e5912
ev3/gyro_boy: remove unused type
2020-03-05 16:43:44 +01:00
David Lechner
53cf86265f
ev3/gyro_boy: don't hog CPU
...
This uses wait() instead of busy waiting so we don't hog the CPU.
The busy wait was previously used because of motor control timing bugs.
2020-03-05 16:43:38 +01:00
David Lechner
d399974119
ev3/gyro_boy: improvements
...
- more explanations
- explicit actions
- more consistent with EV3-G/scratch programs
2020-03-05 16:43:25 +01:00
David Lechner
e07d3d05e8
ev3/gyro_boy: Add sensor input task
...
Functionality is still not quite the same as EV3-G/Scratch.
action_update() should remember the old speed during ultrasonic
reaction and then restore it.
Also, tuning is a bit off since loop time is ~26ms compared to ~18
in EV3-G/Scratch.
2020-03-05 16:42:51 +01:00
David Lechner
355c526412
ev3/gyro_boy: example (incomplete)
2020-03-05 16:41:48 +01:00
Laurens Valk
3bb19daadf
snippets/ev3: add getting started snippet
...
Include it from here instead of having the code directly in the docs.
2020-03-05 15:14:02 +01:00
Laurens Valk
bde1e6bac5
LICENSE: Update year and authors
2020-03-05 10:26:24 +01:00
Laurens Valk
106c8cf600
snippets/ev3: remove print from imports
...
We use the default print in the latest release, so importing is not required.
2020-03-04 10:24:53 +01:00
Laurens Valk
af9cb706b2
update_workspaces: auto update all ev3 folders
...
And in doing so, add empty folders for the new projects to be added to.
2020-03-03 12:06:16 +01:00
Laurens Valk
a3025707a7
official_models/ev3: add robot arm
2020-03-03 12:01:55 +01:00
Laurens Valk
64c29d49ce
update_workspaces: generalize generator
...
Make it useful for upcoming EV3 folders as well.
2020-03-03 11:48:26 +01:00
Laurens Valk
4fca9387f3
snippets/ev3: auto generate workspace
2020-03-03 11:32:34 +01:00
Laurens Valk
291f4ad4dd
tests/ev3: remove all
...
Tests are currently developed in a separate repository.
2020-02-27 10:20:55 +01:00
Laurens Valk
297aa88459
snippets/ev3/ev3devsensor: initial examples
2020-02-25 10:15:59 +01:00
Laurens Valk
561315a105
snippets/ev3/datalog: update arguments
2020-02-14 11:46:33 +01:00
Laurens Valk
05ce47e739
snippets/ev3/datalog: add main and extra example
2020-02-14 11:37:13 +01:00
David Lechner
7bc9ef5acf
snippets/ev3/bluetooth_client/client: use name instead of address
...
We no longer have to use the Bluetooth address.
2020-02-12 15:50:21 -06:00
Laurens Valk
a18ba6499c
snippets/ev3/vernier: temperature example
2020-02-12 12:47:55 +01:00
David Lechner
5ffedc9d51
ev3dev/bluetooth: update examples for api changes
2020-02-11 12:50:52 -06:00
David Lechner
fcc8af3381
snippets/ev3/screen: update for API changes
2020-02-11 11:21:04 -06:00
David Lechner
55912786eb
Add bluetooth example projects
2020-02-03 16:32:30 -06:00
Laurens Valk
8d9bb6e11a
snippets/ev3/i2c_extra: update i2c
...
Reflect that we read one byte by default.
Also allow a second way to send one byte, by specifying a register with no data.
2020-02-03 10:34:42 +01:00
David Lechner
f7f1ce5768
resources renamed to media.ev3dev
2020-01-14 10:35:09 -06:00
David Lechner
b7a111a78f
snippets/ev3/screen_extra: fix flake8 error
2020-01-13 20:09:00 -06:00
David Lechner
fe3a7ae636
snippets/ev3/speaker_basics: add Danish example
2020-01-13 20:03:51 -06:00
David Lechner
37ca78217f
snippets/ev3/screen_basics: finish show_image todo
...
ev3.screen.show_image is implemented now
2020-01-13 18:50:22 -06:00
David Lechner
05b69c1684
snippits/ev3/speaker_basics: new project for basic speaker ops
2020-01-12 14:18:11 -06:00
David Lechner
80c99a0781
snippets/ev3/screen: add examples
...
New examples for ev3.screen / Image class API
sprite.png is derived from https://publicdomainvectors.org/en/free-clipart/Walking-man-figure/66314.html
2020-01-10 20:32:52 -06:00
Laurens Valk
d646e0fc49
*: use Ports from parameters module, not hubs
...
This follows a recent API update.
2020-01-10 16:10:33 +01:00
Laurens Valk
6e893e2301
*/ev3: rename customdevices to iodevices
...
This follows the API update.
2020-01-01 16:40:39 +01:00
Laurens Valk
7fc9d68345
snippets/ev3/i2c_extra: add snippet
2019-12-10 15:24:20 +01:00
Laurens Valk
42eb870c74
snippets/ev3/i2c_basics: add snippet
2019-12-10 15:18:40 +01:00
Laurens Valk
9237f475d8
tests/ev3/test_i2c: add project
2019-12-10 15:18:14 +01:00
Laurens Valk
c017248f43
snippets/ev3/uart_basics: add snippet
2019-12-10 13:22:19 +01:00
Laurens Valk
713cccf2f8
tests/ev3/test_serial: add project
2019-12-10 13:21:58 +01:00
Laurens Valk
84c1d38d46
test/ev3/buttons: initial test
...
This tests all button functionality.
2019-12-10 13:21:43 +01:00
Laurens Valk
c322ffdc17
snippets/ev3/buttons: initial example
2019-12-09 16:16:01 +01:00
Laurens Valk
17b583cd23
snippets/ev3/light_color: initial example
2019-12-09 16:15:55 +01:00
laurensvalk
0ca233cc9a
Initial commit
2019-11-13 10:58:22 +01:00