Author Archives: batchloaf

RoboSumo Troubleshooting Clinic: 3:30pm – 5:00pm, Friday 24th Nov

To facilitate teams who are having problems with their final preparations for next week’s RoboSumo tournament, I (Ted) will be holding a “troubleshooting clinic” from 3:30pm to 5:00pm tomorrow (Friday 24th Nov) in room KEG-036. That’s the same room that … Continue reading

Posted in Uncategorized | Leave a comment

State Machine, version 2

This was the second example from today’s class. In this structure, each state is given its own while loop with the Arduino loop function. Once the flow of control enters one of these loops, it continues within that loop until … Continue reading

Posted in Uncategorized | Leave a comment

State Machine, version 1

This was the first version of the state machine example we looked at in today’s lecture. This structure uses an extended if-else-if statement in the loop function to select the code for the current state each time the function repeats.

Posted in Uncategorized | Leave a comment

Code is a mass noun

THIS IS A PUBLIC INFORMATION MESSAGE CONCERNING THE CORRECT USE OF THE WORD “CODE”. I’ve read many RoboSumo blog posts over the last couple of days that use the word “code” incorrectly. When speaking about programming, “code” is generally used … Continue reading

Posted in Uncategorized | Leave a comment

Code examples for TCRT5000 proximity detection

Basic version: Background subtract: Beepz example:

Posted in Uncategorized | Leave a comment

Race to the Wall, October 2017 – Rules and Information

This semester’s Race to the Wall event will commence at 3pm (or shortly thereafter) on Wednesday 18th October 2017. The event will end on the same day at 6pm. Click here to view live resultstable for the Race to the … Continue reading

Posted in Uncategorized | 1 Comment

Welcome to RoboSumo – Semester 1, 2017-2018

Welcome to the RoboSumo project, which is undertaken by students of programme DT066 (Engineering common first year) and programme DT009 in the Dublin Institute of Technology. Over the course of this semester, you will work in teams of (usually) three … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment