I’ve been programming the BrickPi3 in Python for a while now and I just got a new cool idea for my project: take the Bobcat NXT project, and put it on the NXT 2.0 test pad and then trace the lines while picking up and dropping off the red and blue balls. The only problem is I have no idea to get the color sensor to work. I’ve read through the forum and stuff, but I can’t find anything that solves anything or helps me. A quick description:
- When I run the example “NXT-Color_Sensor_Color.py”, it gives me this error:
get_sensor error: Invalid sensor data. Then, the program continues and only outputs
Black [1, 0, 181, 0, 40]and other numbers of the sort.
- I have the NXT 2.0 color sensor
- I’m using BrickPi3 on probably the newest firmware and software (updated it 2-3 months ago, too lazy to do it now)
Is there a quick fix for this or is it currently not possible to run the NXT 2.0 color sensor on the Brick Pi 3.
Thank you very much for any help.