AsianKoala / koawalib

General purpose FTC library
https://asiankoala.github.io/koawalib/
16 stars 4 forks source link

reverse encoder has to be before encoder 0 #65

Closed TheCoolGuy123 closed 1 year ago

AsianKoala commented 1 year ago

Few options here. Could have a separate EncoderFactory (imagine the case where .reverseEncoder or .zero is placed before .createEncoder). This would solve the issue by enforcing how encoders are created. On the other hand, I could just put everything in the encoder constructor, but this might be somewhat clunky.