Initial Commit
Dependencies: mbed HC05 QEI MODSERIAL SWSPI mbed-rtos
shell/bt_shell_f.h@6:5ab1735265a9, 2014-10-21 (annotated)
- Committer:
- harshb
- Date:
- Tue Oct 21 21:59:15 2014 +0000
- Revision:
- 6:5ab1735265a9
- Parent:
- 4:81b0de07841f
Initial Commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Throwbot | 4:81b0de07841f | 1 | #ifndef BT_shell_f_H |
Throwbot | 4:81b0de07841f | 2 | #define BT_shell_f_H |
Throwbot | 4:81b0de07841f | 3 | #include "robot.h" |
Throwbot | 4:81b0de07841f | 4 | #include "ultrasonic.h" |
Throwbot | 4:81b0de07841f | 5 | #include "tone.h" |
Throwbot | 4:81b0de07841f | 6 | |
Throwbot | 4:81b0de07841f | 7 | void bt_shell_f_run(); |
Throwbot | 4:81b0de07841f | 8 | struct interface_f{ |
Throwbot | 4:81b0de07841f | 9 | bool list[16]; //list saves which pieces of data must be returned |
Throwbot | 4:81b0de07841f | 10 | //0 - IMU_all |
Throwbot | 4:81b0de07841f | 11 | //1 - IMU_acc |
Throwbot | 4:81b0de07841f | 12 | //2 - IMU_gyr |
Throwbot | 4:81b0de07841f | 13 | //3 - IMU_rotation |
Throwbot | 4:81b0de07841f | 14 | //4 - IR_sensors |
Throwbot | 4:81b0de07841f | 15 | //5 - Optical_flow_sensors |
Throwbot | 4:81b0de07841f | 16 | //6 - Current_sensor |
Throwbot | 4:81b0de07841f | 17 | //7 - Voltage_sensor |
Throwbot | 4:81b0de07841f | 18 | int period; //this is the refresh rate at which the python wants data [ms] |
Throwbot | 4:81b0de07841f | 19 | }; |
Throwbot | 4:81b0de07841f | 20 | |
Throwbot | 4:81b0de07841f | 21 | #endif |