SmartWheels self-driving race car. Designed for NXP Cup. Uses FRDM-KL25Z, area-scan camera, and simple image processing to detect and navigate any NXP spec track.

Dependencies:   TSI USBDevice mbed-dev

Fork of SmartWheels by haofan Zheng

Committer:
hazheng
Date:
Thu Apr 20 21:04:10 2017 +0000
Revision:
100:ffbeefc9e218
Parent:
94:32712e603a5f
Better version of Intersection detection.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hazheng 94:32712e603a5f 1 /**
hazheng 94:32712e603a5f 2 * @file GlobalVariable.h
hazheng 94:32712e603a5f 3 * @brief The header file for the global variable. Some object (ex. SPI port) can have only one instance, but it is used in many different place. Thus, these variables will be declare in this header file.
hazheng 94:32712e603a5f 4 * @author Jordan Brack <jabrack@mix.wvu.edu>, Haofan Zheng <hazheng@mix.wvu.edu>
hazheng 94:32712e603a5f 5 *
hazheng 94:32712e603a5f 6 */
hazheng 94:32712e603a5f 7 #pragma once
hazheng 29:f87d8790f57d 8 #ifndef GLOBAL_VARIABLE_H
hazheng 29:f87d8790f57d 9 #define GLOBAL_VARIABLE_H
hazheng 29:f87d8790f57d 10
hazheng 29:f87d8790f57d 11 #include <mbed.h>
hazheng 29:f87d8790f57d 12
hazheng 94:32712e603a5f 13 extern SPI g_spi_port; /*!< @brief The SPI port connection. NOTE: This is a declaration of a extern variable. It is actually defined and initialized in main.cpp file. */
hazheng 29:f87d8790f57d 14
hazheng 29:f87d8790f57d 15 #endif //GLOBAL_VARIABLE_H