fms_parser

package
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 23, 2025 License: Zlib Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 GetDefaultBreakdowns(year int) map[string]any

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

type FMSParseConfig struct {
	Playoff         bool
	EnabledExtraRps []bool
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL