Coaches Corner Archives - The Fire Wires FTC Team 12014 https://www.firewires.org/category/coaches-corner/ A spark is about to ignite Sun, 23 Apr 2023 04:01:26 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 https://www.firewires.org/wp-content/uploads/2022/03/cropped-Full-Logo-512-1-32x32.png Coaches Corner Archives - The Fire Wires FTC Team 12014 https://www.firewires.org/category/coaches-corner/ 32 32 204565980 A Beginner’s Guide to Mecanum Teleop in Onbot Java https://www.firewires.org/a-beginners-guide-to-mecanum-teleop-in-onbot-java/ https://www.firewires.org/a-beginners-guide-to-mecanum-teleop-in-onbot-java/#respond Thu, 20 Apr 2023 13:56:42 +0000 https://firewires.org/?p=2305 Open the Onbot Java IDE. Create a new project. In

The post A Beginner’s Guide to Mecanum Teleop in Onbot Java appeared first on The Fire Wires FTC Team 12014.

]]>
  1. Open the Onbot Java IDE.
  2. Create a new project.
  3. In the project, create a new class called MecanumTeleop.
  4. In the MecanumTeleop class, add the following imports:
import com.qualcomm.robotcore.eventloop.opmode.LinearOpMode;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.util.ElapsedTime;

  1. In the MecanumTeleop class, declare the following variables:
private ElapsedTime runtime = new ElapsedTime();
private DcMotor leftFrontMotor;
private DcMotor rightFrontMotor;
private DcMotor leftBackMotor;
private DcMotor rightBackMotor;

  1. In the MecanumTeleop class, override the init() method. In this method, initialize the motors:
@Override
public void init() {
  leftFrontMotor = hardwareMap.get(DcMotor.class, "left_front_motor");
  rightFrontMotor = hardwareMap.get(DcMotor.class, "right_front_motor");
  leftBackMotor = hardwareMap.get(DcMotor.class, "left_back_motor");
  rightBackMotor = hardwareMap.get(DcMotor.class, "right_back_motor");

  leftFrontMotor.setMode(DcMotor.Mode.RUN_WITHOUT_ENCODER);
  rightFrontMotor.setMode(DcMotor.Mode.RUN_WITHOUT_ENCODER);
  leftBackMotor.setMode(DcMotor.Mode.RUN_WITHOUT_ENCODER);
  rightBackMotor.setMode(DcMotor.Mode.RUN_WITHOUT_ENCODER);
}

  1. In the MecanumTeleop class, override the loop() method. In this method, read the gamepad inputs and drive the robot:
@Override
public void loop() {
  // Read the gamepad inputs
  double x = gamepad1.left_stick_x;
  double y = gamepad1.left_stick_y;
  double rotation = gamepad1.right_stick_x;

  // Drive the robot
  leftFrontMotor.setPower(x + y + rotation);
  rightFrontMotor.setPower(x - y - rotation);
  leftBackMotor.setPower(x - y + rotation);
  rightBackMotor.setPower(x + y - rotation);

  // Display the runtime
  telemetry.addData("Runtime", runtime.seconds());
  telemetry.update();
}

  1. To run the code, click the “Play” button in the Onbot Java IDE.
  2. The robot should now drive in all directions in response to the gamepad inputs.

Here are some additional tips for creating a mecanum teleop code in Onbot Java:

  • Use the ElapsedTime class to keep track of the robot’s runtime. This can be useful for debugging and for timing events.
  • Use the telemetry class to display information about the robot’s state on the Driver Station. This can be useful for debugging and for monitoring the robot’s performance.
  • Use the Scheduler class to schedule periodic tasks. This can be useful for tasks that need to be run at regular intervals, such as updating the odometry or checking the battery level.

I hope this tutorial has been helpful. If you have any questions, please feel free to ask in the comments.

