File tree 3 files changed +5
-2
lines changed
3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
7
7
## [ Unreleased]
8
8
9
+ ### Fixed
10
+ - Fixed EMG normalization value in IWearWrapper and IWearLogger (https://github.com/robotology/wearables/pull/186 )
11
+
9
12
## [ 1.7.1] - 2023-02-07
10
13
11
14
### Changed
Original file line number Diff line number Diff line change @@ -190,7 +190,7 @@ void IWearWrapper::run()
190
190
for (const auto & sensor : pImpl->emgSensors ) {
191
191
double value, normalization;
192
192
// double normalizationValue;
193
- if (!sensor->getEmgSignal (value) || !sensor->getEmgSignal (normalization)) {
193
+ if (!sensor->getEmgSignal (value) || !sensor->getNormalizationValue (normalization)) {
194
194
yWarning () << logPrefix << " [EmgSensors] "
195
195
<< " Failed to read data, "
196
196
<< " sensor status is "
Original file line number Diff line number Diff line change @@ -300,7 +300,7 @@ void IWearLogger::run()
300
300
for (const auto & sensor : pImpl->emgSensors ) {
301
301
double value, normalization;
302
302
// double normalizationValue;
303
- if (!sensor->getEmgSignal (value) || !sensor->getEmgSignal (normalization)) {
303
+ if (!sensor->getEmgSignal (value) || !sensor->getNormalizationValue (normalization)) {
304
304
yWarning () << logPrefix << " [EmgSensors] "
305
305
<< " Failed to read data, "
306
306
<< " sensor status is " << static_cast <int >(sensor->getSensorStatus ());
You can’t perform that action at this time.
0 commit comments