Skip to content

Commit

Permalink
Set EStop for all alliance stations in arena match flow test
Browse files Browse the repository at this point in the history
  • Loading branch information
cpapplefamily committed Dec 23, 2024
1 parent 2339977 commit c36a567
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions field/arena_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,12 @@ func TestArenaMatchFlow(t *testing.T) {
arena.Update()
assert.Equal(t, lastPacketCount+1, arena.AllianceStations["B3"].DsConn.packetCount)

arena.AllianceStations["A1"].EStop = true
arena.AllianceStations["A2"].EStop = true
arena.AllianceStations["A3"].EStop = true
arena.AllianceStations["B1"].EStop = true
arena.AllianceStations["B2"].EStop = true
arena.AllianceStations["B3"].EStop = true
// Check match start, autonomous and transition to teleop.
arena.AllianceStations["R1"].Bypass = true
arena.AllianceStations["R2"].Bypass = true
Expand Down

0 comments on commit c36a567

Please sign in to comment.