Commit 6ff4cea
Shared Utility File for rj_strategy Positions (#2525)
* wrote the basic framework for exporting common utilities, replaced one such example in offense
* comp changes (#2522)
* added robot pid values
* Final PID values
* field teting 3/17
* 03/18fasdfasdfsadjfjsdahflkajsdhfkljasdhfaslfhk
* uh shit might work
* sdfsadfsfd
* march 202sjflsakdjflsadfjlks
* defense now has a state for shooting to goal if closest to ball
* added bounding checks to ensure kicking field and kick only when ball is slow
* comp changes
* Fix Code Style On field-testing-3-15 (#2523)
automated style fixes
Co-authored-by: Squid5678 <Squid5678@users.noreply.github.com>
* i forgot header files were a thing
* rebase
* fix defense shooting
* int not double
---------
Co-authored-by: rishiso <rishisoni.5678@gmail.com>
Co-authored-by: sanat <saisanat@gmail.com>
Co-authored-by: Sid Parikh <parikhsid16@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Squid5678 <Squid5678@users.noreply.github.com>
* wrote the basic framework for exporting common utilities, replaced one such example in offense
* distilling some computations from offense
* refactored solo offense with position utils (also made solo offense into a MVP robot position we can test on sunday)
* I think it's bad for me to pollute this namespace? I don't really know how namespaces work.
* tiny cleanups
* rules
* passing a non-positive value into granularity would infinite loop, might as well squash that bug early
* Fix Code Style On common_utils (#2526)
* automated style fixes
* I don't like the way it styled this
---------
Co-authored-by: rhkoulen <rhkoulen@users.noreply.github.com>
Co-authored-by: r.koulen.p@gmail.com <rkoulen3@gatech.edu>
* review fixes
* Fix Code Style On common_utils (#2532)
automated style fixes
Co-authored-by: rhkoulen <rhkoulen@users.noreply.github.com>
* fixes to calculate_kick_speed
* Fix Code Style On common_utils (#2533)
automated style fixes
Co-authored-by: rhkoulen <rhkoulen@users.noreply.github.com>
---------
Co-authored-by: r.koulen.p@gmail.com <rkoulen3@gatech.edu>
Co-authored-by: Aalind Tyagi <42896179+Squid5678@users.noreply.github.com>
Co-authored-by: rishiso <rishisoni.5678@gmail.com>
Co-authored-by: sanat <saisanat@gmail.com>
Co-authored-by: Sid Parikh <parikhsid16@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Squid5678 <Squid5678@users.noreply.github.com>
Co-authored-by: rhkoulen <rhkoulen@users.noreply.github.com>1 parent eef9bdc commit 6ff4cea
6 files changed
Lines changed: 448 additions & 274 deletions
File tree
- src
- rj_constants/include/rj_constants
- rj_strategy
- include/rj_strategy/agent
- position
- src/agent/position
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
| 30 | + | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
| |||
Lines changed: 1 addition & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
230 | 231 | | |
231 | 232 | | |
232 | 233 | | |
233 | | - | |
234 | | - | |
235 | | - | |
236 | | - | |
237 | | - | |
238 | | - | |
239 | | - | |
240 | | - | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
247 | | - | |
248 | 234 | | |
249 | 235 | | |
250 | 236 | | |
| |||
Lines changed: 31 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
44 | 64 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
| 65 | + | |
49 | 66 | | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | 67 | | |
54 | 68 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 69 | | |
59 | | - | |
60 | | - | |
61 | | - | |
62 | 70 | | |
63 | 71 | | |
64 | 72 | | |
0 commit comments