mobile robot control with artificial hormones
Dependencies: Communication_Robot RTC-DS1307 iSerial mbed
Fork of Andante_v00 by
main.h@4:42dc950d54f4, 2015-03-02 (annotated)
- Committer:
- soulx
- Date:
- Mon Mar 02 05:53:20 2015 +0000
- Revision:
- 4:42dc950d54f4
- Child:
- 5:aae71a94cb41
add function control robot
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 | 4:42dc950d54f4 | 8 | |
soulx | 4:42dc950d54f4 | 9 | |
soulx | 4:42dc950d54f4 | 10 | void Init_servo(); |
soulx | 4:42dc950d54f4 | 11 | void Init_foreground(); |
soulx | 4:42dc950d54f4 | 12 | |
soulx | 4:42dc950d54f4 | 13 | |
soulx | 4:42dc950d54f4 | 14 | void setControl(ANDANTE_PROTOCOL_PACKET *packet); |
soulx | 4:42dc950d54f4 | 15 | void getCommand(); |
soulx | 4:42dc950d54f4 | 16 | void getSensor(); |
soulx | 4:42dc950d54f4 | 17 | |
soulx | 4:42dc950d54f4 | 18 | void setFrontAngle(float precent); |
soulx | 4:42dc950d54f4 | 19 | void setRearAngle(float precent); |
soulx | 4:42dc950d54f4 | 20 | void setSpeedControl(float precent); |
soulx | 4:42dc950d54f4 | 21 | |
soulx | 4:42dc950d54f4 | 22 | |
soulx | 4:42dc950d54f4 | 23 | |
soulx | 4:42dc950d54f4 | 24 | #endif |