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
Revisions of robot_logic.h
Revision | Date | Message | Actions |
---|---|---|---|
8:597ce8a7d34b | 2015-06-01 | Added support for start/stop via Xbee | File Diff Annotate |
7:a72215b1910b | 2015-02-25 | PID works, updated the comments | File Diff Annotate |
6:0dc4e4225881 | 2015-02-25 | implemented show stats and cleaned up the documentation | File Diff Annotate |
4:3743cbfe031b | 2015-02-24 | removed racing_robots.h | File Diff Annotate |
2:356bb8d99326 | 2015-02-23 | Add implementation of calibrate, pid and drive control. Not working as it should ! | File Diff Annotate |
0:c0ae66a0ec7a | 2015-02-23 | Define interface of pololu for racing robots. | File Diff Annotate |