Closed ZachOrr closed 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.
RobotType
RobotType.Type
Setting constants might also look something like... RobotType.getRobotType() == RobotType.Type.PRACTICE ? {practice bot value} : {comp bot value}
RobotType.getRobotType() == RobotType.Type.PRACTICE ? {practice bot value} : {comp bot value}
Pretty basic code (copied from 254's
RobotType
class + using 2337's 2020 MAC address fetching code) to get theRobotType.Type
from a MAC address.Setting constants might also look something like...
RobotType.getRobotType() == RobotType.Type.PRACTICE ? {practice bot value} : {comp bot value}