Antoni Luong Pham
bcb47f0d23
sets/ev3/home/gripp3r: refactor main.py
2020-10-27 16:57:19 +01:00
Antoni Luong Pham
56b060f3c5
sets/ev3/home/spik3r: refactor main.py
2020-10-27 16:57:19 +01:00
Antoni Luong Pham
46af4831c0
sets/ev3/home/r3ptar: refactor main.py
2020-10-27 16:57:19 +01:00
Antoni Luong Pham
27206d68c9
sets/ev3/home/ev3rstorm: refactor main.py
2020-10-27 16:57:19 +01:00
Antoni Luong Pham
25ac93d6db
sets/ev3/home/track3r: add README
2020-10-27 16:57:19 +01:00
Laurens Valk
da28bf8787
sets/ev3/home_bonus/el3ctric_guitar: flake8
2020-10-25 21:30:25 +01:00
Laurens Valk
f4914069aa
snippets/pup/hub_inventor: generate snippets
2020-10-25 20:26:39 +01:00
Antoni Luong Pham
bd6f9a89f1
sets/ev3/home_bonus: add Guitar program
2020-10-25 20:22:35 +01:00
Antoni Luong Pham
53f292d2ab
sets/ev3/home_bonus: add Dinor3x program
2020-10-24 09:54:43 +02:00
Jorge Pereira
59b1af009e
sets/technic/42109/keyboard_remote: add project
...
Example program for remote controlling the LEGO Technic Top Gear Rally Car with a keyboard through the IDE I/O Windows
2020-10-23 23:41:54 +02:00
Laurens Valk
548b3abd6e
sets: organize by category instead of platforms
...
Powered Up is very broad. Instead, use categories like trains, technic, boost, etc.
2020-10-23 19:51:49 +02:00
Laurens Valk
fa5a3f5ecc
all: rename official_models to sets
...
This is much shorter, and describes the category better.
2020-10-23 19:30:16 +02:00
Laurens Valk
aa13792dab
.github: add sponsor link
2020-10-09 23:07:24 +02:00
Laurens Valk
86587eeff2
snippets/pup/hub_*: generate from template
2020-10-09 19:36:32 +02:00
Laurens Valk
3af9d146b6
snippets/pup/hub_shared: generate script template
...
Generate examples for each hub by replacing ExampleHub by
the name of each hub, and skip examples that do not apply
to a particular hub. Such as examples with floating point.
2020-10-09 19:34:47 +02:00
Laurens Valk
122544d613
snippets/pup/hub_shared: light examples
...
These are template scripts for all hubs
2020-10-09 16:51:33 +02:00
Laurens Valk
2a08462af1
snippets/pup/sensor_color: calibration and hsv
...
Update for the simplified color calibration API.
2020-10-08 19:00:50 +02:00
Laurens Valk
72f812df3f
snippets/pup/sensor_color_distance: calibration
...
Update for the simplified color calibration API.
2020-10-08 19:00:40 +02:00
Vinh Luong
51aa74f0c7
official_models/ev3: refactoring
2020-10-07 10:50:13 +02:00
Antoni Luong Pham
fc39ab9468
official_models/ev3/gripp3r: add project
2020-10-07 10:50:13 +02:00
Antoni Luong Pham
fcff36b3fd
official_models/ev3/home/r3ptar: add project
2020-10-07 10:50:13 +02:00
Antoni Luong Pham
098696c2b4
official_models/ev3/home/spik3r: add project
2020-10-07 10:50:13 +02:00
Vinh Luong
c83fd44fec
official_models/ev3/home/track3r: add project
2020-10-07 10:50:13 +02:00
Vinh Luong
e3860fd1c5
official_models/ev3/home/ev3rstorm: add project
2020-10-07 10:50:13 +02:00
Laurens Valk
dbda3c337a
snippets/ev3: update workspace
2020-10-07 10:50:13 +02:00
Laurens Valk
e9735b2db0
snippets/pup: add PFMotor examples
2020-08-11 12:09:36 +02:00
Laurens Valk
bc2ec92634
snippets/pup: add Motor action examples
2020-07-21 16:11:27 +02:00
Laurens Valk
6b634c5365
snippets/pup: add Motor stop and action examples
2020-07-21 15:16:16 +02:00
Laurens Valk
599c6fce13
snippets/pup: add Motor measuring examples
2020-07-21 14:49:12 +02:00
Laurens Valk
e2188747c8
snippets/pup: add Motor init examples
2020-07-21 14:49:12 +02:00
Laurens Valk
e4729df9f5
snippets/pup: add DCMotor examples
2020-07-21 14:49:12 +02:00
Adam
a0c96c5a6a
snippets/ev3: add PS4 snippet
2020-07-19 22:55:10 +02:00
Laurens Valk
c6a3d7a66e
snippets/pup/sensor_force: add examples
2020-07-13 15:39:00 +02:00
Laurens Valk
073357709b
snippets/pup/sensor_color: add reflection example
2020-07-13 14:23:39 +02:00
Laurens Valk
ee05a6686e
snippets/pup/sensor_color: add ambient sample
...
ambient color sensor is unique to this sensor
2020-07-13 14:13:21 +02:00
Laurens Valk
caa4012b2a
snippets/pup/sensor_color: add 6 samples
...
These are nearly the same as for the ColorDistanceSensor.
2020-07-13 14:04:59 +02:00
Laurens Valk
36a4bdd2a9
snippets/pup/sensor_color_distance: add 6 samples
2020-07-11 17:03:07 +02:00
Laurens Valk
dc82cd5d07
snippets/pup/light: add basic light and math demo
2020-07-11 12:58:15 +02:00
Laurens Valk
3b9663d93b
snippets/pup/sensor_tilt: add read example
2020-07-11 12:42:52 +02:00
Laurens Valk
f19d80b728
snippets/pup/sensor_infrared: add read example
2020-07-11 12:39:03 +02:00
Laurens Valk
a30877fd3d
official_models/pup/trains_sensors: tilt project
...
This adds a project that shows how you can combine LEGO trains with the
Powered Up Tilt Sensor to detect slopes in a train track.
2020-07-10 14:25:06 +02:00
Laurens Valk
d000fe7d7a
official_models/pup/trains: passenger and cargo
...
These two are likely the first in a range of generic LEGO trains with a
City Hub and a DC Train Motor. Instead of adding examples to each,
we add generic train examples in a shared folder and link to them.
We reserve these folders specifically for these sets and their B models.
2020-07-10 14:20:12 +02:00
Laurens Valk
796f4e63d9
snippets/pup/sensor_ultrasonic: add math example
...
This demonstrates functionality of the lights and builtin math.
2020-07-10 13:05:50 +02:00
Laurens Valk
c4c60f20bf
snippets/pup/sensor_ultrasonic: add basic example
...
Demonstrate distance measuring and light control in a simple loop.
2020-07-10 12:37:13 +02:00
Laurens Valk
54523ee695
ev3/snippets/rcx_touch: example of AnalogSensor
2020-05-21 11:24:34 +02:00
Laurens Valk
df06dc59cc
ev3/snippets: bluetooth: update rover example
2020-05-19 15:19:18 +02:00
Laurens Valk
d5ee42156d
ev3/snippets/bluetooth_pc: StreamRequestHandler
...
This restores the previously deleted custom StreamRequestHandler.
In the prevous commits, more and more pieces from the standard socket library were used instead of the custom-made ones made for EV3. This was giving compatibility issues on some platforms (Windows/Mac), and differences with EV3 made it harder to debug.
It was previously dropped to make the MailboxHandler work. This commit reverts that change and modifies the MailboxHandler instead to make it work with the BluetoothSocket objects, which do not have rfile.read. Instead we use recv directly and rely on zero length to detect disconnected state.
It would be useful to eventually use only components from the socket server module and no incomplete custom ones, but this provides at least a working cross platform starting point to fall back to.
2020-05-16 20:13:40 +02:00
Laurens Valk
8907939639
ev3/snippets/bluetooth_pc: PC is client
...
Technically it does not matter much who is the server or the client.
However, if Windows PCs are involved, we found it to be easier if
Windows is the client and EV3 is the server.
That way, it is the Windows PC initiating the connection. It doesn't
seem to like it when other devices take the initiative.
So, we update the example accordingly to make it
accessible for most users without loss of generality.
You can still make the PC the server by just running the
server example on your PC.
2020-05-16 17:01:36 +02:00
Laurens Valk
731cdd662f
ev3/snippets/bluetooth_read_spike: initial example
...
Add a class that makes it easy to read values streamed by the hub.
2020-05-12 22:31:49 +02:00
Laurens Valk
581a0997c9
ev3/snippets/bluetooth_pc: flake8
...
Make sure the documentation can pass flake8.
2020-05-10 12:43:56 +02:00