MelbourneHighSchoolRobotics / ev3sim

A simulator for soccer robots programmed with ev3dev.
https://ev3sim.mhsrobotics.club
Other
11 stars 8 forks source link

Add colour sensor modes and ensuring unhandled modes do not crash ev3sim. #278

Closed glipR closed 3 years ago

glipR commented 3 years ago

Noticed in the meeting yesterday that reflected light intensity and predicted color values aren't implemented in ev3sim. This implements these modes, and also ensures that modes that are not implemented do not crash ev3sim, they just crash the bot.

Has been tested locally, seems to be working fine.

glipR commented 3 years ago

Harmless and Useful, merging!