> For the complete documentation index, see [llms.txt](https://docs.revrobotics.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.revrobotics.com/classroom-activities/multiple-focus/bumper-bots.md).

# Bumper Bots

## Introduction

This activity is intended to offer a fun challenge of building a robot to play tag against other robots using the touch sensor! Students will build the basic drivetrain, adding a servo for their flag, then program the touch sensor to prevent movement for a few seconds upon being pressed. While disabled from being tagged, their flag will raise as a visual cue of both being tempted and when they’ll be able to move again.

<figure><img src="/files/REj5261Ex3OwpQq1Lx3T" alt="" width="563"><figcaption><p>Bumper Bots Drivetrain</p></figcaption></figure>

The game can be played using only the base drivetrain OR students may be granted time to build upon their robot using parts from their kit and craft materials.

### Covered Concepts

* Touch Sensor
* If/Else logic
* ElapsedTime
* Servo usage
* Programming angular limits on a servo with the SRS Programmer
* Drivetrains
* TeleOp Control

### Curriculum Connections

* Intro to Robotics V2 - Unit 3 (Drivetrains and TeleOp Control)
* Intro to Robotics V2 - Unit 4, Lesson 25 (Touch Sensor)
* Intro to Robotics V2 - Unit 5, Lesson 29 (ElapsedTime)

### Activity Goals

Students will:

* Program their touch sensor to deactivate driving for a time period and raise a servo-powered flag when pressed.&#x20;
* Practice controlling a robot using TeleOp controls using tank, arcade, or split arcade drive.

## Activity Files

### Teacher Files

{% file src="/files/tBsFd2jQYrS2UHBfG5jA" %}

### Student Files

**Bumper Bots Worksheet:**

{% file src="/files/08xNjbTyPo3PJi7rMpLv" %}

**Bumper Bots Build Guide:**

{% file src="/files/N0JXtH0K4iwhCNfNJHnh" %}

[Bumper Bots Onshape](https://cad.onshape.com/documents/2e7948aa2edc3da2a00f2ba1/w/dccffdc3ee77c64713fbe6a1/e/adcc380c870db4d0e26431fd)

**Bumper Bots Programming Guide:**

{% file src="/files/RNBUbAcIo82pUo5nAuzq" %}
