No description
Find a file
2024-03-10 16:52:33 +01:00
.github Create bug.md 2024-03-10 16:50:14 +01:00
CONTRIBUTING.md Create CONTRIBUTING.md 2024-03-10 16:48:05 +01:00
ftc2024-autonome.java helloworld 2024-03-08 15:26:48 +01:00
ftc2024-carlike.java hello 2024-02-11 16:15:23 +01:00
ftc2024-holonom.java Update ftc2024-holonom.java 2024-01-21 15:31:44 +01:00
ftc2024_autonome_api.java mode "n" harvest tiles on field 2024-03-10 16:16:06 +01:00
FTC2024WeRobotControl.java defaults values and testMotorSpeed to test if motor_speed variable is >=0 2024-03-10 16:05:19 +01:00
IMU.java Create IMU.java 2024-02-25 16:03:04 +01:00
LICENSE helloworld 2024-03-08 15:26:48 +01:00
old_autonome.java hel 2024-03-08 14:34:31 +01:00
README.md add docs to Readme.md 2024-03-10 16:22:38 +01:00
SECURITY.md Create SECURITY.md 2024-03-10 16:48:36 +01:00
test Update test 2024-03-10 16:43:01 +01:00
test.java update 2024-02-28 12:08:05 +01:00

The 2024 FIRST® Tech Challenge robot competition WeRobot code

Requirements

Work only with Rev Robotics Control Hub designed for FIRST® Tech Challenge competitions

How To use?

Download the code and use it...

How To Use the FTC2024WeRobotControl tool?

In your robot code import the class, then in the runOpMode function of your robot code create instance of the FTC2024WeRobotControl (e.g. FTC2024WeRobotControl robot = new FTC2024WeRobotControl()) then you can use this instance to move the robot.

E.G.

double speed_for_motors = 1.0;
double number_or_tiles = 3.0;
double angle_to_rotate = 50;  // in degrees
FTC2024WeRobotControl robot = new FTC2024WeRobotControl()
robot.forward(number_or_tiles, speed_for_motors);
robot.rotate(angle_to_rotate, speed_for_motors);

Read the FTC2024WeRobotControl.java file to get complete docs.