Skip to content

Conversation

MaartenS11
Copy link
Member

@MaartenS11 MaartenS11 commented Oct 1, 2025

This PR adds support for the EV3 and NXT touch sensors. This makes many more robots possible, such as a robot that drives and turns using a bumper.

  • NXT Touch sensor, nxt_touch_sensor
  • EV3 Touch sensor, ev3_touch_sensor (excluding the second port for now)
  • Add these new primitives to the emulator.

This will also make the touch sensors work!
Currently done with an if, we probably want to do this with an array in the end.
Will add support for generic analog_read later.
Will add support for generic analog_read later.
@MaartenS11 MaartenS11 force-pushed the feat/obb-touch-sensor branch from cc34b69 to 39ec5fa Compare October 1, 2025 13:12
@MaartenS11 MaartenS11 force-pushed the feat/obb-touch-sensor branch from 20ee774 to 13d7895 Compare October 6, 2025 08:25
@MaartenS11 MaartenS11 marked this pull request as ready for review October 6, 2025 08:28
@MaartenS11 MaartenS11 merged commit 4b3bc2c into main Oct 6, 2025
15 checks passed
@MaartenS11 MaartenS11 deleted the feat/obb-touch-sensor branch October 6, 2025 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant