Search Code
About AVC_20110423

Published 27 Apr 2011.

Last change message: Initial release

Import this program

AVC_20110423

Published 27 Apr 2011, by   user Michael Shimniok   tag avc, robomagellan

Summary of AVC_20110423

How to get this program

Import this program

Open this program in the mbed Compiler, where you can edit it and compile it for your hardware.

Download as .zip

Download this program as .zip file.

Libraries included as part of AVC_20110423

TinyCHR6dm
TinyCHR6dm is a simplified interface for the CH Robotics CHR-6dm AHRS
tag AHRS, navigation, sensors
GeoPosition
Geographical position and calculation using latitude/longitude. Most of this comes from http://www.movable-type.co.uk/scripts/latlong.html
tag geo, GPS, latitude, longitude, navigation
PinDetect
InterruptIn style DigitalIn debounced with callbacks for pin state change and pin state hold.
tag debounce, DigitalIn, InterruptIn
TinyGPS
Port of Arduino TinyGPS library to mbed. Added extra methods to flag receipt/parsing of particular sentences.
tag GPS, parse
IncrementalEncoder
An interface for a simple, 1-track, incremental encoder.
Servo
A class to control a model R/C servo, using a PwmOut
tag PwmOut, Servo
Schedule
Simple library for scheduling events by polling time, that is, avoiding interrupts.
tag polling, scheduling, timing
DebounceIn
Extends DigitalIn to DebounceIn to provide mechanical switch debouncing.
tag debounce, DigitalIn
SimpleFilter
Implements a simple leaky integrator integer value filter, handy for fast, simple, ADC output filtering. Implemented as described here: [[http://ece124web.groups.et.byu.net/references/readings/Simple%20Software%20Lowpass%20Filter.pdf|Simple Software Lowpass Filter.pdf]]
tag filter
ADC128S
Driver for National Semiconductor ADC128Sxxx family of analog to digital converters
tag adc, driver
LSM303DLH
Interface library for STMicro LSM303DLH 3-axis magnetometer w/ 3-axis acceleromter. Computes magnetic heading.
tag compass, LSM303DLH, magnetometer, sensors
Steering
A class for calculating steering angle calculations based on current and desired heading and specified intercept distance along the new path.
tag steering

Description

The software I used to run my Sparkfun AVC 2011 entry, a 1:10 scale RC truck called \"Data Bus\". This is the final revision of the code as-run on April 23, 2011, the date of the contest, on the 3rd heat.

Code

main.cpp [code]
SDFileSystem.cpp [code]
SDFileSystem.h [code]