Skip to content

Latest commit

 

History

History
65 lines (54 loc) · 3.45 KB

README.md

File metadata and controls

65 lines (54 loc) · 3.45 KB

robot.bicycle

Hardware

The following is a list of the electrical hardware used on the bicycle:

Wiring Notes

All connections between various components of the robot bicycle are documented in a Google Drive spreadsheet.

Resources

GNU Toolchain

To compile the code that runs on the microcontroller, I've been using two GCC Arm toolchains to build the firmware. One is the GNU Tools for ARM Embedded Processors, which is maintained by ARM. The other is the Linaro toolchain, which is updated more frequently but not necessarily customized for embedded chips. I maintain a simple script to download and build the tools in the Linaro toolchain and it seems to work well.

Build System

To compile the firmware which runs on the bicycle, type:

$ cd firmware
$ mkdir build
$ cd build
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=../toolchain-arm-none-eabi.cmake
$ make

You will need to modify the CMake toolchain file to point to your toolchain path. You can view and change build options using ccmake instead of cmake.

To build the dataprocessing code, ensure you have CMake installed, then type:

$ mkdir build
$ cd build
$ cmake ..
$ make

Acknowledgements

This project has been supported in part by NSF Award #0928339. I am grateful for the help of Derek Pell, Kenny Koller, Oliver Lee, Kenny Lyons, and the rest of my lab mates: Bo Fu, Colin Smith, Andrew Kickertz, Jason Moore, Ziqi Yin, and Gilbert Gede.