StoRC
Autonomous Payload Delivery System
|
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) |
void fast_loop | ( | void | ) |
Function that runs every so often, as determined by FAST_LOOP_CLOCK
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.
void medium_loop | ( | void | ) |
Function that runs every so often, as determined by MED_LOOP_CLOCK
void setup | ( | void | ) |
void slow_loop | ( | void | ) |
Function that runs every so often, as determined by SLOW_LOOP_CLOCK