mobile robot control with artificial hormones

Dependencies:   Communication_Robot RTC-DS1307 iSerial mbed

Fork of Andante_v00 by potiwat ngamkajornwiwat

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?

UserRevisionLine numberNew contents of line
soulx 4:42dc950d54f4 1 #ifndef PARAM_H
soulx 4:42dc950d54f4 2 #define PARAM_H
soulx 0:95d17607a698 3 //set frequancy unit in Hz
soulx 5:aae71a94cb41 4 #define F_UPDATE 1.0f
soulx 5:aae71a94cb41 5 #define F_SAMPING 100.0f
soulx 0:95d17607a698 6
soulx 0:95d17607a698 7 //step TIMER
soulx 5:aae71a94cb41 8 #define TIMER_UPDATE 1.0f/F_UPDATE
soulx 5:aae71a94cb41 9 #define TIMER_SAMPING 1.0f/F_SAMPING
soulx 2:b31c4677ebc0 10
soulx 2:b31c4677ebc0 11 //range servo unit in microsecond(us)
soulx 5:aae71a94cb41 12 #define FRONT_MIN 1000
soulx 2:b31c4677ebc0 13 #define FRONT_CENTER 1500
soulx 5:aae71a94cb41 14 #define FRONT_MAX 2000
soulx 2:b31c4677ebc0 15
soulx 5:aae71a94cb41 16 #define REAR_MIN 1000
soulx 2:b31c4677ebc0 17 #define REAR_CENTER 1500
soulx 5:aae71a94cb41 18 #define REAR_MAX 2000
soulx 2:b31c4677ebc0 19
soulx 5:aae71a94cb41 20 #define RC_SPEED_MIN 590
soulx 5:aae71a94cb41 21 #define RC_SPEED_CENTER 1440
soulx 5:aae71a94cb41 22 #define RC_SPEED_MAX 2470
soulx 2:b31c4677ebc0 23
soulx 4:42dc950d54f4 24 //counter not receive from station
soulx 4:42dc950d54f4 25 #define TIMEOUT_RESPONE_COMMAND 5
soulx 2:b31c4677ebc0 26
soulx 4:42dc950d54f4 27
soulx 4:42dc950d54f4 28
soulx 4:42dc950d54f4 29
soulx 4:42dc950d54f4 30 #endif