The post A Beginner’s Guide to Mecanum Teleop in Onbot Java appeared first on The Fire Wires FTC Team 12014.

]]>
https://www.firewires.org/a-beginners-guide-to-mecanum-teleop-in-onbot-java/feed/ 0 2305
Game Manual 0: The Ultimate Guide to FIRST Tech Challenge https://www.firewires.org/game-manual-0-the-ultimate-guide-to-first-tech-challenge/ https://www.firewires.org/game-manual-0-the-ultimate-guide-to-first-tech-challenge/#respond Thu, 20 Apr 2023 11:26:52 +0000 https://firewires.org/?p=2302 Game Manual 0 (gm0) is a comprehensive guide to the

The post Game Manual 0: The Ultimate Guide to FIRST Tech Challenge appeared first on The Fire Wires FTC Team 12014.

]]>
Game Manual 0 (gm0) is a comprehensive guide to the FIRST Tech Challenge (FTC) robotics competition. It covers everything from the basics of engineering design to advanced topics like programming and electronics. gm0 is written by a team of experienced FTC mentors and students, and it is constantly being updated with new information.

One of the best things about gm0 is that it is completely free to use. You can access it online or download it as a PDF. gm0 is also available in multiple languages, so it can be used by teams all over the world.

If you are new to FTC, gm0 is a great place to start. It will teach you everything you need to know to get started with the competition. And if you are an experienced FTC team, gm0 can help you take your skills to the next level.

Here are some of the features of gm0:

  • Comprehensive coverage of all aspects of FTC
  • Written by experienced FTC mentors and students
  • Constantly being updated with new information
  • Available online and as a PDF
  • Available in multiple languages

If you are interested in FTC, I encourage you to check out gm0. It is a valuable resource that can help you learn more about the competition and improve your skills.

The post Game Manual 0: The Ultimate Guide to FIRST Tech Challenge appeared first on The Fire Wires FTC Team 12014.

]]>
https://www.firewires.org/game-manual-0-the-ultimate-guide-to-first-tech-challenge/feed/ 0 2302
Choosing the Right Build System for Your FTC Team: A Guide to Rev Robotics, Servocity, GoBilda, Tetrix and Andymark https://www.firewires.org/choosing-the-right-build-system-for-your-ftc-team-a-guide-to-rev-robotics-servocity-gobilda-tetrix-and-andymark/ https://www.firewires.org/choosing-the-right-build-system-for-your-ftc-team-a-guide-to-rev-robotics-servocity-gobilda-tetrix-and-andymark/#respond Tue, 18 Apr 2023 12:44:11 +0000 https://firewires.org/?p=2274 As the new season of FIRST Tech Challenge (FTC) approaches,

The post Choosing the Right Build System for Your FTC Team: A Guide to Rev Robotics, Servocity, GoBilda, Tetrix and Andymark appeared first on The Fire Wires FTC Team 12014.

]]>
As the new season of FIRST Tech Challenge (FTC) approaches, coaches are faced with the decision of choosing a build system for their team. With so many options on the market, it can be difficult to determine which system is the best fit for their team’s needs. Four popular build systems are Rev Robotics, Servocity, GoBilda, and Tetrix. Here’s what coaches should consider when choosing among these options:

Rev Robotics:

Rev Robotics is a popular choice among FTC teams. Its system is designed for quick and easy building, with a focus on modularity and versatility. The Rev system uses a variety of components, including motors, controllers, sensors, and structural parts. Teams can easily expand their robot’s capabilities with Rev’s plug-and-play system, allowing them to quickly switch out components as needed. Additionally, the Rev system is supported by an active online community and resources, making it easy for teams to get help when needed.

They use a system very similar to the popular 80/20 extrusion model. While GoBilda also has their own rail system it isn’t as integrated as Rev’s is.

Servocity:

Servocity is known for its high-quality components and precision engineering. Its system includes a wide range of gears, motors, and structural parts that allow for precise building and control. Servocity components are also durable and can withstand heavy use, making them a good choice for teams that plan to compete in multiple tournaments. However, the Servocity system can be more expensive than other options, and it may not be as easy to use for beginners.

