conf change: s/feedFwdOffOffsetCoeff/feedFwdOffsetCoeff/g
Fixup spelling mistake for configuration field name.
Change-Id: I92d0af06f4e15f4408dd10f0dd9cd71099b77f4f
Signed-off-by: Patrick Venture <venture@google.com>
diff --git a/examples/README b/examples/README
index 33c2077..df76978 100644
--- a/examples/README
+++ b/examples/README
@@ -67,7 +67,7 @@
"samplePeriod": 0.1, /* The input sample period. (double) */
"proportionalCoeff": 0.0, /* The proportional coefficient. (double) */
"integralCoeff": 0.0, /* The integral coefficient. (double) */
- "feedFwdOffOffsetCoeff": 0.0, /* The feed-forward offset coefficient. (double) */
+ "feedFwdOffsetCoeff": 0.0, /* The feed-forward offset coefficient. (double) */
"feedFwdGainCoeff": 0.010, /* The feed-forward gain coefficient. (double) */
"integralLimit_min": 0.0, /* The integral limit clamp, min, max (double) */
"integralLimit_max": 0.0,
diff --git a/examples/fan-info.json b/examples/fan-info.json
index 15c2d09..e0b87ee 100644
--- a/examples/fan-info.json
+++ b/examples/fan-info.json
@@ -74,7 +74,7 @@
"samplePeriod": 0.1,
"proportionalCoeff": 0.0,
"integralCoeff": 0.0,
- "feedFwdOffOffsetCoeff": 0.0,
+ "feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.010,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
@@ -93,7 +93,7 @@
"samplePeriod": 0.1,
"proportionalCoeff": 0.0,
"integralCoeff": 0.0,
- "feedFwdOffOffsetCoeff": 0.0,
+ "feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.010,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
@@ -112,7 +112,7 @@
"samplePeriod": 0.1,
"proportionalCoeff": 0.0,
"integralCoeff": 0.0,
- "feedFwdOffOffsetCoeff": 0.0,
+ "feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.010,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
@@ -131,7 +131,7 @@
"samplePeriod": 0.1,
"proportionalCoeff": 0.0,
"integralCoeff": 0.0,
- "feedFwdOffOffsetCoeff": 0.0,
+ "feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.010,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
@@ -150,7 +150,7 @@
"samplePeriod": 1,
"proportionalCoeff": 750.0,
"integralCoeff": 16.0,
- "feedFwdOffOffsetCoeff": 0.0,
+ "feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.0,
"integralLimit_min": 3000,
"integralLimit_max": 10000,
diff --git a/pid/buildjson.cpp b/pid/buildjson.cpp
index d89da92..97f2bf0 100644
--- a/pid/buildjson.cpp
+++ b/pid/buildjson.cpp
@@ -38,7 +38,7 @@
p.at("samplePeriod").get_to(c.pidInfo.ts);
p.at("proportionalCoeff").get_to(c.pidInfo.proportionalCoeff);
p.at("integralCoeff").get_to(c.pidInfo.integralCoeff);
- p.at("feedFwdOffOffsetCoeff").get_to(c.pidInfo.feedFwdOffset);
+ p.at("feedFwdOffsetCoeff").get_to(c.pidInfo.feedFwdOffset);
p.at("feedFwdGainCoeff").get_to(c.pidInfo.feedFwdGain);
p.at("integralLimit_min").get_to(c.pidInfo.integralLimit.min);
p.at("integralLimit_max").get_to(c.pidInfo.integralLimit.max);
diff --git a/test/json_parse_unittest.cpp b/test/json_parse_unittest.cpp
index 7d3d449..ba6ff11 100644
--- a/test/json_parse_unittest.cpp
+++ b/test/json_parse_unittest.cpp
@@ -27,7 +27,7 @@
"samplePeriod": 0.1,
"proportionalCoeff": 0.0,
"integralCoeff": 0.0,
- "feedFwdOffOffsetCoeff": 0.0,
+ "feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.010,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
@@ -62,7 +62,7 @@
"samplePeriod": 0.1,
"proportionalCoeff": 0.0,
"integralCoeff": 0.0,
- "feedFwdOffOffsetCoeff": 0.0,
+ "feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.010,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
@@ -114,7 +114,7 @@
"samplePeriod": 0.1,
"proportionalCoeff": 0.0,
"integralCoeff": 0.0,
- "feedFwdOffOffsetCoeff": 0.0,
+ "feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.010,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,
diff --git a/test/pid_json_unittest.cpp b/test/pid_json_unittest.cpp
index f0effbd..42402d1 100644
--- a/test/pid_json_unittest.cpp
+++ b/test/pid_json_unittest.cpp
@@ -45,7 +45,7 @@
"samplePeriod": 0.1,
"proportionalCoeff": 0.0,
"integralCoeff": 0.0,
- "feedFwdOffOffsetCoeff": 0.0,
+ "feedFwdOffsetCoeff": 0.0,
"feedFwdGainCoeff": 0.010,
"integralLimit_min": 0.0,
"integralLimit_max": 0.0,