Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LineSensorsReadMode::Off & LineSensorsReadMode::Manual - Need for 2040 robot? #6

Open
adamgreen opened this issue Apr 9, 2023 · 0 comments

Comments

@adamgreen
Copy link
Contributor

I noticed that the pololu-3pi-plus-32u4-arduino-library has a LineSensorReadMode enumerated type which allows running the line sensors with the emitters off or under user control. It seems like the C and MicroPython libraries for the 2040 only support the LineSensorReadMode::On mode. I could see how in general it might be useful to have an array of Ir light sensors facing somewhere other than down which could be used to detect/track Ir beacons/wands/etc in the environment. It seems like on the 3pi+ robots that the On mode is probably the only useful mode since they are pointed down at the floor and maybe that is why the MicroPython and C libraries for the 2040 only support this mode? I was looking at refactoring my 2040 Arduino library to use your cool C library but the only easy way I could use the line_sensors_*() functions would be to drop support for the Off and Manual modes. Since you have much more experience in this area, I was wondering what you think about this?

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

No branches or pull requests

1 participant