More buttons

graph-rework
noah metz 2023-06-16 17:45:10 -06:00
parent 353b54757d
commit 6715bcbf01
2 changed files with 5 additions and 2 deletions

@ -77,3 +77,6 @@ async function match_state(match_id, state) {
</script>
<Button on:click={()=>match_state(game_id, "queue_autonomous")}>Queue Autonomous</Button>
<Button on:click={()=>match_state(game_id, "start_autonomous")}>Start Autonomous</Button>
<Button on:click={()=>match_state(game_id, "queue_driver")}>Queue Driver</Button>
<Button on:click={()=>match_state(game_id, "start_driver")}>Start Driver</Button>

@ -139,8 +139,8 @@ func NewVexEvent(name string, description string) * VexEvent {
}
const start_slack = 250 * time.Millisecond
const TEMP_AUTON_TIME = 1 * time.Second
const TEMP_DRIVE_TIME = 1 * time.Second
const TEMP_AUTON_TIME = 5 * time.Second
const TEMP_DRIVE_TIME = 5 * time.Second
type Match struct {
BaseEvent