David Lechner

Results 1494 comments of David Lechner

Probably should wait on merging this one in order to not conflict with other ongoing work.

CI is failing because of https://github.com/sphinx-doc/sphinx/issues/11211.

To use an NXT touch sensor, you need to use `from pybricks.nxtdevices import TouchSensor` instead of `from pybricks.ev3devices import TouchSensor`. If you need both , you can do this: ```python...

Oops, I missed adding `pybricks.` in my suggestions. It should be: ```python from pybricks.nxtdevices import TouchSensor ```

> Would the same modification apply to NXT sound sensor and NXT ultrasonic sensor? Yes, it applies for all NXT sensors, so those and more, e.g. `ColorSensor`.

It depends on what the desired behavior of the robot is. But I'm guessing you want something like this: ```python # Write your program here. speed, _, turn_rate, _ =...

I would `print(speed, turn_rate)` to see what the values are. Maybe speed is 0 which is why it isn't moving? To rephrase the desired behavior, it sounds like you want...

What is line 18 in your program? If it is a motor, you might try rotating it a little bit, then unplug it and plug it back in. To reboot,...

Are you using medium or large motors? If you are using medium, then that would explain going straight instead of turning. To fix, you would need to change the positive...