Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef ATRVJR_CONFIG_H
00028 #define ATRVJR_CONFIG_H
00029
00030
00031
00032
00033 #define ODO_DISTANCE_CONVERSION 90810
00034
00035 #define ODO_ANGLE_CONVERSION 37000
00036
00037
00038
00039
00040 #define RANGE_CONVERSION 1476
00041 #define SONAR_ECHO_DELAY 30000
00042 #define SONAR_PING_DELAY 0
00043 #define SONAR_SET_DELAY 0
00044 #define SONAR_MAX_RANGE 3000
00045
00046 #define BODY_INDEX 0
00047 #define BASE_INDEX 1
00048
00049 #warning Sonar, bumper and IR configurations are not updated for use with ATRVJR
00050 const int SONARS_PER_BANK[] = {5, 8, 5, 8 };
00051 const int SONAR_RING_BANK_BOUND[] = {0, 6, 14};
00052 #define SONAR_MAX_PER_BANK 16
00053
00054 const int SONARS_PER_RING[] = {24, 24};
00055 const float SONAR_RING_START_ANGLE[] = {180,90};
00056 const float SONAR_RING_ANGLE_INC[] = {-15, -15};
00057 const float SONAR_RING_DIAMETER[] = {.25, .26};
00058 const float SONAR_RING_HEIGHT[] = {0.055, -0.06};
00059
00060
00061
00062 #define HOME_BEARING -32500
00063
00064 #define BUMPER_COUNT 14
00065 #define BUMPER_ADDRESS_STYLE 0
00066 #define BUMPER_BIT_STYLE 1
00067 #define BUMPER_STYLE 0
00068 const int BUMPERS_PER[] = {6,8};
00069 const double BUMPER_ANGLE_OFFSET[] = {-1,1,-1,1};
00070 const double BUMPER_HEIGHT_OFFSET[][4] = {{.5,.5,.05,.05},
00071 {.25,.25,.05,.05}
00072 };
00073
00074
00075
00076 #define IR_POSES_COUNT 24
00077 #define IR_BASE_BANK 0
00078 #define IR_BANK_COUNT 6
00079 #define IR_PER_BANK 4
00080
00081
00082
00083 #define USE_JOYSTICK 0
00084 #define JOY_POS_RATIO 6
00085 #define JOY_ANG_RATIO -0.01
00086 #define POWER_OFFSET 1.2
00087 #define PLUGGED_THRESHOLD 25.0
00088
00089 #endif
00090
00091
00092
00093
00094
00095
00096
00097
00098