ev3dev-python-tools / ev3dev2simulator

Simulator for an EV3 robot; a program using the ev3dev2 API can run both on the rover and on the simulator without any modifications to the code
MIT License
6 stars 9 forks source link

Use RGB for the colour sensor #37

Open NielsOkker opened 3 years ago

NielsOkker commented 3 years ago

Currently, colour is sensed by obtaining the colour of the sprite below the colour sensor. Each sprite knows its colour as one of the potential colours that the colour sensor can distinguish. Instead, colours should be represented as RGB and also be sent like that to the ev3dev2-API.