In recent years Servocity has seemed to be less developed than their counterpart GoBilda.

GoBilda:

GoBilda is a newer system that has gained popularity in recent years. Its components are designed to be lightweight and easy to use, while still providing the precision needed for FTC competitions. GoBilda’s system includes a variety of structural parts, gears, and motors, as well as specialized components such as chassis and linear slides. Teams can also take advantage of GoBilda’s online tutorials and support resources to help them build and program their robots.

GoBilda is usually the cutting edge of hardware, new products are released regularly.

Pitsco TETRIX (PRNewsFoto/Pitsco Education)

Tetrix:

Tetrix is a popular choice for beginners and intermediate teams. Its system includes a variety of structural parts, gears, and motors that are easy to assemble and use. The Tetrix system also includes a controller that is specifically designed for FTC competitions, making it easier for teams to program their robots. However, Tetrix components may not be as durable or precise as other options, and teams may find themselves limited in their design options.

Tetrix has in the last few years upgraded their offerings but was stagnant for many years.

Ultimately, the choice of build system will depend on the specific needs and goals of the team. Coaches should consider factors such as ease of use, precision, durability, and cost when making their decision. It may also be helpful to talk to other coaches and teams to see what systems they have had success with in the past. With the right build system and a lot of hard work, any FTC team can build a robot that can compete at the highest level.

If you are dealing with FIRST grants, then you will have to choose between Rev Robotics and Tetrix for kit of parts.  I would recommend Rev Robotics, their motors tend to be a little more configurable.

The post Choosing the Right Build System for Your FTC Team: A Guide to Rev Robotics, Servocity, GoBilda, Tetrix and Andymark appeared first on The Fire Wires FTC Team 12014.

]]>
https://www.firewires.org/choosing-the-right-build-system-for-your-ftc-team-a-guide-to-rev-robotics-servocity-gobilda-tetrix-and-andymark/feed/ 0 2274
Choosing Between Blocks and Java Programming for First Tech Challenge https://www.firewires.org/coachs-corner-choosing-between-blocks-and-java-programming-for-first-tech-challenge/ https://www.firewires.org/coachs-corner-choosing-between-blocks-and-java-programming-for-first-tech-challenge/#respond Tue, 18 Apr 2023 12:25:50 +0000 https://firewires.org/?p=2270 Hello, First Tech Challenge coaches! If you’re wondering which programming

The post Choosing Between Blocks and Java Programming for First Tech Challenge appeared first on The Fire Wires FTC Team 12014.

]]>
Hello, First Tech Challenge coaches! If you’re wondering which programming language to use for your robot, you may be considering Blocks or Java. In this tutorial, we’ll go over the pros and cons of each language to help you make an informed decision.

Blocks Programming:

Pros:

  • No prior programming experience required
  • Easy to use drag-and-drop interface
  • Visual representation of code flow
  • Good for beginners

Cons:

  • Limited functionality compared to Java
  • Difficult to read and modify complex code
  • Limited debugging tools

Java Programming:

Pros:

  • High-level programming language with advanced functionality
  • Highly customizable code
  • Large community and resources available for support
  • Advanced debugging tools

Cons:

  • Steep learning curve for beginners
  • Time-consuming to write code compared to Blocks
  • Requires prior programming knowledge

Based on these pros and cons, we recommend Blocks programming for beginners or teams with limited programming experience. The drag-and-drop interface and visual representation of code flow make it easy to learn and use. However, if your team is experienced in programming or looking for advanced functionality and customization, we recommend Java programming.

Remember, whichever language you choose, practice makes perfect! Keep coding and experimenting with your robot to improve your programming skills. Good luck and have fun with your First Tech Challenge!

The post Choosing Between Blocks and Java Programming for First Tech Challenge appeared first on The Fire Wires FTC Team 12014.

]]>
https://www.firewires.org/coachs-corner-choosing-between-blocks-and-java-programming-for-first-tech-challenge/feed/ 0 2270