sraboy / tankbot

Code for Makeblock Starter Robot kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TankBot

Controls my modified Makeblock Starter Robot Kit. The hardware modifications (currently) include a servo in front to lift/lower the ultrasonic sensor and a 7-segment LED display to show the current option setting when the Setting button on the remote is used or the distance in CM to any object detected by the ultrasonic sensor.

The majority of the work is in wrapping the Makeblock libraries. The original libraries can probably be used without issue but I have modified them and my fork is a submodule here. The wrappers are by no means feature complete but they're easier to use and simple to extend.

C++14

You need C++14 support for relaxed constexpr, meaning gcc version >= 5. The not-yet-released package of gcc-avr can be installed via the Arduino IDE. Go to Preferences and put this link in the "Extra Board Manager URLs" box: https://downloads.arduino.cc/packages/package_avr_3.6.0_index.json. Save, then open Boards Manager, or just wait a minute and the IDE will prompt you. Upgrade the package. Next edit your platforms.txt to add -std=c++14 to compiler.cpp.flags.

License

My code (Drive, LedWord, etc) is MIT except where another license applies. Some of Makeblock's code is CC-BY-3.0 or GPL2.

About

Code for Makeblock Starter Robot kit


Languages

Language:C++ 100.0%