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
setting/IrConfig.h
- Committer:
- lilac0112_1
- Date:
- 2016-02-01
- Revision:
- 28:8ac6c3c1e643
- Parent:
- 27:769cb5a7ea37
- Child:
- 29:b413b0bb07a1
File content as of revision 28:8ac6c3c1e643:
#ifndef _IR_CONFIG_H_
#define _IR_CONFIG_H_
#define IR_NONE     0
#define IR_FAR      1
#define IR_CLOSE    2
#define IR_CLOSER   3
const double static ir_move_val[4][20][2]={
{               
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
{   0.0000  ,   0.0000  },
},              
                
                
{               
{   0.7071  ,   0.7071  },
{   0.2588  ,   0.9659  },
{   -0.2588     ,   0.9659  },
{   -0.7071     ,   0.7071  },
{   -0.9239     ,   -0.3827     },
{   -0.3827     ,   -0.9239     },
{   0.3827  ,   -0.9239     },
{   0.9239  ,   -0.3827     },
{   1.0000  ,   0.0000  },
{   0.8660  ,   0.5000  },
{   0.5000  ,   0.8660  },
{   0.0000  ,   1.0000  },
{   -0.5000     ,   0.8660  },
{   -0.8660     ,   0.5000  },
{   -1.0000     ,   0.0000  },
{   -0.8660     ,   -0.5000     },
{   -0.5000     ,   -0.8660     },
{   0.0000  ,   -1.0000     },
{   0.5000  ,   -0.8660     },
{   0.8660  ,   -0.5000     },
},              
                
                
{               
{   0.7071  ,   0.7071  },
{   0.2588  ,   0.9659  },
{   -0.2588     ,   0.9659  },
{   -0.7071     ,   0.7071  },
{   -0.9239     ,   -0.3827     },
{   -0.3827     ,   -0.9239     },
{   0.3827  ,   -0.9239     },
{   0.9239  ,   -0.3827     },
{   1.0000  ,   0.0000  },
{   0.8660  ,   0.5000  },
{   0.5000  ,   0.8660  },
{   0.0000  ,   1.0000  },
{   -0.5000     ,   0.8660  },
{   -0.8660     ,   0.5000  },
{   -1.0000     ,   0.0000  },
{   -0.8660     ,   -0.5000     },
{   -0.5000     ,   -0.8660     },
{   0.0000  ,   -1.0000     },
{   0.5000  ,   -0.8660     },
{   0.8660  ,   -0.5000     },
},              
                
                
{               
{   0.7071  ,   0.7071  },
{   0.2588  ,   0.9659  },
{   -0.2588     ,   0.9659  },
{   -0.7071     ,   0.7071  },
{   -0.9239     ,   -0.3827     },
{   -0.3827     ,   -0.9239     },
{   0.3827  ,   -0.9239     },
{   0.9239  ,   -0.3827     },
{   1.0000  ,   0.0000  },
{   0.8660  ,   0.5000  },
{   0.5000  ,   0.8660  },
{   0.0000  ,   1.0000  },
{   -0.5000     ,   0.8660  },
{   -0.8660     ,   0.5000  },
{   -1.0000     ,   0.0000  },
{   -0.8660     ,   -0.5000     },
{   -0.5000     ,   -0.8660     },
{   0.0000  ,   -1.0000     },
{   0.5000  ,   -0.8660     },
{   0.8660  ,   -0.5000     },
},              
};
#endif /*_IR_CONFIG_H_*/