Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pybricks.parameters.Color.NONE: Set v=-30.
With the newly introduced color cost function, any measured value less than 50 results in Color.NONE, which makes it the predominant result. This reduces the distance range for the default colors. Instead of adjusting all colors (which are also used to emit colors), we can make the value of Color.NONE negative to achieve a similar result.
- Loading branch information