Welcome to Team Forte's code repository for the Holonomic X-Drive used in the 2024 VEX V5 competition (Over Under). This codebase is designed to provide precise control and optimal performance for our robot during the competition.
/src
holonomic_x_drive.v5python
: Python implementation of the code using VEX V5 Python API.holonomic_x_drive.v5cpp
: C++ implementation of the code using VEX V5 C++ API.holonomic_x_drive.v5blocks
: VEXcode Blocks project file for graphical programming.
To use this codebase, follow these steps:
-
Selecting the Right Implementation:
- Choose the appropriate file based on your preferred programming language:
- VEXcode Python (
holonomic_x_drive.v5python
) - VEXcode C++ (
holonomic_x_drive.v5cpp
) - VEXcode Blocks (
holonomic_x_drive.v5blocks
).
- VEXcode Python (
- Choose the appropriate file based on your preferred programming language:
-
Downloading Dependencies:
- Ensure that you have the necessary dependencies and libraries installed for your chosen programming language.
-
Uploading to Robot Brain:
- Upload the selected code file to your VEX V5 Robot Brain using VEXcode or the VEX Coding Studio.
-
Configuring Motors:
- Adjust motor ports and any other configuration settings within the code to match your robot's hardware setup.
-
Calibrating Sensors (if applicable):
- If your robot uses sensors, ensure they are calibrated according to your specific requirements.
-
Testing:
- Test the robot in a controlled environment to ensure that the Holonomic X-Drive functions as expected.
The code is organized into modular components for ease of understanding and modification. Key sections include:
- Initialization: Setup of motor ports, sensor configurations, and any other necessary initializations.
- Drive Control: Implementation of the Holonomic X-Drive control logic.
- Autonomous Functions (if applicable): Pre-programmed functions for autonomous operation.
If you wish to contribute to the codebase, follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and test thoroughly.
- Create a pull request, explaining the changes made and the reason behind them.
For any questions or issues regarding the code, file an issue in the Issues tab.
Happy coding, and best of luck in the 2024 VEX V5 competition season!