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 06 22:19:59 2017 +0000
Revision:
56:7d3395ae022d
Parent:
29:f87d8790f57d
Child:
83:b2c7c6f76575
Added debug log function.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
hazheng 29:f87d8790f57d 1 #ifndef GLOBAL_VARIABLE_H
hazheng 29:f87d8790f57d 2 #define GLOBAL_VARIABLE_H
hazheng 29:f87d8790f57d 3
hazheng 29:f87d8790f57d 4 #include <mbed.h>
hazheng 29:f87d8790f57d 5 #include "Core.h"
hazheng 29:f87d8790f57d 6
hazheng 56:7d3395ae022d 7 #ifdef SW_DEBUG
hazheng 56:7d3395ae022d 8 #include <rtos.h>
hazheng 56:7d3395ae022d 9 extern Mutex g_sw_spi_lock;
hazheng 56:7d3395ae022d 10 #endif
hazheng 56:7d3395ae022d 11
hazheng 29:f87d8790f57d 12 extern SPI g_spi_port;
hazheng 29:f87d8790f57d 13 extern SW::Core g_core;
hazheng 29:f87d8790f57d 14
hazheng 29:f87d8790f57d 15 #endif //GLOBAL_VARIABLE_H