Team2337 / 2022-Presented-By-Noahs-Arcade

Other
1 stars 0 forks source link

Add class + types for getting the Robot type (practice or comp) #23

Closed ZachOrr closed 2 years ago

ZachOrr commented 2 years ago

Pretty basic code (copied from 254's RobotType class + using 2337's 2020 MAC address fetching code) to get the RobotType.Type from a MAC address.

Setting constants might also look something like... RobotType.getRobotType() == RobotType.Type.PRACTICE ? {practice bot value} : {comp bot value}