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?
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 theLineSensorReadMode::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 theOn
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 theline_sensors_*()
functions would be to drop support for theOff
andManual
modes. Since you have much more experience in this area, I was wondering what you think about this?