paper: 488 2013 Offseason Architecture

Thread created automatically to discuss a document in CD-Media.

488 2013 Offseason Architecture
by: JohnGilb

Mostly complete framework to allow for testing code away from a cRIO.

We set out to create a framework with these goals:

Critical logic can be run without access to a cRIO or Robot

Supports writing and running test cases

Has reusable components for future seasons (and other teams)

The code in question is here: https://github.com/Team488/Shared
(also linked to in the document)

Offseason Architecture.pptx (483 KB)

Github repository for the code

This public repository contains the results of some experiments we conducted in the offseason in Java. Our goal was to create a simple framework where robot code could be developed and tested without a cRIO.

There’s still many ways this framework could be improved, but we believe we have made progress worth sharing.

Here’s the summary (included in the linked document) of our goals:

Critical logic can be run without access to a cRIO or Robot

  • Multiple teams (Electrical, Mechanical, Programming) need access to the robot or a cRIO, so this has often been a bottleneck for us

Supports writing and running test cases

  • Now that our programming team has a large pool of programmers, the odds of making a change that causes a regression has increased
  • In addition, we want to be able to write proof-of-concept tests during development

Has reusable components for future seasons and other teams

  • The progress we make this year should be applicable to future years (assuming no rules changes about shared libraries)

The repository now includes code from 2014 and 2014 off-season as well.