This repository contains the code for the Robot Motion Control System, developed for the FTC (FIRST Tech Challenge) competition. The system includes functionality for Omni-wheel movement, Linear motion control, and Drum spinner control.
- Omni-wheel Drive: Control the robot's movement in all directions.
- Linear Motion Control: Raise and lower mechanisms smoothly.
- Drum Spinner Control: Spin the drum for collecting or launching objects.
-
Clone the repository:
git clone https://github.com/yourusername/robot-motion-control.git
-
Open in Android Studio:
- Import the project into Android Studio.
-
Setup the FTC SDK:
- Make sure to have the appropriate FTC SDK installed and configured.
-
Deploy the code to your robot:
- Connect your robot to your development environment and deploy the code.
-
Control the robot:
- Use the gamepad to control various functionalities:
- Omni-wheel Drive: Use the left joystick for movement.
- Linear Motion Control: Use the triggers for raising/lowering.
- Drum Spinner Control: Use the A, B, and X buttons for controlling the spinner.
- Use the gamepad to control various functionalities:
OmniWheelDrive.java: Contains the code for controlling the omni-wheel drive system.LinearMotionControl.java: Handles the linear motion mechanism.DrumSpinnerControl.java: Manages the drum spinner functionality.
If you want to contribute to this project, please fork the repository and create a pull request. Any contributions are welcome!
This project is licensed under the MIT License - see the LICENSE file for details.
- Thanks to the FTC community for their resources and support.
- Inspired by the teamwork and collaboration within our robotics team.