ElapsedTime Setup

Locating ElapsedTime Blocks:

Before getting started, let's quickly identify where we will find our ElapsedTime blocks. This menu can be found under the Utilities dropdown on our side toolbar.

Setting up the Basics:

For this section, let's start by creating a new OpMode named HelloRobot_ElapsedTime using the BasicOpMode sample.

Recall when we created variables while programming our drivetrain. We will be using them again during this part to help with calculations! To start create a variable called runtime.

Last updated