-
Notifications
You must be signed in to change notification settings - Fork 613
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fieldImages] Add 2024 field image (#6166)
- Loading branch information
1 parent
a2e4d0b
commit 8659372
Showing
5 changed files
with
37 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
fieldImages/src/main/native/include/fields/2024-crescendo.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
// Copyright (c) FIRST and other WPILib contributors. | ||
// Open Source Software; you can modify and/or share it under the terms of | ||
// the WPILib BSD license file in the root directory of this project. | ||
|
||
#pragma once | ||
|
||
#include <string_view> | ||
|
||
namespace fields { | ||
std::string_view GetResource_2024_crescendo_json(); | ||
std::string_view GetResource_2024_field_png(); | ||
} // namespace fields |
19 changes: 19 additions & 0 deletions
19
fieldImages/src/main/native/resources/edu/wpi/first/fields/2024-crescendo.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"game": "Crescendo", | ||
"field-image": "2024-field.png", | ||
"field-corners": { | ||
"top-left": [ | ||
46, | ||
36 | ||
], | ||
"bottom-right": [ | ||
1088, | ||
544 | ||
] | ||
}, | ||
"field-size": [ | ||
54.27083, | ||
26.2916 | ||
], | ||
"field-unit": "foot" | ||
} |
Binary file added
BIN
+1.13 MB
fieldImages/src/main/native/resources/edu/wpi/first/fields/2024-field.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.