-
Notifications
You must be signed in to change notification settings - Fork 0
Motion planning tests #76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
0ee5652
bc68db2
0f4327b
ad2bd95
855fb39
7be09fa
c2a697a
c75f02a
37eeb8e
d0b3a6d
7a47ec2
cc57336
dba9797
cb20b79
894d470
6efe37c
c386f6c
cce9e3e
f6cee66
7745d3c
fc8e8bd
29405aa
56cd758
97f83d2
f8d5364
52cbeeb
a2645bb
eefa9cb
4e09fb3
08a2446
98506ef
e71c569
f117112
c89fab4
f0b0326
5cc6a85
1601e2f
49323c5
3350293
7b46133
b7527d5
4acd52a
955a724
e65cb89
5269993
46e1c31
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| When doing a code review, keep your suggestions focused on real issues in readability, maintainability, performance, security, and adherence to best practices. Avoid suggesting trivial minor issues like unused imports, American vs British spelling or minor formatting tweaks unless they significantly impact the quality of the code. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -166,39 +166,39 @@ def field_bounds(self) -> FieldBounds: | |
| ### Class Properties for standard field dimensions ### | ||
|
|
||
| @ClassProperty | ||
| def half_goal_width(cls) -> float: | ||
| def HALF_GOAL_WIDTH(cls) -> float: | ||
|
||
| return cls._HALF_GOAL_WIDTH | ||
|
|
||
| @ClassProperty | ||
| def left_goal_line(cls) -> np.ndarray: | ||
| def LEFT_GOAL_LINE(cls) -> np.ndarray: | ||
|
||
| return cls._LEFT_GOAL_LINE | ||
|
|
||
| @ClassProperty | ||
| def right_goal_line(cls) -> np.ndarray: | ||
| def RIGHT_GOAL_LINE(cls) -> np.ndarray: | ||
|
||
| return cls._RIGHT_GOAL_LINE | ||
|
|
||
| @ClassProperty | ||
| def left_defense_area(cls) -> np.ndarray: | ||
| def LEFT_DEFENSE_AREA(cls) -> np.ndarray: | ||
|
||
| return cls._LEFT_DEFENSE_AREA | ||
|
|
||
| @ClassProperty | ||
| def right_defense_area(cls) -> np.ndarray: | ||
| def RIGHT_DEFENSE_AREA(cls) -> np.ndarray: | ||
energy-in-joles marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| return cls._RIGHT_DEFENSE_AREA | ||
|
|
||
| @ClassProperty | ||
| def full_field_half_length(cls) -> float: | ||
| def FULL_FIELD_HALF_LENGTH(cls) -> float: | ||
energy-in-joles marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| return cls._FULL_FIELD_HALF_LENGTH | ||
|
|
||
| @ClassProperty | ||
| def full_field_half_width(cls) -> float: | ||
| def FULL_FIELD_HALF_WIDTH(cls) -> float: | ||
energy-in-joles marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| return cls._FULL_FIELD_HALF_WIDTH | ||
|
|
||
| @ClassProperty | ||
| def full_field(cls) -> np.ndarray: | ||
| def FULL_FIELD(cls) -> np.ndarray: | ||
energy-in-joles marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| return cls._FULL_FIELD | ||
|
|
||
| @ClassProperty | ||
| def full_field_bounds(cls) -> FieldBounds: | ||
| def FULL_FIELD_BOUNDS(cls) -> FieldBounds: | ||
energy-in-joles marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| return FieldBounds( | ||
| top_left=(-cls._FULL_FIELD_HALF_LENGTH, cls._FULL_FIELD_HALF_WIDTH), | ||
| bottom_right=(cls._FULL_FIELD_HALF_LENGTH, -cls._FULL_FIELD_HALF_WIDTH), | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.