No description
create_all_files.py | ||
encoder.java | ||
ftc2024-autonome.java | ||
ftc2024-carlike.java | ||
ftc2024-holonom.java | ||
ftc2024_auto_b2d.java | ||
ftc2024_auto_b2n.java | ||
ftc2024_auto_b4d.java | ||
ftc2024_auto_b4n.java | ||
ftc2024_auto_r2d.java | ||
ftc2024_auto_r2n.java | ||
ftc2024_auto_r4d.java | ||
ftc2024_auto_r4n.java | ||
FTC2024WeRobotControl.java | ||
ftc_new.java | ||
hello.1.java | ||
hello.2.java | ||
hello.3.java | ||
hello.4.java | ||
hello.class | ||
hello.java | ||
IMU.java | ||
LICENSE | ||
old_autonome.java | ||
README.md | ||
servo.java | ||
test | ||
test.java |
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.
CarLike Controls:
monter élévateur: dpad_up baisser élévateur: dpad_down moissoneuse: b moissoneuse reverse: b + right_bumber déplacement: left_joystick
jkdssdhdssdf