- Nov 16, 2024
-
-
Václav Jelínek authored
-
Václav Jelínek authored
-
- Nov 15, 2024
-
-
Václav Jelínek authored
-
- Nov 10, 2024
-
-
Václav Jelínek authored
Make the EV3 color sensor calibration applicable to the EV3 color sensor See merge request !13
-
Jakub Vaněk authored
This works around an unexpected crash that would happen when you run the following code: ``` cs = <EV3 color sensor instance> # start sensor reset cs.start_reset() # wait for sensor reset and return new reading cs.reflection() ``` The cs.reflection() call would raise SensorNotReadyError with the message "Sensor has been unplugged". However, ideally, the call should block up to 3 seconds until the sensor has rebooted. It seems to me that the problem is caused by the fact that immediately after cs.start_reset() is called, cs.is_ready() will still return true. This confuses the waiting loop in read_raw_mode() - it will think that the sensor has unexpectedly disappeared a ~millisecond later. This commit fixes the issue by checking for the reset condition in the is_ready() and similar functions.
-
Václav Jelínek authored
Automate updating of firmware version strings See merge request !14
-
- Nov 09, 2024
-
-
Jakub Vaněk authored
-
Jakub Vaněk authored
I have missed that the sensor enters the "STATE_CALIBRATE_DONE" state after the calibration. From the reverse-engineered sources it seems to me that in this mode, the sensor will no longer process CMD-SELECT messages. This commit should fix this by cutting off NACKs to the sensor and letting it reboot.
-
Jakub Vaněk authored
-
- Nov 06, 2024
-
-
Jakub Vaněk authored
-
Jakub Vaněk authored
It turns out that the underlying problem was that the sensor sends the number of modes minus one and the code here did not account for it.
-
Jakub Vaněk authored
-
- Nov 05, 2024
-
-
Jakub Vaněk authored
-
Jakub Vaněk authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
- Nov 03, 2024
-
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
- Nov 02, 2024
-
-
Václav Jelínek authored
Major update of menu visuals and example programs See merge request !12
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
- Oct 25, 2024
-
-
Václav Jelínek authored
-
- Oct 22, 2024
-
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
- Oct 18, 2024
-
-
Václav Jelínek authored
-
- Oct 17, 2024
-
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-
Václav Jelínek authored
-