-
-

1 - Java Programming

+
+

Java / roboRIO Programming

Introduction

-

The official WPILib documentation has the most amount of content regarding FRC programming. Reading through the entire Wiki will set you ahead of majority of FRC programmers. Some components do not have official WPILib support and contain their documentation externally, such as Phoneix 6 and NavX2

+

The official WPILib documentation has the most amount of content regarding FRC programming. Reading through the entire Wiki will set you ahead of majority of FRC programmers. Some components do not have official WPILib support and contain their documentation externally, such as Phoenix 6 and NavX2

+
+
+

Library guides

+ +
+
+

API references

+
@@ -361,8 +384,10 @@

Introduction
+
Java / roboRIO Programming
diff --git a/dev/Resources/3_Coprocessors/index.html b/dev/Resources/3_Coprocessors/index.html index 7b4043d..84a08c2 100644 --- a/dev/Resources/3_Coprocessors/index.html +++ b/dev/Resources/3_Coprocessors/index.html @@ -240,7 +240,7 @@
  • Resources
    • Style guide
    • -
    • 1 - Java Programming
    • +
    • Java / roboRIO Programming
    • 2 - C++ Programming
    • 3 - Coprocessors
    • 4 - Linux
    • diff --git a/dev/Resources/4_Linux/index.html b/dev/Resources/4_Linux/index.html index a29f8a7..6a9233e 100644 --- a/dev/Resources/4_Linux/index.html +++ b/dev/Resources/4_Linux/index.html @@ -240,7 +240,7 @@
    • Resources
      • Style guide
      • -
      • 1 - Java Programming
      • +
      • Java / roboRIO Programming
      • 2 - C++ Programming
      • 3 - Coprocessors
      • 4 - Linux
      • diff --git a/dev/Resources/StyleGuide.html b/dev/Resources/StyleGuide.html index baeb86d..73e6184 100644 --- a/dev/Resources/StyleGuide.html +++ b/dev/Resources/StyleGuide.html @@ -3,7 +3,7 @@ - + Style guide - Titan Robotics 2024 documentation @@ -240,7 +240,7 @@
      • Resources
        • Style guide
        • -
        • 1 - Java Programming
        • +
        • Java / roboRIO Programming
        • 2 - C++ Programming
        • 3 - Coprocessors
        • 4 - Linux
        • @@ -370,7 +370,7 @@

          Structure Next -
          1 - Java Programming
          +
          Java / roboRIO Programming
          diff --git a/dev/Resources/index.html b/dev/Resources/index.html index 4850996..7985365 100644 --- a/dev/Resources/index.html +++ b/dev/Resources/index.html @@ -240,7 +240,7 @@
        • Resources
          • Style guide
          • -
          • 1 - Java Programming
          • +
          • Java / roboRIO Programming
          • 2 - C++ Programming
          • 3 - Coprocessors
          • 4 - Linux
          • @@ -307,7 +307,7 @@

            Documentation and other websitesContents

            • Style guide
            • -
            • 1 - Java Programming
            • +
            • Java / roboRIO Programming
            • 2 - C++ Programming
            • 3 - Coprocessors
            • 4 - Linux
            • diff --git a/dev/TitanAlgorithms/index.html b/dev/TitanAlgorithms/index.html index 6b8c892..befa681 100644 --- a/dev/TitanAlgorithms/index.html +++ b/dev/TitanAlgorithms/index.html @@ -240,7 +240,7 @@
            • Resources
              • Style guide
              • -
              • 1 - Java Programming
              • +
              • Java / roboRIO Programming
              • 2 - C++ Programming
              • 3 - Coprocessors
              • 4 - Linux
              • diff --git a/dev/TitanProcessing/1_Installation/index.html b/dev/TitanProcessing/1_Installation/index.html index 5c5c6f6..3ab2b8f 100644 --- a/dev/TitanProcessing/1_Installation/index.html +++ b/dev/TitanProcessing/1_Installation/index.html @@ -240,7 +240,7 @@
              • Resources
                • Style guide
                • -
                • 1 - Java Programming
                • +
                • Java / roboRIO Programming
                • 2 - C++ Programming
                • 3 - Coprocessors
                • 4 - Linux
                • diff --git a/dev/TitanProcessing/2_AprilTags/index.html b/dev/TitanProcessing/2_AprilTags/index.html index 308849b..86f9137 100644 --- a/dev/TitanProcessing/2_AprilTags/index.html +++ b/dev/TitanProcessing/2_AprilTags/index.html @@ -240,7 +240,7 @@
                • Resources
                  • Style guide
                  • -
                  • 1 - Java Programming
                  • +
                  • Java / roboRIO Programming
                  • 2 - C++ Programming
                  • 3 - Coprocessors
                  • 4 - Linux
                  • diff --git a/dev/TitanProcessing/3_Localization/index.html b/dev/TitanProcessing/3_Localization/index.html index dd0fddd..f45be05 100644 --- a/dev/TitanProcessing/3_Localization/index.html +++ b/dev/TitanProcessing/3_Localization/index.html @@ -240,7 +240,7 @@
                  • Resources
                    • Style guide
                    • -
                    • 1 - Java Programming
                    • +
                    • Java / roboRIO Programming
                    • 2 - C++ Programming
                    • 3 - Coprocessors
                    • 4 - Linux
                    • diff --git a/dev/TitanProcessing/4_Networking/index.html b/dev/TitanProcessing/4_Networking/index.html index 6ca268d..e73a553 100644 --- a/dev/TitanProcessing/4_Networking/index.html +++ b/dev/TitanProcessing/4_Networking/index.html @@ -240,7 +240,7 @@
                    • Resources
                      • Style guide
                      • -
                      • 1 - Java Programming
                      • +
                      • Java / roboRIO Programming
                      • 2 - C++ Programming
                      • 3 - Coprocessors
                      • 4 - Linux
                      • diff --git a/dev/TitanProcessing/index.html b/dev/TitanProcessing/index.html index c2c280c..2ba9766 100644 --- a/dev/TitanProcessing/index.html +++ b/dev/TitanProcessing/index.html @@ -240,7 +240,7 @@
                      • Resources
                        • Style guide
                        • -
                        • 1 - Java Programming
                        • +
                        • Java / roboRIO Programming
                        • 2 - C++ Programming
                        • 3 - Coprocessors
                        • 4 - Linux
                        • diff --git a/dev/_sources/Resources/1_JavaProgramming/index.md.txt b/dev/_sources/Resources/1_JavaProgramming/index.md.txt index f9890e8..6f827ac 100644 --- a/dev/_sources/Resources/1_JavaProgramming/index.md.txt +++ b/dev/_sources/Resources/1_JavaProgramming/index.md.txt @@ -1,5 +1,21 @@ -# 1 - Java Programming +# Java / roboRIO Programming ## Introduction -The [official WPILib documentation](https://docs.wpilib.org/en/stable/) has the most amount of content regarding FRC programming. Reading through the entire Wiki will set you ahead of majority of FRC programmers. Some components do not have official WPILib support and contain their documentation externally, such as [Phoneix 6](https://v6.docs.ctr-electronics.com/en/stable/) and [NavX2](https://pdocs.kauailabs.com/navx-mxp/) \ No newline at end of file +The [official WPILib documentation](https://docs.wpilib.org/en/stable/) has the most amount of content regarding FRC programming. Reading through the entire Wiki will set you ahead of majority of FRC programmers. Some components do not have official WPILib support and contain their documentation externally, such as [Phoenix 6](https://v6.docs.ctr-electronics.com/en/stable/) and [NavX2](https://pdocs.kauailabs.com/navx-mxp/) + +## Library guides + +* WPILib + * [Basic Programming](https://docs.wpilib.org/en/stable/docs/software/basic-programming/index.html) + * [Command-Based Programming](https://docs.wpilib.org/en/stable/docs/software/commandbased/index.html) + * [Kinematics and Odometry](https://docs.wpilib.org/en/stable/docs/software/kinematics-and-odometry/index.html) +* [CTRE Phoenix 6](https://v6.docs.ctr-electronics.com/en/stable/index.html) +* [PathPlanner](https://pathplanner.dev/home.html) + +## API references + +* [WPILib (`edu.wpi.first`)](https://github.wpilib.org/allwpilib/docs/release/java/index.html) +* [CTRE Phoenix 6 (`com.ctre.phoenix6`)](https://api.ctr-electronics.com/phoenix6/release/java/) +* [PathPlannerLib (`com.pathplanner.lib`)](https://pathplanner.dev/api/java/) +* [FRC-REVLib (`com.revrobotics`)](https://codedocs.revrobotics.com/java/) \ No newline at end of file diff --git a/dev/genindex.html b/dev/genindex.html index 477d38e..ecc784c 100644 --- a/dev/genindex.html +++ b/dev/genindex.html @@ -238,7 +238,7 @@
                        • Resources
                          • Style guide
                          • -
                          • 1 - Java Programming
                          • +
                          • Java / roboRIO Programming
                          • 2 - C++ Programming
                          • 3 - Coprocessors
                          • 4 - Linux
                          • diff --git a/dev/index.html b/dev/index.html index 6790f88..327704e 100644 --- a/dev/index.html +++ b/dev/index.html @@ -240,7 +240,7 @@
                          • Resources
                            • Style guide
                            • -
                            • 1 - Java Programming
                            • +
                            • Java / roboRIO Programming
                            • 2 - C++ Programming
                            • 3 - Coprocessors
                            • 4 - Linux
                            • @@ -341,7 +341,7 @@

                              Titan Robotics #2022 DocumentationResources
                              • Style guide
                              • -
                              • 1 - Java Programming
                              • +
                              • Java / roboRIO Programming
                              • 2 - C++ Programming
                              • 3 - Coprocessors
                              • 4 - Linux
                              • diff --git a/dev/objects.inv b/dev/objects.inv index cfe5a8f07a0cfd3270a9f6b686ecb46e41960a5e..2e04a1ad64ffd972d40f215601cb735c9dd538b3 100644 GIT binary patch delta 297 zcmV+^0oMM{2G<6#I0AojymBYN*_J)tJv45mD#4EyMd3)ZdkxHoF)VIwIw(_hA_~r8 z-B>RA7&fONOf{jV)#7K-iqP_q4quY4AqgYgw+adXo_nX0o;a2D&9a?!`I zISpZ|2{o-2KZ{m`mM?v|4T}k!slel4Eom(e8U9`p^}EO#Q|Tt-_#IL`P)q5VM~#0O z9Bqh1be^SZgUelRska(V$3;s}X(lW*ZPE|Pi|(k9DC;^HF8+UNE7i3Y%8%v+C)oz2 zVwlr1R~zXpz!FOwTT#isbRGS!l*i2hivtO7ZAFM)KX2QAd%9 diff --git a/dev/search.html b/dev/search.html index 5e1c0f7..c3f66eb 100644 --- a/dev/search.html +++ b/dev/search.html @@ -240,7 +240,7 @@
                              • Resources
                                • Style guide
                                • -
                                • 1 - Java Programming
                                • +
                                • Java / roboRIO Programming
                                • 2 - C++ Programming
                                • 3 - Coprocessors
                                • 4 - Linux
                                • diff --git a/dev/searchindex.js b/dev/searchindex.js index 7bb49ba..9aaa8c1 100644 --- a/dev/searchindex.js +++ b/dev/searchindex.js @@ -1 +1 @@ -Search.setIndex({"docnames": ["PreseasonTraining/2024CodeOverview/index", "PreseasonTraining/ArmSimulation/Tutorial", "PreseasonTraining/ArmSimulation/index", "PreseasonTraining/AutonomousSimulation/Tutorial", "PreseasonTraining/AutonomousSimulation/index", "PreseasonTraining/JavaBasics/index", "PreseasonTraining/LEDProgramming/Tutorial", "PreseasonTraining/LEDProgramming/index", "PreseasonTraining/Mock1/index", "PreseasonTraining/Mock2/index", "PreseasonTraining/OpenCV_ColorSegmentation/Tutorial", "PreseasonTraining/OpenCV_ColorSegmentation/index", "PreseasonTraining/Overview/index", "PreseasonTraining/TankDriveSimulation/Tutorial", "PreseasonTraining/TankDriveSimulation/index", "PreseasonTraining/index", "Resources/1_JavaProgramming/index", "Resources/2_CppProgramming/index", "Resources/3_Coprocessors/index", "Resources/4_Linux/index", "Resources/StyleGuide", "Resources/index", "TitanAlgorithms/index", "TitanProcessing/1_Installation/index", "TitanProcessing/2_AprilTags/index", "TitanProcessing/3_Localization/index", "TitanProcessing/4_Networking/index", "TitanProcessing/index", "index"], "filenames": ["PreseasonTraining/2024CodeOverview/index.md", "PreseasonTraining/ArmSimulation/Tutorial.md", "PreseasonTraining/ArmSimulation/index.md", "PreseasonTraining/AutonomousSimulation/Tutorial.md", "PreseasonTraining/AutonomousSimulation/index.md", "PreseasonTraining/JavaBasics/index.md", "PreseasonTraining/LEDProgramming/Tutorial.md", "PreseasonTraining/LEDProgramming/index.md", "PreseasonTraining/Mock1/index.md", "PreseasonTraining/Mock2/index.md", "PreseasonTraining/OpenCV_ColorSegmentation/Tutorial.md", "PreseasonTraining/OpenCV_ColorSegmentation/index.md", "PreseasonTraining/Overview/index.md", "PreseasonTraining/TankDriveSimulation/Tutorial.md", "PreseasonTraining/TankDriveSimulation/index.md", "PreseasonTraining/index.md", "Resources/1_JavaProgramming/index.md", "Resources/2_CppProgramming/index.md", "Resources/3_Coprocessors/index.md", "Resources/4_Linux/index.md", "Resources/StyleGuide.md", "Resources/index.md", "TitanAlgorithms/index.md", "TitanProcessing/1_Installation/index.md", "TitanProcessing/2_AprilTags/index.md", "TitanProcessing/3_Localization/index.md", "TitanProcessing/4_Networking/index.md", "TitanProcessing/index.md", "index.md"], "titles": ["Lesson 8: 2024 Code overview", "Arm Simulation: Tutorial", "Lesson 5: Arm Simulation", "Arm Simulation: Tutorial", "Lesson 4: Autonomous Simulation", "Lesson 2: Java Basics", "LED Programming: Tutorial", "LED Programming", "Lesson 6: Mock Season Part 1\u2014Subsystems/Commands", "Lesson 7: Mock Season Part 2\u2014Autonomous", "Color-based segmentation in OpenCV Python: Tutorial", "Color-based segmentation in OpenCV Python", "Lesson 1: Setup, Strategy, Overview (All-Team)", "Tank Drive Simulation: Tutorial", "Lesson 3: Tank Drive Simulation", "Preseason Training", "1 - Java Programming", "2 - C++ Programming", "3 - Coprocessors", "4 - Linux", "Style guide", "Resources", "Titan Algorithms", "1 - Installation", "2 - AprilTag Detection", "3 - Localization", "4 - Networking", "Titan Processing", "Titan Robotics #2022 Documentation"], "terms": {"last": 0, "year": 0, "everi": [0, 5], "command": [0, 5, 15, 20, 28], "subsystem": [0, 15, 20, 28], "vision": [0, 9, 12, 27], "qna": 0, "watch": 0, "old": 0, "match": 0, "strategi": [0, 15, 28], "inspir": 0, "todo": [1, 3, 6, 10, 13], "import": [1, 3, 5, 12, 13, 20], "http": [1, 3, 6, 13], "titanrobotics2022": [1, 3, 6, 13], "notion": [1, 3, 6, 13], "site": [1, 3, 6, 13], "5": [1, 15, 28], "4": [1, 15, 21, 27, 28], "91d67fab859a40968919a2f86e20ffcf": 1, "tutori": [2, 4, 7, 11, 14, 15, 28], "add": [2, 5, 14], "torqu": 2, "graviti": 2, "talk": [2, 14], "about": [2, 14, 21], "pidf": [2, 14], "usag": [2, 14], "3": [3, 8, 15, 21, 27, 28], "autonom": [3, 12, 15, 28], "1717871dea664a40b1e3d33cb9062274": 3, "arm": [4, 15, 20, 28], "what": [5, 12], "i": [5, 12, 20, 27], "A": 5, "jit": 5, "compil": [5, 27], "just": 5, "In": 5, "time": [5, 12, 21], "languag": 5, "bytecod": 5, "Then": 5, "translat": 5, "machin": 5, "code": [5, 12, 15, 20, 28], "target": [5, 27], "platform": 5, "make": [5, 12], "more": [5, 14, 21], "cross": 5, "than": 5, "c": [5, 21, 28], "which": 5, "directli": 5, "static": 5, "type": 5, "variabl": [5, 20], "ha": [5, 12, 16], "e": [5, 8, 20], "g": [5, 8, 20], "int": 5, "integ": 5, "number": 5, "doubl": 5, "decim": 5, "string": 5, "text": 5, "etc": [5, 8], "lower": 5, "case": [5, 20], "primit": 5, "includ": [5, 20, 27], "upper": 5, "class": [5, 20], "complex": 5, "see": 5, "next": 5, "object": 5, "orient": 5, "program": [5, 8, 12, 15, 21, 28], "everyth": 5, "an": [5, 27], "certain": 5, "each": 5, "can": [5, 12], "have": [5, 12, 16], "function": 5, "There": 5, "": [5, 12, 20], "also": 5, "constructor": 5, "ar": [5, 21], "method": [5, 20], "run": 5, "when": 5, "you": [5, 16], "creat": [5, 27], "modifi": 5, "public": [5, 20], "privat": [5, 20], "readonli": 5, "thing": 5, "onli": [5, 12], "access": [5, 12, 20], "insid": 5, "same": 5, "all": [5, 15, 28], "instanc": 5, "cant": 5, "after": [5, 12, 21], "creation": 5, "btw": 5, "member": [5, 20], "attribut": 5, "python": [5, 15, 28], "exampl": 5, "car": 5, "engin": 5, "new": 5, "float": 5, "fuel": 5, "0": 5, "unit": 5, "gallon": 5, "mileag": 5, "mile": 5, "The": [5, 16, 20, 27], "thi": [5, 12, 20, 27], "drive": [5, 12, 15, 20, 28], "x": [5, 12], "void": 5, "drivecar": 5, "33": 5, "per": 5, "addfuel": 5, "main": [5, 27], "hondaciv": 5, "brand": 5, "zero": 5, "10": 5, "fill": 5, "up": 5, "30": 5, "drove": 5, "imsa": 5, "librari": [5, 27], "other": 5, "typic": 5, "written": 5, "peopl": 5, "consist": [5, 20], "standard": 5, "wpilib": [5, 12, 16, 20], "we": [5, 10, 12], "us": [5, 12, 21, 27], "frc": [5, 12, 16, 21], "It": [5, 27], "stuff": 5, "like": [5, 12], "motor": [5, 8, 12], "sensor": [5, 8], "our": [5, 20], "gyroscop": 5, "manufactur": 5, "And": 5, "own": 5, "reusabl": 5, "titan": 5, "algorithm": [5, 28], "walkthrough": 5, "practic": 5, "inventori": 5, "manag": [5, 12], "item": 5, "name": 5, "quantiti": 5, "arraylist": 5, "additem": 5, "search": 5, "queri": 5, "result": 5, "size": 5, "If": 5, "get": 5, "contain": [5, 16], "ye": 5, "n": 5, "r": 5, "window": 5, "special": 5, "charact": 5, "line": 5, "util": [5, 8, 20], "scanner": 5, "print": 5, "done": 5, "automat": 5, "vscode": [5, 12], "inventorymanag": 5, "arg": 5, "system": 5, "out": [5, 10], "println": 5, "welcom": 5, "No": 5, "space": [5, 12], "find": 5, "exit": 5, "leav": 5, "record": 5, "user": 5, "input": 5, "inputscann": 5, "while": [5, 12], "loop": 5, "condit": 5, "true": 5, "boolean": 5, "isrun": 5, "userinput": 5, "nextlin": 5, "splittedcommand": 5, "split": [5, 8], "arrai": 5, "word": 5, "startswith": 5, "fals": 5, "els": [5, 20], "count": 5, "convert": 5, "newitem": 5, "1": [5, 6, 15, 21, 27, 28], "parseint": 5, "ad": 5, "unknown": 5, "migrat": 6, "a513f3e774704473a6b4b1377751d5e": 6, "here": [6, 12], "provid": [8, 9], "swerv": 8, "local": [8, 9, 20, 27, 28], "measur": 8, "id": 8, "resourc": [8, 28], "link": [8, 12], "group": [8, 20], "intak": 8, "index": 8, "led": [8, 15, 28], "2": [8, 13, 15, 21, 27, 28], "elev": 8, "shooter": 8, "give": 8, "hint": 8, "implement": 8, "detail": 8, "some": [8, 16], "posit": 8, "math": 8, "teach": 9, "pathplann": [9, 20], "figur": 10, "where": 10, "put": 10, "doe": 12, "do": [12, 16], "best": 12, "smoothest": 12, "experi": 12, "driver": 12, "reduc": 12, "amount": [12, 16], "think": 12, "wast": 12, "dure": 12, "game": 12, "through": [12, 16, 27], "optim": 12, "autom": 12, "task": 12, "score": 12, "much": [12, 20], "point": 12, "15": 12, "second": 12, "period": 12, "good": 12, "bad": 12, "robot": [12, 27], "perform": 12, "structur": 12, "project": 12, "file": [12, 20], "store": 12, "github": 12, "softwar": 12, "bild": 12, "coprocessor": [12, 21, 27, 28], "control": 12, "roborio": 12, "most": [12, 16], "part": [12, 15, 28], "should": 12, "alwai": [12, 21], "plug": 12, "comput": 12, "usb": 12, "ethernet": 12, "wifi": 12, "station": 12, "press": 12, "enter": 12, "disabl": 12, "emerg": 12, "stop": 12, "restart": 12, "enabl": 12, "again": 12, "light": 12, "green": 12, "work": 12, "phoenix": 12, "tuner": 12, "monitor": 12, "how": 12, "need": 12, "non": 12, "programm": [12, 16], "know": 12, "rememb": 12, "t": 12, "fly": 12, "substitut": 12, "hardwar": 12, "hard": 12, "di": 12, "two": 12, "custom": 12, "pleas": [12, 20], "ask": 12, "u": 12, "design": 12, "cheatsheet": 12, "rev": 12, "client": 12, "git": 12, "linux": [12, 21, 28], "homework": 12, "subteam": 12, "download": 12, "java": [12, 15, 21, 28], "sign": 12, "1291dde0e33245d3aa9b26da1b6b99b4": 13, "friction": 14, "physic": 14, "lesson": [15, 28], "setup": [15, 28], "overview": [15, 28], "team": [15, 20, 21, 28], "color": [15, 28], "base": [15, 28], "segment": [15, 28], "opencv": [15, 28], "basic": [15, 28], "tank": [15, 28], "simul": [15, 28], "6": [15, 16, 28], "mock": [15, 28], "season": [15, 27, 28], "7": [15, 28], "8": [15, 28], "2024": [15, 27, 28], "offici": [16, 27], "document": [16, 20], "content": 16, "regard": 16, "read": 16, "entir": 16, "wiki": 16, "set": 16, "ahead": 16, "major": 16, "compon": 16, "support": 16, "extern": 16, "phoneix": 16, "navx2": 16, "aim": 20, "keep": 20, "so": 20, "follow": [20, 21], "possibl": 20, "especi": 20, "sinc": [20, 27], "lot": 20, "refer": 20, "someon": 20, "wrote": 20, "pascalcas": 20, "top": 20, "level": 20, "constant": 20, "macro_cas": 20, "m_camelcas": 20, "camelcas": 20, "enum": 20, "test": 20, "pascalcasetest": 20, "pascalcasesubsystem": 20, "abstract": 20, "pascalcasecommand": 20, "cpp": 20, "hpp": 20, "test_camelcas": 20, "cmake": 20, "modul": [20, 27], "outlin": 20, "projecct": 20, "folder": 20, "subfold": 20, "relat": [20, 21], "one": 20, "auto": 20, "full": 20, "routin": 20, "reus": 20, "learn": 21, "topic": 21, "These": 21, "simpli": 21, "recommend": 21, "from": 21, "writ": 21, "might": 21, "irrelev": 21, "even": 21, "short": 21, "check": 21, "updat": 21, "sourc": 21, "style": [21, 28], "guid": [21, 28], "2023": 27, "reason": 27, "network": [27, 28], "capabl": 27, "detect": [27, 28], "apriltag": [27, 28], "determin": 27, "pose": 27, "filter": 27, "extend": 27, "kalman": 27, "instal": [27, 28], "preseason": 28, "train": 28, "process": 28}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"lesson": [0, 2, 4, 5, 8, 9, 12, 14], "8": 0, "2024": 0, "code": 0, "overview": [0, 12], "agenda": [0, 5, 8, 9, 12], "arm": [1, 2, 3], "simul": [1, 2, 3, 4, 13, 14], "tutori": [1, 3, 6, 10, 13], "5": 2, "content": [2, 4, 7, 11, 14, 15, 21, 27, 28], "todo": [2, 14], "4": [4, 19, 26], "autonom": [4, 9], "2": [5, 9, 17, 24], "java": [5, 16, 20], "basic": 5, "led": [6, 7], "program": [6, 7, 16, 17], "6": 8, "mock": [8, 9], "season": [8, 9], "part": [8, 9], "1": [8, 12, 16, 23], "subsystem": 8, "command": 8, "7": 9, "color": [10, 11], "base": [10, 11], "segment": [10, 11], "opencv": [10, 11], "python": [10, 11], "setup": 12, "strategi": 12, "all": 12, "team": 12, "tank": [13, 14], "drive": [13, 14], "3": [14, 18, 25], "preseason": 15, "train": 15, "introduct": [16, 27], "c": [17, 20], "coprocessor": 18, "linux": 19, "style": 20, "guid": 20, "name": 20, "structur": 20, "resourc": 21, "document": [21, 28], "other": 21, "websit": 21, "titan": [22, 27, 28], "algorithm": 22, "instal": 23, "apriltag": 24, "detect": 24, "local": 25, "network": 26, "process": 27, "robot": 28, "2022": 28}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 58}, "alltitles": {"Lesson 8: 2024 Code overview": [[0, "lesson-8-2024-code-overview"]], "Agenda": [[0, "agenda"], [5, "agenda"], [8, "agenda"], [9, "agenda"], [12, "agenda"]], "Arm Simulation: Tutorial": [[1, "arm-simulation-tutorial"], [3, "arm-simulation-tutorial"]], "Lesson 5: Arm Simulation": [[2, "lesson-5-arm-simulation"]], "Contents": [[2, null], [4, null], [7, null], [11, null], [14, null], [15, null], [21, null], [27, null], [28, null]], "TODO": [[2, "todo"], [14, "todo"]], "Lesson 4: Autonomous Simulation": [[4, "lesson-4-autonomous-simulation"]], "Lesson 2: Java Basics": [[5, "lesson-2-java-basics"]], "LED Programming: Tutorial": [[6, "led-programming-tutorial"]], "LED Programming": [[7, "led-programming"]], "Lesson 6: Mock Season Part 1\u2014Subsystems/Commands": [[8, "lesson-6-mock-season-part-1subsystems-commands"]], "Lesson 7: Mock Season Part 2\u2014Autonomous": [[9, "lesson-7-mock-season-part-2autonomous"]], "Color-based segmentation in OpenCV Python: Tutorial": [[10, "color-based-segmentation-in-opencv-python-tutorial"]], "Color-based segmentation in OpenCV Python": [[11, "color-based-segmentation-in-opencv-python"]], "Lesson 1: Setup, Strategy, Overview (All-Team)": [[12, "lesson-1-setup-strategy-overview-all-team"]], "Tank Drive Simulation: Tutorial": [[13, "tank-drive-simulation-tutorial"]], "Lesson 3: Tank Drive Simulation": [[14, "lesson-3-tank-drive-simulation"]], "Preseason Training": [[15, "preseason-training"]], "1 - Java Programming": [[16, "java-programming"]], "Introduction": [[16, "introduction"], [27, "introduction"]], "2 - C++ Programming": [[17, "c-programming"]], "3 - Coprocessors": [[18, "coprocessors"]], "4 - Linux": [[19, "linux"]], "Style guide": [[20, "style-guide"]], "Naming": [[20, "naming"]], "Java": [[20, "java"]], "C++": [[20, "c"]], "Structure": [[20, "structure"]], "Resources": [[21, "resources"]], "Documentation and other websites": [[21, "documentation-and-other-websites"]], "Titan Algorithms": [[22, "titan-algorithms"]], "1 - Installation": [[23, "installation"]], "2 - AprilTag Detection": [[24, "apriltag-detection"]], "3 - Localization": [[25, "localization"]], "4 - Networking": [[26, "networking"]], "Titan Processing": [[27, "titan-processing"]], "Titan Robotics #2022 Documentation": [[28, "titan-robotics-2022-documentation"]]}, "indexentries": {}}) \ No newline at end of file +Search.setIndex({"docnames": ["PreseasonTraining/2024CodeOverview/index", "PreseasonTraining/ArmSimulation/Tutorial", "PreseasonTraining/ArmSimulation/index", "PreseasonTraining/AutonomousSimulation/Tutorial", "PreseasonTraining/AutonomousSimulation/index", "PreseasonTraining/JavaBasics/index", "PreseasonTraining/LEDProgramming/Tutorial", "PreseasonTraining/LEDProgramming/index", "PreseasonTraining/Mock1/index", "PreseasonTraining/Mock2/index", "PreseasonTraining/OpenCV_ColorSegmentation/Tutorial", "PreseasonTraining/OpenCV_ColorSegmentation/index", "PreseasonTraining/Overview/index", "PreseasonTraining/TankDriveSimulation/Tutorial", "PreseasonTraining/TankDriveSimulation/index", "PreseasonTraining/index", "Resources/1_JavaProgramming/index", "Resources/2_CppProgramming/index", "Resources/3_Coprocessors/index", "Resources/4_Linux/index", "Resources/StyleGuide", "Resources/index", "TitanAlgorithms/index", "TitanProcessing/1_Installation/index", "TitanProcessing/2_AprilTags/index", "TitanProcessing/3_Localization/index", "TitanProcessing/4_Networking/index", "TitanProcessing/index", "index"], "filenames": ["PreseasonTraining/2024CodeOverview/index.md", "PreseasonTraining/ArmSimulation/Tutorial.md", "PreseasonTraining/ArmSimulation/index.md", "PreseasonTraining/AutonomousSimulation/Tutorial.md", "PreseasonTraining/AutonomousSimulation/index.md", "PreseasonTraining/JavaBasics/index.md", "PreseasonTraining/LEDProgramming/Tutorial.md", "PreseasonTraining/LEDProgramming/index.md", "PreseasonTraining/Mock1/index.md", "PreseasonTraining/Mock2/index.md", "PreseasonTraining/OpenCV_ColorSegmentation/Tutorial.md", "PreseasonTraining/OpenCV_ColorSegmentation/index.md", "PreseasonTraining/Overview/index.md", "PreseasonTraining/TankDriveSimulation/Tutorial.md", "PreseasonTraining/TankDriveSimulation/index.md", "PreseasonTraining/index.md", "Resources/1_JavaProgramming/index.md", "Resources/2_CppProgramming/index.md", "Resources/3_Coprocessors/index.md", "Resources/4_Linux/index.md", "Resources/StyleGuide.md", "Resources/index.md", "TitanAlgorithms/index.md", "TitanProcessing/1_Installation/index.md", "TitanProcessing/2_AprilTags/index.md", "TitanProcessing/3_Localization/index.md", "TitanProcessing/4_Networking/index.md", "TitanProcessing/index.md", "index.md"], "titles": ["Lesson 8: 2024 Code overview", "Arm Simulation: Tutorial", "Lesson 5: Arm Simulation", "Arm Simulation: Tutorial", "Lesson 4: Autonomous Simulation", "Lesson 2: Java Basics", "LED Programming: Tutorial", "LED Programming", "Lesson 6: Mock Season Part 1\u2014Subsystems/Commands", "Lesson 7: Mock Season Part 2\u2014Autonomous", "Color-based segmentation in OpenCV Python: Tutorial", "Color-based segmentation in OpenCV Python", "Lesson 1: Setup, Strategy, Overview (All-Team)", "Tank Drive Simulation: Tutorial", "Lesson 3: Tank Drive Simulation", "Preseason Training", "Java / roboRIO Programming", "2 - C++ Programming", "3 - Coprocessors", "4 - Linux", "Style guide", "Resources", "Titan Algorithms", "1 - Installation", "2 - AprilTag Detection", "3 - Localization", "4 - Networking", "Titan Processing", "Titan Robotics #2022 Documentation"], "terms": {"last": 0, "year": 0, "everi": [0, 5], "command": [0, 5, 15, 16, 20, 28], "subsystem": [0, 15, 20, 28], "vision": [0, 9, 12, 27], "qna": 0, "watch": 0, "old": 0, "match": 0, "strategi": [0, 15, 28], "inspir": 0, "todo": [1, 3, 6, 10, 13], "import": [1, 3, 5, 12, 13, 20], "http": [1, 3, 6, 13], "titanrobotics2022": [1, 3, 6, 13], "notion": [1, 3, 6, 13], "site": [1, 3, 6, 13], "5": [1, 15, 28], "4": [1, 15, 21, 27, 28], "91d67fab859a40968919a2f86e20ffcf": 1, "tutori": [2, 4, 7, 11, 14, 15, 28], "add": [2, 5, 14], "torqu": 2, "graviti": 2, "talk": [2, 14], "about": [2, 14, 21], "pidf": [2, 14], "usag": [2, 14], "3": [3, 8, 15, 21, 27, 28], "autonom": [3, 12, 15, 28], "1717871dea664a40b1e3d33cb9062274": 3, "arm": [4, 15, 20, 28], "what": [5, 12], "i": [5, 12, 20, 27], "A": 5, "jit": 5, "compil": [5, 27], "just": 5, "In": 5, "time": [5, 12, 21], "languag": 5, "bytecod": 5, "Then": 5, "translat": 5, "machin": 5, "code": [5, 12, 15, 20, 28], "target": [5, 27], "platform": 5, "make": [5, 12], "more": [5, 14, 21], "cross": 5, "than": 5, "c": [5, 21, 28], "which": 5, "directli": 5, "static": 5, "type": 5, "variabl": [5, 20], "ha": [5, 12, 16], "e": [5, 8, 20], "g": [5, 8, 20], "int": 5, "integ": 5, "number": 5, "doubl": 5, "decim": 5, "string": 5, "text": 5, "etc": [5, 8], "lower": 5, "case": [5, 20], "primit": 5, "includ": [5, 20, 27], "upper": 5, "class": [5, 20], "complex": 5, "see": 5, "next": 5, "object": 5, "orient": 5, "program": [5, 8, 12, 15, 21, 28], "everyth": 5, "an": [5, 27], "certain": 5, "each": 5, "can": [5, 12], "have": [5, 12, 16], "function": 5, "There": 5, "": [5, 12, 20], "also": 5, "constructor": 5, "ar": [5, 21], "method": [5, 20], "run": 5, "when": 5, "you": [5, 16], "creat": [5, 27], "modifi": 5, "public": [5, 20], "privat": [5, 20], "readonli": 5, "thing": 5, "onli": [5, 12], "access": [5, 12, 20], "insid": 5, "same": 5, "all": [5, 15, 28], "instanc": 5, "cant": 5, "after": [5, 12, 21], "creation": 5, "btw": 5, "member": [5, 20], "attribut": 5, "python": [5, 15, 28], "exampl": 5, "car": 5, "engin": 5, "new": 5, "float": 5, "fuel": 5, "0": 5, "unit": 5, "gallon": 5, "mileag": 5, "mile": 5, "The": [5, 16, 20, 27], "thi": [5, 12, 20, 27], "drive": [5, 12, 15, 20, 28], "x": [5, 12], "void": 5, "drivecar": 5, "33": 5, "per": 5, "addfuel": 5, "main": [5, 27], "hondaciv": 5, "brand": 5, "zero": 5, "10": 5, "fill": 5, "up": 5, "30": 5, "drove": 5, "imsa": 5, "librari": [5, 27], "other": 5, "typic": 5, "written": 5, "peopl": 5, "consist": [5, 20], "standard": 5, "wpilib": [5, 12, 16, 20], "we": [5, 10, 12], "us": [5, 12, 21, 27], "frc": [5, 12, 16, 21], "It": [5, 27], "stuff": 5, "like": [5, 12], "motor": [5, 8, 12], "sensor": [5, 8], "our": [5, 20], "gyroscop": 5, "manufactur": 5, "And": 5, "own": 5, "reusabl": 5, "titan": 5, "algorithm": [5, 28], "walkthrough": 5, "practic": 5, "inventori": 5, "manag": [5, 12], "item": 5, "name": 5, "quantiti": 5, "arraylist": 5, "additem": 5, "search": 5, "queri": 5, "result": 5, "size": 5, "If": 5, "get": 5, "contain": [5, 16], "ye": 5, "n": 5, "r": 5, "window": 5, "special": 5, "charact": 5, "line": 5, "util": [5, 8, 20], "scanner": 5, "print": 5, "done": 5, "automat": 5, "vscode": [5, 12], "inventorymanag": 5, "arg": 5, "system": 5, "out": [5, 10], "println": 5, "welcom": 5, "No": 5, "space": [5, 12], "find": 5, "exit": 5, "leav": 5, "record": 5, "user": 5, "input": 5, "inputscann": 5, "while": [5, 12], "loop": 5, "condit": 5, "true": 5, "boolean": 5, "isrun": 5, "userinput": 5, "nextlin": 5, "splittedcommand": 5, "split": [5, 8], "arrai": 5, "word": 5, "startswith": 5, "fals": 5, "els": [5, 20], "count": 5, "convert": 5, "newitem": 5, "1": [5, 6, 15, 27, 28], "parseint": 5, "ad": 5, "unknown": 5, "migrat": 6, "a513f3e774704473a6b4b1377751d5e": 6, "here": [6, 12], "provid": [8, 9], "swerv": 8, "local": [8, 9, 20, 27, 28], "measur": 8, "id": 8, "resourc": [8, 28], "link": [8, 12], "group": [8, 20], "intak": 8, "index": 8, "led": [8, 15, 28], "2": [8, 13, 15, 21, 27, 28], "elev": 8, "shooter": 8, "give": 8, "hint": 8, "implement": 8, "detail": 8, "some": [8, 16], "posit": 8, "math": 8, "teach": 9, "pathplann": [9, 16, 20], "figur": 10, "where": 10, "put": 10, "doe": 12, "do": [12, 16], "best": 12, "smoothest": 12, "experi": 12, "driver": 12, "reduc": 12, "amount": [12, 16], "think": 12, "wast": 12, "dure": 12, "game": 12, "through": [12, 16, 27], "optim": 12, "autom": 12, "task": 12, "score": 12, "much": [12, 20], "point": 12, "15": 12, "second": 12, "period": 12, "good": 12, "bad": 12, "robot": [12, 27], "perform": 12, "structur": 12, "project": 12, "file": [12, 20], "store": 12, "github": 12, "softwar": 12, "bild": 12, "coprocessor": [12, 21, 27, 28], "control": 12, "roborio": [12, 21, 28], "most": [12, 16], "part": [12, 15, 28], "should": 12, "alwai": [12, 21], "plug": 12, "comput": 12, "usb": 12, "ethernet": 12, "wifi": 12, "station": 12, "press": 12, "enter": 12, "disabl": 12, "emerg": 12, "stop": 12, "restart": 12, "enabl": 12, "again": 12, "light": 12, "green": 12, "work": 12, "phoenix": [12, 16], "tuner": 12, "monitor": 12, "how": 12, "need": 12, "non": 12, "programm": [12, 16], "know": 12, "rememb": 12, "t": 12, "fly": 12, "substitut": 12, "hardwar": 12, "hard": 12, "di": 12, "two": 12, "custom": 12, "pleas": [12, 20], "ask": 12, "u": 12, "design": 12, "cheatsheet": 12, "rev": 12, "client": 12, "git": 12, "linux": [12, 21, 28], "homework": 12, "subteam": 12, "download": 12, "java": [12, 15, 21, 28], "sign": 12, "1291dde0e33245d3aa9b26da1b6b99b4": 13, "friction": 14, "physic": 14, "lesson": [15, 28], "setup": [15, 28], "overview": [15, 28], "team": [15, 20, 21, 28], "color": [15, 28], "base": [15, 16, 28], "segment": [15, 28], "opencv": [15, 28], "basic": [15, 16, 28], "tank": [15, 28], "simul": [15, 28], "6": [15, 16, 28], "mock": [15, 28], "season": [15, 27, 28], "7": [15, 28], "8": [15, 28], "2024": [15, 27, 28], "offici": [16, 27], "document": [16, 20], "content": 16, "regard": 16, "read": 16, "entir": 16, "wiki": 16, "set": 16, "ahead": 16, "major": 16, "compon": 16, "support": 16, "extern": 16, "navx2": 16, "kinemat": 16, "odometri": 16, "ctre": 16, "edu": 16, "wpi": 16, "first": 16, "com": 16, "phoenix6": 16, "pathplannerlib": 16, "lib": 16, "revlib": 16, "revrobot": 16, "aim": 20, "keep": 20, "so": 20, "follow": [20, 21], "possibl": 20, "especi": 20, "sinc": [20, 27], "lot": 20, "refer": 20, "someon": 20, "wrote": 20, "pascalcas": 20, "top": 20, "level": 20, "constant": 20, "macro_cas": 20, "m_camelcas": 20, "camelcas": 20, "enum": 20, "test": 20, "pascalcasetest": 20, "pascalcasesubsystem": 20, "abstract": 20, "pascalcasecommand": 20, "cpp": 20, "hpp": 20, "test_camelcas": 20, "cmake": 20, "modul": [20, 27], "outlin": 20, "projecct": 20, "folder": 20, "subfold": 20, "relat": [20, 21], "one": 20, "auto": 20, "full": 20, "routin": 20, "reus": 20, "learn": 21, "topic": 21, "These": 21, "simpli": 21, "recommend": 21, "from": 21, "writ": 21, "might": 21, "irrelev": 21, "even": 21, "short": 21, "check": 21, "updat": 21, "sourc": 21, "style": [21, 28], "guid": [21, 28], "2023": 27, "reason": 27, "network": [27, 28], "capabl": 27, "detect": [27, 28], "apriltag": [27, 28], "determin": 27, "pose": 27, "filter": 27, "extend": 27, "kalman": 27, "instal": [27, 28], "preseason": 28, "train": 28, "process": 28}, "objects": {}, "objtypes": {}, "objnames": {}, "titleterms": {"lesson": [0, 2, 4, 5, 8, 9, 12, 14], "8": 0, "2024": 0, "code": 0, "overview": [0, 12], "agenda": [0, 5, 8, 9, 12], "arm": [1, 2, 3], "simul": [1, 2, 3, 4, 13, 14], "tutori": [1, 3, 6, 10, 13], "5": 2, "content": [2, 4, 7, 11, 14, 15, 21, 27, 28], "todo": [2, 14], "4": [4, 19, 26], "autonom": [4, 9], "2": [5, 9, 17, 24], "java": [5, 16, 20], "basic": 5, "led": [6, 7], "program": [6, 7, 16, 17], "6": 8, "mock": [8, 9], "season": [8, 9], "part": [8, 9], "1": [8, 12, 23], "subsystem": 8, "command": 8, "7": 9, "color": [10, 11], "base": [10, 11], "segment": [10, 11], "opencv": [10, 11], "python": [10, 11], "setup": 12, "strategi": 12, "all": 12, "team": 12, "tank": [13, 14], "drive": [13, 14], "3": [14, 18, 25], "preseason": 15, "train": 15, "roborio": 16, "introduct": [16, 27], "librari": 16, "guid": [16, 20], "api": 16, "refer": 16, "c": [17, 20], "coprocessor": 18, "linux": 19, "style": 20, "name": 20, "structur": 20, "resourc": 21, "document": [21, 28], "other": 21, "websit": 21, "titan": [22, 27, 28], "algorithm": 22, "instal": 23, "apriltag": 24, "detect": 24, "local": 25, "network": 26, "process": 27, "robot": 28, "2022": 28}, "envversion": {"sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx": 58}, "alltitles": {"Lesson 8: 2024 Code overview": [[0, "lesson-8-2024-code-overview"]], "Agenda": [[0, "agenda"], [5, "agenda"], [8, "agenda"], [9, "agenda"], [12, "agenda"]], "Arm Simulation: Tutorial": [[1, "arm-simulation-tutorial"], [3, "arm-simulation-tutorial"]], "Lesson 5: Arm Simulation": [[2, "lesson-5-arm-simulation"]], "Contents": [[2, null], [4, null], [7, null], [11, null], [14, null], [15, null], [21, null], [27, null], [28, null]], "TODO": [[2, "todo"], [14, "todo"]], "Lesson 4: Autonomous Simulation": [[4, "lesson-4-autonomous-simulation"]], "Lesson 2: Java Basics": [[5, "lesson-2-java-basics"]], "LED Programming: Tutorial": [[6, "led-programming-tutorial"]], "LED Programming": [[7, "led-programming"]], "Lesson 6: Mock Season Part 1\u2014Subsystems/Commands": [[8, "lesson-6-mock-season-part-1subsystems-commands"]], "Lesson 7: Mock Season Part 2\u2014Autonomous": [[9, "lesson-7-mock-season-part-2autonomous"]], "Color-based segmentation in OpenCV Python: Tutorial": [[10, "color-based-segmentation-in-opencv-python-tutorial"]], "Color-based segmentation in OpenCV Python": [[11, "color-based-segmentation-in-opencv-python"]], "Lesson 1: Setup, Strategy, Overview (All-Team)": [[12, "lesson-1-setup-strategy-overview-all-team"]], "Tank Drive Simulation: Tutorial": [[13, "tank-drive-simulation-tutorial"]], "Lesson 3: Tank Drive Simulation": [[14, "lesson-3-tank-drive-simulation"]], "Preseason Training": [[15, "preseason-training"]], "Java / roboRIO Programming": [[16, "java-roborio-programming"]], "Introduction": [[16, "introduction"], [27, "introduction"]], "Library guides": [[16, "library-guides"]], "API references": [[16, "api-references"]], "2 - C++ Programming": [[17, "c-programming"]], "3 - Coprocessors": [[18, "coprocessors"]], "4 - Linux": [[19, "linux"]], "Style guide": [[20, "style-guide"]], "Naming": [[20, "naming"]], "Java": [[20, "java"]], "C++": [[20, "c"]], "Structure": [[20, "structure"]], "Resources": [[21, "resources"]], "Documentation and other websites": [[21, "documentation-and-other-websites"]], "Titan Algorithms": [[22, "titan-algorithms"]], "1 - Installation": [[23, "installation"]], "2 - AprilTag Detection": [[24, "apriltag-detection"]], "3 - Localization": [[25, "localization"]], "4 - Networking": [[26, "networking"]], "Titan Processing": [[27, "titan-processing"]], "Titan Robotics #2022 Documentation": [[28, "titan-robotics-2022-documentation"]]}, "indexentries": {}}) \ No newline at end of file