mobile robot control with artificial hormones
Dependencies: Communication_Robot RTC-DS1307 iSerial mbed
Fork of Andante_v00 by
main.h@9:d0454a04f433, 2017-06-07 (annotated)
- Committer:
- soulx
- Date:
- Wed Jun 07 11:12:50 2017 +0000
- Revision:
- 9:d0454a04f433
- Parent:
- 5:aae71a94cb41
test drive; +disable communication;
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
soulx | 4:42dc950d54f4 | 1 | #ifndef MAINp_H |
soulx | 4:42dc950d54f4 | 2 | #define MIANp_H |
soulx | 4:42dc950d54f4 | 3 | |
soulx | 4:42dc950d54f4 | 4 | #include "mbed.h" |
soulx | 4:42dc950d54f4 | 5 | #include "communication.h" |
soulx | 4:42dc950d54f4 | 6 | #include "protocol.h" |
soulx | 4:42dc950d54f4 | 7 | |
soulx | 5:aae71a94cb41 | 8 | #include "Rtc_Ds1307.h" |
soulx | 5:aae71a94cb41 | 9 | |
soulx | 4:42dc950d54f4 | 10 | |
soulx | 4:42dc950d54f4 | 11 | |
soulx | 4:42dc950d54f4 | 12 | void Init_servo(); |
soulx | 4:42dc950d54f4 | 13 | void Init_foreground(); |
soulx | 4:42dc950d54f4 | 14 | |
soulx | 4:42dc950d54f4 | 15 | |
soulx | 4:42dc950d54f4 | 16 | void setControl(ANDANTE_PROTOCOL_PACKET *packet); |
soulx | 4:42dc950d54f4 | 17 | void getCommand(); |
soulx | 4:42dc950d54f4 | 18 | void getSensor(); |
soulx | 4:42dc950d54f4 | 19 | |
soulx | 4:42dc950d54f4 | 20 | void setFrontAngle(float precent); |
soulx | 4:42dc950d54f4 | 21 | void setRearAngle(float precent); |
soulx | 4:42dc950d54f4 | 22 | void setSpeedControl(float precent); |
soulx | 4:42dc950d54f4 | 23 | |
soulx | 4:42dc950d54f4 | 24 | |
soulx | 4:42dc950d54f4 | 25 | |
soulx | 4:42dc950d54f4 | 26 | #endif |