Racing Robots Session
Dependencies: MbedJSONValue m3pi
This is the library for the Racing Robots session. It supports the M3PI robot of Polulu.
It is based on the "Arduino" principle of the init and loop function.
Just add a main.cpp file which contains:
Racing Robots main file
#include "robot_logic.h" void init() { //put your initialization logic here } void loop() { //put your robot control logic here }
Features include:
- Controlling the LEDS
- Move forward and backward
- Turn
- Read the sensor values
- Use a PID controller
Files at revision 9:0385d1bfc38b
Name | Size | Actions |
---|---|---|
[up] | ||
MbedJSONValue.lib | 61 | Revisions Annotate |
m3pi.lib | 52 | Revisions Annotate |
racing_robots.cpp | 602 | Revisions Annotate |
robot_logic.cpp | 3998 | Revisions Annotate |
robot_logic.h | 3334 | Revisions Annotate |
xbee.cpp | 1763 | Revisions Annotate |
xbee.h | 440 | Revisions Annotate |