Skip to content

Commit 8394d5e

Browse files
Merge pull request #158 from ShimmerEngineering/DEV-107
DEV-107
2 parents 4b77c75 + 58061f9 commit 8394d5e

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

ShimmerAPI/ShimmerAPI/ShimmerBluetooth.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6634,7 +6634,7 @@ public virtual bool packetTimeStampChecker(int timeStamp2, int timeStamp1)
66346634

66356635

66366636
/// <summary>
6637-
/// This sets the Gyroscope on the Shimmer3 to low power mode, where in low power mode the internal sampling rate of the Gyroscope is reduced to 31.25Hz
6637+
/// This sets the Gyroscope on the Shimmer3 to low power mode, where in low power mode the internal sampling rate of the Gyroscope is reduced to 31.25Hz. Note for the 3R both the Gyro and LN Accel is set to low power mode. For the 3R low power mode results in a sampling rate of 1.875Hz
66386638
/// </summary>
66396639
/// <param name="enable">Set to true to enable</param>
66406640
public void SetLowPowerGyro(bool enable)

ShimmerCapture/ShimmerCapture/UserControlGeneralConfig.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,16 @@ private void ConfigSetup()
447447
checkBoxGyroOnTheFly.Enabled = true;
448448
checkBoxLowPowerAccel.Enabled = true;
449449
checkBoxLowPowerGyro.Enabled = true;
450+
if (PConfiguration.PControlForm.ShimmerDevice.GetShimmerVersion() == (int)ShimmerBluetooth.ShimmerVersion.SHIMMER3)
451+
{
452+
checkBoxLowPowerGyro.Text = "Enable Gyro LP Mode";
453+
} else if (PConfiguration.PControlForm.ShimmerDevice.GetShimmerVersion() == (int)ShimmerBluetooth.ShimmerVersion.SHIMMER3R)
454+
{
455+
checkBoxLowPowerGyro.Text = "Enable LN Accel and Gyro LP Mode";
456+
}
457+
458+
459+
450460
//if (PConfiguration.PControlForm.ShimmerDevice.GetFirmwareVersion() > 0.1 || PConfiguration.PControlForm.ShimmerDevice.GetFirmwareInternal() >= 5) // gsr only supported from BTStream 0.1.5 onwards.
451461
if (PConfiguration.PControlForm.ShimmerDevice.GetFirmwareIdentifier() == ShimmerBluetooth.FW_IDENTIFIER_LOGANDSTREAM
452462
//|| PConfiguration.PControlForm.ShimmerDevice.GetFirmwareVersion() > 0.1 || PConfiguration.PControlForm.ShimmerDevice.GetFirmwareInternal() >= 5) // gsr only supported from BTStream 0.1.5 onwards.

0 commit comments

Comments
 (0)