StoRC
Autonomous Payload Delivery System
storc.pde File Reference

Main file, contains Arduino setup() and loop() functions. More...

#include <FastSerial.h>
#include <AP_Common.h>
#include <DataFlash.h>
#include <APM_RC.h>
#include <AP_GPS.h>
#include <APM_BMP085.h>
#include <AP_ADC.h>
#include <AP_IMU.h>
#include <AP_Compass.h>
#include <AP_DCM.h>
#include <stdio.h>
#include <SPI.h>
#include <Wire.h>
#include "storc.h"
#include "controls.h"

Go to the source code of this file.

Functions

void slow_loop (void)
void medium_loop (void)
void fast_loop (void)
void setup (void)
void loop (void)

Detailed Description

Main file, contains Arduino setup() and loop() functions.

Author:
Michael Posner (CIS, MEAM '12)
Timothy Hennelly (ESE '12)
Jacob Orloff (MEAM '12)

Definition in file storc.pde.


Function Documentation

void fast_loop ( void  )

Function that runs every so often, as determined by FAST_LOOP_CLOCK

See also:
loop

Definition at line 423 of file storc.pde.

void loop ( void  )

Arduino loop() function. This is called immediately after setup and it loops as long as the board is powered. This function calls everything else that runs. Using timers and periods set by SLOW_LOOP_CLOCK, MED_LOOP_CLOCK, and FAST_LOOP_CLOCK, it determines when to call each subfunction and also calls what needs to run at full speed.

Definition at line 598 of file storc.pde.

void medium_loop ( void  )

Function that runs every so often, as determined by MED_LOOP_CLOCK

See also:
loop

Definition at line 258 of file storc.pde.

void setup ( void  )

Arduino setup() function. This gets called first when the board is powered on. It sets up the timers and initializes the serial connection as well as any library initialization.

Definition at line 438 of file storc.pde.

void slow_loop ( void  )

Function that runs every so often, as determined by SLOW_LOOP_CLOCK

See also:
loop

Definition at line 70 of file storc.pde.