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
Diff: setting/IrConfig.h
- Revision:
- 36:50092d488f78
- Parent:
- 34:69bdf29a4442
- Child:
- 37:ae5661306900
--- a/setting/IrConfig.h Tue Feb 02 11:28:15 2016 +0000
+++ b/setting/IrConfig.h Wed Feb 03 07:46:32 2016 +0000
@@ -6,6 +6,8 @@
#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 },
@@ -31,50 +33,50 @@
{
-{ 0.7071 , 0.2828 },
-{ 0.4710 , 0.5985 },
-{ -0.4710 , 0.5985 },
-{ -0.7071 , 0.2828 },
-{ -0.5319 , -0.5450 },
-{ 0.0093 , -0.7615 },
-{ -0.0093 , -0.7615 },
-{ 0.5319 , -0.5450 },
-{ 0.7000 , -0.3000 },
-{ 0.7562 , 0.0902 },
+{ 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.7562 , 0.0902 },
-{ -0.7000 , -0.3000 },
-{ -0.4562 , -0.6098 },
-{ -0.0902 , -0.7562 },
-{ 0.3000 , -0.7000 },
-{ 0.0902 , -0.7562 },
-{ 0.4562 , -0.6098 },
+{ -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.5657 },
-{ 0.8952 , -0.1363 },
-{ -0.8952 , -0.1363 },
-{ -0.7071 , -0.5657 },
-{ 0.2520 , -0.8698 },
-{ 0.7932 , -0.4368 },
-{ -0.7932 , -0.4368 },
-{ -0.2520 , -0.8698 },
-{ 0.1000 , -0.9000 },
-{ 0.5366 , -0.7294 },
+{ 0.7071 , -0.2121 },
+{ 0.7184 , 0.1698 },
+{ -0.7184 , 0.1698 },
+{ -0.7071 , -0.2121 },
+{ -0.0746 , -0.7345 },
+{ 0.4666 , -0.5721 },
+{ -0.4666 , -0.5721 },
+{ 0.0746 , -0.7345 },
+{ 0.3500 , -0.6500 },
+{ 0.6281 , -0.3879 },
{ 0.5000 , 0.8660 },
{ 0.0000 , 1.0000 },
{ -0.5000 , 0.8660 },
-{ -0.5366 , -0.7294 },
-{ -0.1000 , -0.9000 },
-{ 0.3634 , -0.8294 },
-{ 0.7294 , -0.5366 },
-{ 0.9000 , -0.1000 },
-{ -0.7294 , -0.5366 },
-{ -0.3634 , -0.8294 },
+{ -0.6281 , -0.3879 },
+{ -0.3500 , -0.6500 },
+{ 0.0219 , -0.7379 },
+{ 0.3879 , -0.6281 },
+{ 0.6500 , -0.3500 },
+{ -0.3879 , -0.6281 },
+{ -0.0219 , -0.7379 },
},
@@ -89,9 +91,9 @@
{ -0.3827 , -0.9239 },
{ 0.0000 , -1.0000 },
{ 0.5000 , -0.8660 },
-{ 0.5000 , 0.8660 },
+{ 0.5915 , 0.5245 },
{ 0.0000 , 1.0000 },
-{ -0.5000 , 0.8660 },
+{ -0.5915 , 0.5245 },
{ -0.5000 , -0.8660 },
{ 0.0000 , -1.0000 },
{ 0.5000 , -0.8660 },