Documentation
¶
Index ¶
Constants ¶
View Source
const ( K2019_BAY_NONE = "None" K2019_BAY_PANEL = "Panel" K2019_BAY_CARGO = "Cargo" // preload only K2019_BAY_PANEL_AND_CARGO = "PanelAndCargo" )
View Source
const ( K2023_COMMUNITY_BOTTOM = "Bottom" K2023_COMMUNITY_MIDDLE = "Middle" K2023_COMMUNITY_TOP = "Top" K2023_COMMUNITY_NONE = "None" K2023_COMMUNITY_CUBE = "Cube" K2023_COMMUNITY_CONE = "Cone" )
View Source
const COMMUNITY_ROW_LENGTH = 9
Variables ¶
View Source
var DEFAULT_BREAKDOWN_VALUES_2022 = map[string]any{ "adjustPoints": 0, "autoCargoLowerBlue": 0, "autoCargoLowerFar": 0, "autoCargoLowerNear": 0, "autoCargoLowerRed": 0, "autoCargoPoints": 0, "autoCargoTotal": 0, "autoCargoUpperBlue": 0, "autoCargoUpperFar": 0, "autoCargoUpperNear": 0, "autoCargoUpperRed": 0, "autoPoints": 0, "autoTaxiPoints": 0, "cargoBonusRankingPoint": false, "endgamePoints": 0, "endgameRobot1": "None", "endgameRobot2": "None", "endgameRobot3": "None", "foulCount": 0, "foulPoints": 0, "hangarBonusRankingPoint": false, "matchCargoTotal": 0, "quintetAchieved": false, "rp": 0, "taxiRobot1": "No", "taxiRobot2": "No", "taxiRobot3": "No", "techFoulCount": 0, "teleopCargoLowerBlue": 0, "teleopCargoLowerFar": 0, "teleopCargoLowerNear": 0, "teleopCargoLowerRed": 0, "teleopCargoPoints": 0, "teleopCargoTotal": 0, "teleopCargoUpperBlue": 0, "teleopCargoUpperFar": 0, "teleopCargoUpperNear": 0, "teleopCargoUpperRed": 0, "teleopPoints": 0, "totalPoints": 0, }
View Source
var DEFAULT_BREAKDOWN_VALUES_2023 = map[string]any{}
View Source
var DEFAULT_BREAKDOWN_VALUES_2024 = map[string]any{}
View Source
var DEFAULT_BREAKDOWN_VALUES_2025 = map[string]any{}
View Source
var REEF_THRESHOLDS = map[string][4]int{
"auto": {3, 4, 6, 7},
"teleop": {2, 3, 4, 5},
}
View Source
var RP_BADGE_NAMES_2022 = map[string]string{
"Cargo Bonus Ranking Point Achieved": "cargoBonusRankingPoint",
"Hangar Bonus Ranking Point Achieved": "hangarBonusRankingPoint",
}
Functions ¶
func GetDefaultBreakdowns ¶ added in v0.14.0
func ParseHTMLtoJSON ¶
func ParseHTMLtoJSON(year int, filename string, config FMSParseConfig) (map[string]interface{}, error)
Types ¶
type Community2023 ¶ added in v0.16.0
type Community2023 struct {
// contains filtered or unexported fields
}
type ExtraMatchAllianceInfo ¶ added in v0.9.1
type ExtraMatchAllianceInfo interface{}
type ExtraMatchInfo ¶
type ExtraMatchInfo struct {
MatchCodeOverride *tba.MatchCode `json:"match_code_override"`
Red ExtraMatchAllianceInfo `json:"red"`
Blue ExtraMatchAllianceInfo `json:"blue"`
}
func MakeExtraMatchInfo ¶
func MakeExtraMatchInfo(year int) (ExtraMatchInfo, error)
type FMSParseConfig ¶ added in v0.17.0
Click to show internal directories.
Click to hide internal directories.