Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed AQM1602 HMC6352 PID
IrConfig.h
00001 #ifndef _IR_CONFIG_H_ 00002 #define _IR_CONFIG_H_ 00003 00004 #define IR_NONE 0 00005 #define IR_FAR 1 00006 #define IR_CLOSE 2 00007 #define IR_CLOSER 3 00008 const double static ir_move_val[4][20][2]={ 00009 { 00010 { 0.0000 , 0.0000 }, 00011 { 0.0000 , 0.0000 }, 00012 { 0.0000 , 0.0000 }, 00013 { 0.0000 , 0.0000 }, 00014 { 0.0000 , 0.0000 }, 00015 { 0.0000 , 0.0000 }, 00016 { 0.0000 , 0.0000 }, 00017 { 0.0000 , 0.0000 }, 00018 { 0.0000 , 0.0000 }, 00019 { 0.0000 , 0.0000 }, 00020 { 0.0000 , 0.0000 }, 00021 { 0.0000 , 0.0000 }, 00022 { 0.0000 , 0.0000 }, 00023 { 0.0000 , 0.0000 }, 00024 { 0.0000 , 0.0000 }, 00025 { 0.0000 , 0.0000 }, 00026 { 0.0000 , 0.0000 }, 00027 { 0.0000 , 0.0000 }, 00028 { 0.0000 , 0.0000 }, 00029 { 0.0000 , 0.0000 }, 00030 }, 00031 00032 00033 { 00034 { 0.7071 , 0.7071 }, 00035 { 0.2588 , 0.9659 }, 00036 { -0.2588 , 0.9659 }, 00037 { -0.7071 , 0.7071 }, 00038 { -0.0093 , -0.7615 }, 00039 { 0.0093 , -0.7615 }, 00040 { -0.0093 , -0.7615 }, 00041 { 0.0093 , -0.7615 }, 00042 { 0.2000 , -0.8000 }, 00043 { 0.5732 , -0.5928 }, 00044 { 0.5000 , 0.8660 }, 00045 { 0.0000 , 1.0000 }, 00046 { -0.5000 , 0.8660 }, 00047 { -0.5732 , -0.5928 }, 00048 { -0.2000 , -0.8000 }, 00049 { 0.0902 , -0.7562 }, 00050 { 0.4562 , -0.6098 }, 00051 { 1.0000 , 0.0000 }, 00052 { -0.4562 , -0.6098 }, 00053 { -0.0902 , -0.7562 }, 00054 }, 00055 00056 00057 { 00058 { 0.7071 , 0.7071 }, 00059 { 0.2588 , 0.9659 }, 00060 { -0.2588 , 0.9659 }, 00061 { -0.7071 , 0.7071 }, 00062 { -0.0093 , -0.7615 }, 00063 { 0.0093 , -0.7615 }, 00064 { -0.0093 , -0.7615 }, 00065 { 0.0093 , -0.7615 }, 00066 { 0.2000 , -0.8000 }, 00067 { 0.5732 , -0.5928 }, 00068 { 0.5000 , 0.8660 }, 00069 { 0.0000 , 1.0000 }, 00070 { -0.5000 , 0.8660 }, 00071 { -0.5732 , -0.5928 }, 00072 { -0.2000 , -0.8000 }, 00073 { 0.0902 , -0.7562 }, 00074 { 0.4562 , -0.6098 }, 00075 { 1.0000 , 0.0000 }, 00076 { -0.4562 , -0.6098 }, 00077 { -0.0902 , -0.7562 }, 00078 }, 00079 00080 00081 { 00082 { 0.7071 , 0.7071 }, 00083 { 0.2588 , 0.9659 }, 00084 { -0.2588 , 0.9659 }, 00085 { -0.7071 , 0.7071 }, 00086 { -0.0093 , -0.7615 }, 00087 { 0.0093 , -0.7615 }, 00088 { -0.0093 , -0.7615 }, 00089 { 0.0093 , -0.7615 }, 00090 { 0.2000 , -0.8000 }, 00091 { 0.5732 , -0.5928 }, 00092 { 0.5000 , 0.8660 }, 00093 { 0.0000 , 1.0000 }, 00094 { -0.5000 , 0.8660 }, 00095 { -0.5732 , -0.5928 }, 00096 { -0.2000 , -0.8000 }, 00097 { 0.0902 , -0.7562 }, 00098 { 0.4562 , -0.6098 }, 00099 { 1.0000 , 0.0000 }, 00100 { -0.4562 , -0.6098 }, 00101 { -0.0902 , -0.7562 }, 00102 }, 00103 00104 00105 }; 00106 00107 #endif /*_IR_CONFIG_H_*/
Generated on Tue Jul 12 2022 23:12:38 by
1.7.2