Unfinished version 0.6 library for the Pi Swarm robot. NOTE: This library is not yet finished or fully tested - it will change.
Dependents: Pi_Swarm_Blank Aggregation-Flocking_2 Pi_Swarm_User_Command_RF_Test
Fork of Pi_Swarm_Library by
Diff: communications.h
- Revision:
- 3:4c0f2f3de33e
- Parent:
- 1:b067a08ff54e
- Child:
- 4:52b3e4c5a425
--- a/communications.h Sun Feb 02 20:37:48 2014 +0000 +++ b/communications.h Sun Feb 02 21:18:05 2014 +0000 @@ -60,6 +60,9 @@ float light_sensor; float accelerometer[3]; float gyro; + unsigned short background_ir[8]; + unsigned short reflected_ir[8]; + float distance_ir[8]; }; void send_rf_message(char target, char command, char * data, char length);